/* Battles, guilds, and local community chat. */
.nav-short {
  display: none;
}
.online-nav-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.invitation-banner {
  margin-bottom: 20px;
}
.social-view {
  --social-gap: 20px;
}
.social-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.social-heading h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  margin: 11px 0;
  letter-spacing: -1.7px;
}
.social-heading p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.social-heading > .outline-button {
  white-space: nowrap;
}
.mock-label {
  border: 1px solid var(--website-line-69-86-57-1, #455639);
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: var(--lime);
  white-space: nowrap;
  background: var(--website-surface-211-245-154-0_03137254901960784, #d3f59a08);
}
.social-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 11px;
  padding: 22px;
  min-width: 0;
}
.social-panel h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0;
}
.social-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
}
.social-panel-heading h2 {
  font-size: 18px;
}
.social-panel-heading h3 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}
.count-label {
  font-size: 10px;
  margin-left: 6px;
  color: var(--muted);
}
.presence {
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--website-ink-190-216-155-1, #bed89b);
  white-space: nowrap;
}
.presence:before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--website-surface-189-222-139-1, #bdde8b);
  border-radius: 50%;
}
.busy-presence {
  color: #bfa874;
}
.busy-presence:before {
  background: #bfa874;
}
.social-intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
  padding: 17px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--website-surface-26-30-22-1, #1a1e16);
}
.social-intro-strip > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
}
.social-intro-strip strong {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  color: var(--lime);
}
.lobby-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
}
.lobby-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.social-input {
  width: 100%;
  font: inherit;
  background: var(--website-surface-20-26-16-1, #141a10);
  color: var(--text);
  border: 1px solid var(--website-line-70-82-57-1, #465239);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 12px;
}
.search-label {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1.2px;
  display: block;
  margin: 0 0 8px;
}
.online-player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.online-player:last-child {
  border: 0;
  padding-bottom: 0;
}
.online-player .member-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 0;
}
.online-player .member-identity strong {
  font-size: 13px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.online-player .member-identity small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.online-player .avatar-frame.large-frame .avatar {
  width: 36px;
  height: 36px;
  font-size: 17px;
}
.online-player-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.player-record {
  font-family: var(--display);
  font-size: 12px;
  color: var(--website-ink-197-206-185-1, #c5ceb9);
}
.player-record small {
  font-family: var(--body);
  font-size: 7px;
  color: var(--muted);
}
.online-player > .outline-button {
  padding: 10px 12px;
  font-size: 10px;
  white-space: nowrap;
}
.online-player > button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.record-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0;
}
.record-pair > div + div {
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.record-pair strong {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 500;
  display: block;
  color: var(--lime);
}
.record-pair span {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
}
.demo-panel {
  background: linear-gradient(145deg, var(--website-surface-37-45-29-1, #252d1d), var(--website-surface-28-33-24-1, #1c2118));
}
.demo-panel h2 {
  margin-top: 14px;
  font-size: 23px;
}
.demo-panel p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--website-ink-164-175-150-1, #a4af96);
  margin: 12px 0 19px;
}
.demo-panel > .outline-button {
  width: 100%;
  margin-top: 9px;
}
.demo-panel > .quiet-button {
  margin-top: 12px;
}
.demo-panel > small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
  margin-top: 15px;
}
.quiet-button {
  font-size: 10px;
  background: transparent;
  color: var(--website-ink-168-185-153-1, #a8b999);
  padding: 5px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-align: left;
}
.quiet-button:hover {
  color: var(--lime);
}
.resume-panel h2 {
  font-size: 16px;
  margin: 12px 0;
}
.resume-panel .outline-button {
  width: 100%;
}
.invitation-banner {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--website-line-107-126-81-1, #6b7e51);
  padding: 18px 22px;
  border-radius: 8px;
  background: var(--website-surface-42-51-34-1, #2a3322);
}
.invitation-banner > div {
  flex: 1;
}
.invitation-banner strong {
  display: block;
  font-size: 13px;
}
.invitation-banner small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.waiting-dot {
  width: 9px;
  height: 9px;
  background: var(--lime);
  border-radius: 50%;
  animation: invite-pulse 1s infinite alternate;
}
@keyframes invite-pulse {
  to {
    opacity: 0.2;
  }
}
.history-panel {
  margin-top: 24px;
}
.match-history > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.match-history > div:last-child {
  border: 0;
  padding-bottom: 0;
}
.match-history strong {
  font-size: 12px;
  flex: 1;
}
.match-history span:not(.result-tag) {
  font-size: 10px;
  color: var(--muted);
}
.match-history small {
  font-size: 9px;
  color: var(--muted);
}
.result-tag {
  font-size: 8px;
  letter-spacing: 0.7px;
  border-radius: 4px;
  padding: 5px 7px;
}
.result-tag.win {
  color: var(--lime);
  background: var(--website-surface-211-245-154-0_07058823529411765, #d3f59a12);
  border: 1px solid var(--website-line-91-113-67-1, #5b7143);
}
.result-tag.loss {
  color: var(--coral);
  background: #efa2870a;
  border: 1px solid #6c4c3a;
}
.social-footnote {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  margin: 22px 0;
}
.modal-secondary {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}
.challenge-face {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.challenge-face .avatar {
  width: 64px;
  height: 64px;
  font-size: 30px;
}
.guild-challenge-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}
.guild-challenge-pair > span:not(.guild-emblem) {
  font-family: var(--display);
  font-size: 17px;
  color: var(--muted);
}

.arena-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.arena-heading h1 {
  font-size: 29px;
  letter-spacing: -1.1px;
  margin: 8px 0 0;
}
.arena-heading > .quiet-button {
  white-space: nowrap;
}
.arena-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 18px;
  min-height: 0;
}
.arena-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 25%, var(--website-surface-44-53-35-0_1607843137254902, #2c352329), transparent 65%), var(--panel);
  padding: 18px 22px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.arena-round-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.round-status {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 1.3px;
  color: var(--website-ink-191-204-169-1, #bfcca9);
}
.sudden-status {
  color: #e6bf87;
}
.duel-coin-stage {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  justify-items: center;
  flex: 1;
  min-height: 170px;
  position: relative;
}
.duel-coin-stage:before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 48%;
  border-top: 1px solid var(--website-line-71-86-56-0_4, #47563866);
  z-index: 0;
}
.personal-coin-slot,
.shared-coin-slot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.personal-coin-slot > span {
  font-size: 8px;
  color: var(--muted);
  text-align: center;
}
.shared-coin-slot .eyebrow {
  font-size: 7px;
  letter-spacing: 1.3px;
}
.shared-coin-slot > strong {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  text-align: center;
}
.duel-coin {
  width: 82px;
  height: 82px;
  filter: drop-shadow(0 8px 12px #0006);
  transform: rotate(-7deg);
}
.duel-coin .coin {
  transform: none;
}
.duel-coin .coin-face {
  border-width: 3px;
}
.duel-coin .coin-face:before {
  inset: 9px;
}
.duel-coin .coin-emblem {
  font-size: 30px;
  top: -3px;
}
.duel-coin .coin-side {
  font-size: 6px;
  letter-spacing: 0.7px;
  margin: 0;
}
.duel-coin .coin-mint {
  font-size: 4px;
  letter-spacing: 0.7px;
  bottom: 10px;
}
.central-duel-coin {
  width: 123px;
  height: 123px;
}
.central-duel-coin .coin-emblem {
  font-size: 48px;
}
.central-duel-coin .coin-side {
  font-size: 8px;
}
.central-duel-coin .coin-mint {
  bottom: 15px;
}
.is-flipping {
  animation: shared-flip 0.36s linear infinite;
}
@keyframes shared-flip {
  0% {
    transform: rotateY(0) rotate(-7deg) translateY(0);
  }
  50% {
    transform: rotateY(180deg) rotate(7deg) translateY(-12px);
  }
  100% {
    transform: rotateY(360deg) rotate(-7deg) translateY(0);
  }
}
.duel-player-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
}
.duel-vs {
  text-align: center;
  font-family: var(--display);
  font-size: 13px;
  color: var(--website-ink-114-127-101-1, #727f65);
}
.duel-player {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid var(--website-line-70-81-60-1, #46513c);
  border-radius: 9px;
  background: var(--website-surface-26-32-21-1, #1a2015);
  min-width: 0;
}
.duel-player > .large-frame .avatar {
  width: 43px;
  height: 43px;
  font-size: 21px;
}
.duel-player-name {
  min-width: 0;
}
.duel-player-name h2 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.duel-player-name > span {
  font-size: 8px;
  color: var(--muted);
}
.duel-player-score {
  text-align: center;
}
.duel-player-score > strong {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  color: var(--lime);
  line-height: 1;
}
.duel-player-score > span {
  font-size: 5px;
  letter-spacing: 0.6px;
  color: var(--muted);
  display: block;
  margin-top: 7px;
}
.duel-player-current {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 8px;
  color: var(--muted);
}
.duel-player-current b {
  font-weight: 500;
  color: var(--website-ink-196-212-178-1, #c4d4b2);
  margin-left: 5px;
}
.player-hit {
  border-color: var(--website-line-150-179-107-1, #96b36b);
  background: var(--website-surface-211-245-154-0_03137254901960784, #d3f59a08);
}
.player-miss {
  border-color: #795640;
  background: #efa28706;
}
.round-progression {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.round-progression > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--website-line-69-81-58-1, #45513a);
  border-radius: 5px;
  font-size: 8px;
  color: var(--website-ink-135-152-122-1, #87987a);
}
.round-progression .round-done {
  background: var(--website-surface-211-245-154-0_043137254901960784, #d3f59a0b);
  border: 1px solid var(--website-line-94-119-69-1, #5e7745);
  color: var(--lime);
}
.round-progression .sudden-marker {
  color: #e6bf87;
  border: 1px solid #7c6242;
  width: 26px;
}
.round-progression > small {
  font-size: 8px;
  color: var(--muted);
  margin-left: auto;
  max-width: 55%;
  text-align: right;
  line-height: 1.5;
}
.arena-message {
  font-family: var(--display);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--website-ink-196-205-184-1, #c4cdb8);
  padding: 4px 0;
}
.arena-final {
  color: var(--lime);
  font-size: 19px;
}
.arena-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}
.arena-actions > .flip-button {
  flex: 1;
  font-size: 11px;
}
.arena-actions > .outline-button {
  flex: 1;
  justify-content: center;
  font-size: 10px;
}
.duel-choice-row {
  display: flex;
  gap: 7px;
  flex: 1;
}
.duel-choice-row > button {
  flex: 1;
  justify-content: center;
  padding: 10px 8px;
  font-size: 11px;
  white-space: nowrap;
}
.duel-choice-row > button.selected {
  color: var(--lime);
  border-color: var(--website-line-156-182-122-1, #9cb67a);
  background: var(--website-surface-211-245-154-0_047058823529411764, #d3f59a0c);
}
.arena-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  color: var(--muted);
  line-height: 1.5;
}
.arena-meta .quiet-button {
  font-size: 8px;
  white-space: nowrap;
}
.arena-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
}
.arena-sidebar .social-panel {
  padding: 17px;
}
.arena-sidebar .social-panel-heading h2 {
  font-size: 14px;
}
.arena-sidebar .social-panel-heading {
  margin-bottom: 12px;
}
.battle-round-ledger {
  max-height: 310px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #536344 transparent;
}
.ledger-row {
  display: grid;
  grid-template-columns: 25px 1fr 1fr 1fr;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  align-items: center;
  font-size: 8px;
}
.ledger-row > span:first-child {
  font-size: 7px;
  color: var(--muted);
}
.ledger-row > strong {
  font-weight: 500;
  color: var(--website-ink-206-214-194-1, #ced6c2);
  font-size: 9px;
}
.hit {
  color: var(--lime);
}
.miss {
  color: var(--coral);
}
.ledger-key {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  font-size: 6px;
  color: var(--muted);
  margin-top: 10px;
}
.battle-rules p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.battle-rules .eyebrow {
  font-size: 8px;
}
.arena-voting {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  flex-shrink: 0;
}
.arena-voting .social-panel-heading {
  margin-bottom: 10px;
}
.vote-tallies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.vote-tallies > div {
  min-width: 0;
}
.vote-tallies > div > strong {
  font-size: 10px;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vote-numbers {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin: 8px 0;
}
.vote-numbers b {
  color: var(--lime);
  font-size: 11px;
  margin-left: 5px;
}
.vote-meter {
  height: 4px;
  background: #544a3e;
  border-radius: 3px;
  overflow: hidden;
}
.vote-meter > span {
  display: block;
  height: 100%;
  background: var(--website-surface-158-189-118-1, #9ebd76);
}
.vote-tallies small {
  display: block;
  font-size: 7px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 5px;
}
.your-vote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.your-vote > span {
  font-size: 9px;
  color: var(--muted);
}
.your-vote .duel-choice-row {
  max-width: 240px;
}
.your-vote .duel-choice-row > button {
  padding: 7px;
  font-size: 9px;
}
.your-vote .quiet-button {
  margin-left: auto;
  font-size: 9px;
}
@media (min-width: 901px) {
  .battle-page .workspace {
    height: 100dvh;
    display: flex;
    flex-direction: column;
  }
  .battle-page .topbar {
    height: 48px;
    flex-shrink: 0;
  }
  .battle-page main {
    width: 100%;
    max-width: none;
    padding: 18px 28px 0;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .battle-page #view-battle {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .battle-page .arena-layout {
    flex: 1;
    min-height: 0;
  }
  .battle-page .page-footer {
    margin-top: 12px;
    padding: 9px 0;
    flex-shrink: 0;
  }
  .battle-page .sidebar {
    padding-top: 22px;
  }
  .battle-page .sidebar-label {
    margin: 14px 10px 15px;
  }
  .battle-page .sidebar .nav-link {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .battle-page .sidebar-club {
    padding: 12px;
  }
  .battle-page .sidebar-club h3 {
    font-size: 15px;
    margin: 6px 0;
  }
  .battle-page .sidebar-club p {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 9px;
  }
  .battle-page .profile-button {
    margin-top: 12px;
    padding-top: 12px;
  }
  .battle-page .sidebar-club .subtle {
    margin-top: 9px;
  }
  .battle-page .arena-card {
    gap: 10px;
  }
  .battle-page .duel-coin-stage {
    min-height: 145px;
  }
}

.guild-emblem {
  --guild-color: var(--website-surface-109-131-81-1, #6d8351);
  display: grid;
  place-items: center;
  width: 64px;
  height: 70px;
  background: linear-gradient(145deg, var(--guild-color), var(--website-surface-37-45-32-1, #252d20));
  clip-path: polygon(50% 0, 100% 15%, 95% 70%, 50% 100%, 5% 70%, 0 15%);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--website-ink-244-242-228-1, #f4f2e4);
  letter-spacing: 1px;
  flex-shrink: 0;
}
.guild-home {
  padding: 26px;
}
.guild-home-identity {
  display: flex;
  gap: 20px;
  align-items: center;
}
.guild-home-identity > div:not(.guild-capacity) {
  flex: 1;
}
.guild-home-identity h2 {
  font-size: 27px;
  margin: 8px 0;
}
.guild-home-identity p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.guild-capacity {
  text-align: center;
}
.guild-capacity strong {
  display: block;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  color: var(--lime);
}
.guild-capacity small {
  font-size: 15px;
  color: var(--muted);
  margin-left: 4px;
}
.guild-capacity > span {
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
}
.guild-member-preview {
  display: flex;
  align-items: center;
  margin: 22px 0 18px;
}
.guild-member-preview .avatar-frame {
  margin-right: -7px;
  background: var(--panel);
}
.guild-member-preview > .span {
  color: var(--muted);
}
.guild-member-preview > span:last-child {
  font-size: 9px;
  color: var(--muted);
  margin-left: 18px;
}
.guild-home-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.guild-home-actions .outline-button {
  font-size: 10px;
  padding: 11px 14px;
}
.guild-home-actions > .quiet-button {
  margin-left: auto;
}
.guild-vote-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.guild-vote-note > span {
  font-size: 27px;
  color: var(--lime);
}
.guild-vote-note > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.directory-heading {
  margin: 30px 0 20px;
}
.directory-heading .text-link {
  margin: 0;
}
.guild-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.guild-directory-card {
  position: relative;
}
.guild-directory-card > .tiny-pill {
  position: absolute;
  right: 22px;
  top: 22px;
}
.guild-directory-card h2 {
  font-size: 25px;
  margin: 18px 0 10px;
}
.guild-directory-card > p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 38px;
  margin: 0 0 20px;
}
.guild-card-stats {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.guild-card-stats strong {
  color: var(--lime);
  font-size: 14px;
  font-weight: 500;
}
.guild-directory-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.guild-directory-actions > button {
  flex: 1;
  justify-content: center;
  padding: 11px;
  font-size: 10px;
}
.guild-directory-card > .quiet-button {
  margin-top: 12px;
  font-size: 9px;
}
.duel-player > .guild-emblem {
  width: 42px;
  height: 47px;
  font-size: 8px;
}
.guild-roster {
  margin-top: 20px;
}
.roster-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.roster-member > span:nth-child(2) {
  flex: 1;
}
.roster-member strong {
  display: block;
  font-size: 11px;
}
.roster-member small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 5px;
}
.roster-member > .presence {
  font-size: 8px;
}
#guild-create-form textarea {
  font: inherit;
}
dialog select.social-input {
  margin-top: 0;
}

.chat-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}
.chat-channel-panel {
  padding: 19px 15px;
  display: flex;
  flex-direction: column;
}
.chat-channel-panel > .eyebrow {
  margin: 0 9px 17px;
}
.chat-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  padding: 12px 9px;
  border-radius: 6px;
  text-align: left;
  background: transparent;
  color: var(--website-ink-181-190-169-1, #b5bea9);
  font-size: 12px;
  margin-bottom: 5px;
}
.chat-channel.selected {
  background: var(--website-surface-211-245-154-0_047058823529411764, #d3f59a0c);
  color: var(--lime);
}
.chat-channel > span:first-child:not(.avatar-frame) {
  font-size: 17px;
  width: 17px;
  text-align: center;
}
.chat-channel small {
  flex-basis: 100%;
  font-size: 8px;
  margin-left: 25px;
  color: var(--muted);
  line-height: 1.5;
}
.chat-channel .avatar {
  width: 22px;
  height: 22px;
  font-size: 10px;
}
.chat-channel .avatar-frame {
  padding: 2px;
}
.chat-channel > .avatar-frame + span {
  font-size: 10px;
}
.chat-friends-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 9px 12px;
}
.chat-friends-heading > a {
  font-size: 20px;
  color: var(--lime);
}
.chat-channel-panel .outline-button {
  font-size: 9px;
  padding: 9px;
  justify-content: center;
}
.chat-local-note {
  margin-top: auto;
  padding: 25px 9px 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}
.chat-main {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 500px;
  height: clamp(500px, 68dvh, 760px);
}
.chat-room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.chat-room-header h2 {
  font-size: 20px;
  margin: 8px 0 0;
}
.chat-room-header .eyebrow {
  font-size: 7px;
}
.chat-room-header > .quiet-button {
  font-size: 9px;
  white-space: nowrap;
}
.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 24px;
  scrollbar-width: thin;
  scrollbar-color: #546244 transparent;
}
.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
}
.chat-message > .avatar-frame {
  margin-top: 1px;
}
.chat-message .avatar {
  width: 30px;
  height: 30px;
  font-size: 13px;
}
.chat-message > div {
  flex: 1;
  min-width: 0;
}
.chat-message header {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.chat-message strong {
  font-size: 11px;
  font-weight: 600;
}
.message-tag {
  font-size: 6px;
  letter-spacing: 0.5px;
  border-radius: 3px;
  color: var(--website-ink-169-186-150-1, #a9ba96);
  background: var(--website-surface-53-67-41-1, #354329);
  padding: 2px 4px;
}
.chat-message time {
  font-size: 8px;
  color: var(--muted);
}
.chat-message p {
  font-size: 12px;
  line-height: 1.7;
  margin: 6px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--website-ink-190-199-176-1, #bec7b0);
}
.own-message strong {
  color: var(--lime);
}
.chat-composer {
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.chat-composer textarea {
  resize: none;
  min-height: 54px;
  width: 100%;
  border: 1px solid var(--website-line-69-86-58-1, #45563a);
  border-radius: 7px;
  background: var(--website-surface-21-27-17-1, #151b11);
  color: var(--text);
  padding: 11px 13px;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
}
.chat-composer > .flip-button {
  align-self: start;
  height: 54px;
  padding: 12px 18px;
  font-size: 11px;
}
.chat-composer > small {
  grid-column: 1/-1;
  font-size: 8px;
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.leaderboard-types {
  width: max-content;
  margin: 0 0 20px;
}
.leaderboard-types button {
  padding: 10px 20px;
  font-size: 11px;
}
.pvp-wins {
  color: var(--lime);
}
.table-name .guild-emblem {
  width: 31px;
  height: 34px;
  font-size: 6px;
}
@media (max-width: 1200px) {
  .online-player {
    gap: 10px;
  }
  .online-player-meta {
    display: none;
  }
  .lobby-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .arena-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 14px;
  }
  .arena-card {
    padding: 16px;
  }
  .duel-player {
    grid-template-columns: auto 1fr;
    gap: 8px;
  }
  .duel-player-score {
    grid-row: 1/3;
    grid-column: 2;
    justify-self: end;
  }
  .duel-player-name {
    grid-column: 1/-1;
    grid-row: 3;
    padding-top: 3px;
  }
  .duel-player > .large-frame .avatar {
    width: 35px;
    height: 35px;
  }
  .duel-player-current {
    grid-row: 4;
  }
  .duel-player-score > span {
    font-size: 5px;
  }
  .arena-sidebar .social-panel {
    padding: 14px;
  }
  .chat-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .duel-coin-stage {
    min-height: 145px;
  }
  .duel-coin {
    height: 68px;
    width: 68px;
  }
  .duel-coin .coin-emblem {
    font-size: 24px;
  }
  .duel-coin .coin-mint {
    bottom: 7px;
    font-size: 3px;
  }
  .central-duel-coin {
    width: 106px;
    height: 106px;
  }
  .central-duel-coin .coin-emblem {
    font-size: 40px;
  }
  .central-duel-coin .coin-mint {
    bottom: 12px;
  }
}
@media (max-width: 1000px) {
  .lobby-layout {
    grid-template-columns: 1fr;
  }
  .lobby-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .resume-panel {
    grid-column: 1/-1;
  }
  .guild-home-identity {
    gap: 15px;
  }
  .guild-home-identity h2 {
    font-size: 23px;
  }
  .social-panel {
    padding: 20px;
  }
  .guild-directory {
    gap: 15px;
  }
  .guild-directory-card h2 {
    font-size: 21px;
  }
  .guild-directory-card > p {
    font-size: 10px;
  }
  .chat-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 14px;
  }
  .chat-channel-panel {
    padding: 16px 10px;
  }
  .chat-channel {
    font-size: 10px;
  }
  .chat-room-header,
  .chat-composer,
  .chat-messages {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (max-width: 900px) {
  .arena-layout {
    grid-template-columns: 1fr;
  }
  .arena-card {
    min-height: 570px;
  }
  .arena-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .arena-heading h1 {
    font-size: 26px;
  }
  .battle-page .arena-card:has(.arena-voting) {
    min-height: 740px;
  }
  .duel-player {
    grid-template-columns: auto 1fr auto;
  }
  .duel-player-name {
    grid-row: auto;
    grid-column: auto;
    padding: 0;
  }
  .duel-player-score {
    grid-row: auto;
    grid-column: auto;
  }
  .duel-player-current {
    grid-row: auto;
  }
  .duel-player > .large-frame .avatar {
    width: 43px;
    height: 43px;
  }
  .duel-coin {
    width: 85px;
    height: 85px;
  }
  .central-duel-coin {
    width: 125px;
    height: 125px;
  }
  .duel-coin .coin-emblem {
    font-size: 30px;
  }
  .central-duel-coin .coin-emblem {
    font-size: 46px;
  }
}
@media (max-height: 760px) and (min-width: 901px) {
  .battle-page .workspace:has(.arena-voting) {
    height: auto;
    min-height: 100dvh;
  }
  .battle-page #view-battle:has(.arena-voting) .arena-card {
    min-height: 650px;
  }
  .battle-page .arena-card {
    gap: 8px;
    padding: 14px;
  }
  .battle-page .duel-coin-stage {
    min-height: 115px;
  }
  .battle-page .personal-coin-slot,
  .battle-page .shared-coin-slot {
    gap: 6px;
  }
  .battle-page .duel-coin {
    width: 62px;
    height: 62px;
  }
  .battle-page .central-duel-coin {
    width: 90px;
    height: 90px;
  }
  .battle-page .central-duel-coin .coin-emblem {
    font-size: 34px;
  }
  .battle-page .duel-player {
    padding: 9px;
  }
  .battle-page .duel-player-current {
    padding-top: 6px;
    font-size: 7px;
  }
  .battle-page .duel-player-score > strong {
    font-size: 27px;
  }
  .battle-page .arena-heading h1 {
    font-size: 25px;
  }
  .battle-page .arena-heading {
    margin-bottom: 12px;
  }
  .battle-page .arena-message {
    font-size: 11px;
  }
  .battle-page .arena-meta {
    font-size: 7px;
  }
}
@media (min-width: 701px) and (max-height: 740px) {
  .sidebar .nav-link {
    padding-top: 7px;
    padding-bottom: 7px;
    margin-top: 2px;
    margin-bottom: 2px;
  }
  .sidebar-club {
    padding: 10px;
  }
  .sidebar-club .tiny-spark {
    font-size: 17px;
  }
  .sidebar-club h3 {
    font-size: 13px;
    line-height: 1.2;
    margin: 5px 0;
  }
  .sidebar-club p {
    font-size: 9px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .sidebar-club .subtle {
    font-size: 7px;
    margin-top: 7px;
  }
  .sidebar-label {
    margin-bottom: 13px;
  }
  .profile-button {
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .sidebar-footer {
    margin-top: 4px;
  }
  .play-page .sidebar .nav-link,
  .battle-page .sidebar .nav-link {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .play-page .sidebar-club,
  .battle-page .sidebar-club {
    padding: 9px;
  }
  .play-page .sidebar-club h3,
  .battle-page .sidebar-club h3 {
    font-size: 12px;
  }
  .play-page .sidebar-club p,
  .battle-page .sidebar-club p {
    font-size: 9px;
  }
  .play-page .profile-button,
  .battle-page .profile-button {
    margin-top: 8px;
    padding-top: 8px;
  }
}
@media (max-width: 700px) {
  .sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .play-page .sidebar nav {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 2px;
  }
  .play-page .nav-label {
    display: none;
  }
  .play-page .nav-short {
    display: inline;
  }
  .play-page .sidebar .nav-link {
    font-size: 7px;
    gap: 3px;
    white-space: nowrap;
  }
  .play-page .sidebar .nav-link svg {
    width: 14px;
    height: 14px;
  }
  .online-nav-dot {
    display: none;
  }
  .social-heading {
    display: block;
    margin-bottom: 22px;
  }
  .social-heading h1 {
    font-size: 32px;
    letter-spacing: -1.4px;
  }
  .social-heading p {
    font-size: 11px;
  }
  .social-heading > .mock-label,
  .social-heading > .outline-button {
    display: inline-flex;
    margin-top: 15px;
  }
  .social-intro-strip {
    padding: 12px;
    gap: 7px;
  }
  .social-intro-strip > span {
    display: block;
    font-size: 8px;
    line-height: 1.6;
  }
  .social-intro-strip strong {
    display: block;
    font-size: 19px;
  }
  .social-panel {
    padding: 17px 14px;
  }
  .social-panel-heading h2 {
    font-size: 17px;
  }
  .online-player {
    padding: 17px 0;
    gap: 9px;
    flex-wrap: wrap;
  }
  .online-player .member-identity strong {
    font-size: 11px;
  }
  .online-player .member-identity small {
    font-size: 8px;
  }
  .online-player .avatar-frame.large-frame .avatar {
    width: 31px;
    height: 31px;
    font-size: 15px;
  }
  .online-player > .outline-button {
    font-size: 9px;
    padding: 9px;
  }
  .lobby-aside {
    grid-template-columns: 1fr;
  }
  .resume-panel {
    grid-column: auto;
  }
  .record-pair strong {
    font-size: 36px;
  }
  .record-pair {
    margin: 15px 0;
  }
  .history-panel {
    margin-top: 18px;
  }
  .match-history > div {
    flex-wrap: wrap;
    gap: 9px;
  }
  .match-history small {
    margin-left: auto;
  }
  .match-history > div > span:not(.result-tag) {
    font-size: 9px;
  }
  .invitation-banner {
    padding: 14px;
    gap: 10px;
  }
  .invitation-banner strong {
    font-size: 11px;
  }
  .invitation-banner small {
    font-size: 9px;
  }
  .invitation-banner .outline-button {
    padding: 8px;
    font-size: 9px;
  }
  .guild-home {
    padding: 18px 14px;
  }
  .guild-home-identity {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .guild-home-identity > .guild-emblem {
    width: 47px;
    height: 52px;
    font-size: 9px;
  }
  .guild-home-identity h2 {
    font-size: 23px;
  }
  .guild-home-identity p {
    font-size: 10px;
  }
  .guild-home-identity .eyebrow {
    font-size: 6px;
  }
  .guild-capacity {
    flex-basis: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .guild-capacity strong {
    font-size: 26px;
  }
  .guild-capacity small {
    font-size: 12px;
  }
  .guild-member-preview .avatar {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }
  .guild-member-preview {
    margin: 18px 0;
  }
  .guild-member-preview > span:last-child {
    font-size: 8px;
    margin-left: 15px;
  }
  .guild-member-preview > .avatar-frame:nth-child(n + 7) {
    display: none;
  }
  .guild-home-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .guild-home-actions .outline-button {
    justify-content: center;
    padding: 10px 6px;
    font-size: 9px;
  }
  .guild-home-actions > .quiet-button {
    margin: 0;
    justify-content: center;
  }
  .guild-vote-note {
    margin-top: 16px;
    padding-top: 16px;
    gap: 10px;
  }
  .guild-vote-note > p {
    font-size: 9px;
  }
  .guild-directory {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .directory-heading {
    align-items: flex-start;
    gap: 15px;
  }
  .directory-heading h2 {
    font-size: 16px;
  }
  .directory-heading .text-link {
    font-size: 9px;
    max-width: 130px;
  }
  .guild-directory-card .guild-emblem {
    width: 48px;
    height: 53px;
    font-size: 9px;
  }
  .guild-directory-card h2 {
    font-size: 24px;
    margin: 14px 0 8px;
  }
  .guild-directory-card > p {
    min-height: 0;
    margin-bottom: 15px;
  }
  .guild-directory-card > .tiny-pill {
    top: 16px;
    right: 16px;
  }
  .guild-card-stats {
    padding-top: 12px;
  }
  .guild-roster .presence {
    font-size: 7px;
  }
  .roster-member small {
    font-size: 7px;
  }
  .leaderboard-types {
    width: 100%;
    margin-bottom: 17px;
  }
  .leaderboard-types button {
    flex: 1;
    font-size: 10px;
    padding: 10px 6px;
  }
  .table-name .guild-emblem {
    width: 24px;
    height: 27px;
    font-size: 5px;
  }
  .arena-heading {
    display: block;
    margin-bottom: 17px;
  }
  .arena-heading h1 {
    font-size: 27px;
    line-height: 1.15;
  }
  .arena-heading > .quiet-button {
    margin-top: 9px;
  }
  .arena-card {
    padding: 14px 12px;
    gap: 14px;
    min-height: 590px;
  }
  .arena-round-header {
    flex-wrap: wrap;
    gap: 7px;
  }
  .round-status {
    font-size: 10px;
  }
  .arena-round-header .tiny-pill {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .duel-coin-stage {
    grid-template-columns: 1fr 1.2fr 1fr;
    min-height: 160px;
  }
  .duel-coin {
    width: 58px;
    height: 58px;
  }
  .duel-coin .coin-emblem {
    font-size: 22px;
  }
  .duel-coin .coin-side {
    font-size: 4px;
  }
  .duel-coin .coin-mint {
    font-size: 3px;
    bottom: 6px;
  }
  .central-duel-coin {
    width: 88px;
    height: 88px;
  }
  .central-duel-coin .coin-emblem {
    font-size: 34px;
  }
  .central-duel-coin .coin-side {
    font-size: 6px;
  }
  .central-duel-coin .coin-mint {
    bottom: 10px;
  }
  .personal-coin-slot > span {
    font-size: 6px;
    max-width: 80px;
    line-height: 1.5;
  }
  .shared-coin-slot .eyebrow {
    font-size: 5px;
    letter-spacing: 0.7px;
  }
  .shared-coin-slot > strong {
    font-size: 7px;
    line-height: 1.5;
  }
  .personal-coin-slot,
  .shared-coin-slot {
    gap: 10px;
  }
  .duel-player-row {
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  }
  .duel-player {
    grid-template-columns: auto 1fr;
    gap: 7px;
    padding: 10px 8px;
  }
  .duel-player > .large-frame .avatar {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
  .duel-player-name {
    grid-column: 1/-1;
    grid-row: 3;
    padding-top: 4px;
  }
  .duel-player-name h2 {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .duel-player-name > span {
    font-size: 6px;
  }
  .duel-player-score {
    grid-column: 2;
    grid-row: 1/3;
  }
  .duel-player-score > strong {
    font-size: 27px;
  }
  .duel-player-score > span {
    font-size: 4px;
    letter-spacing: 0;
  }
  .duel-player-current {
    grid-row: 4;
    flex-direction: column;
    gap: 5px;
    font-size: 7px;
    line-height: 1.3;
  }
  .duel-vs {
    font-size: 10px;
  }
  .round-progression {
    gap: 4px;
  }
  .round-progression > span {
    height: 20px;
    width: 20px;
    font-size: 7px;
  }
  .round-progression > small {
    font-size: 6px;
    max-width: 48%;
  }
  .arena-message {
    font-size: 12px;
  }
  .arena-actions {
    flex-direction: column;
    gap: 9px;
  }
  .arena-actions > .flip-button {
    font-size: 11px;
    padding: 12px;
  }
  .duel-choice-row > button {
    padding: 10px;
    font-size: 11px;
  }
  .arena-meta {
    font-size: 7px;
  }
  .arena-sidebar {
    grid-template-columns: 1fr;
  }
  .arena-sidebar .social-panel {
    padding: 17px;
  }
  .ledger-row {
    font-size: 10px;
    grid-template-columns: 30px 1fr 1fr 1fr;
  }
  .ledger-row > strong {
    font-size: 11px;
  }
  .ledger-row > span:first-child {
    font-size: 8px;
  }
  .ledger-key {
    font-size: 8px;
  }
  .battle-round-ledger {
    max-height: 300px;
  }
  .battle-page .arena-card:has(.arena-voting) {
    min-height: 790px;
  }
  .arena-voting .social-panel-heading {
    align-items: flex-start;
  }
  .arena-voting h3 {
    font-size: 10px;
  }
  .arena-voting .tiny-pill {
    font-size: 5px;
    padding: 3px;
    letter-spacing: 0.4px;
  }
  .vote-tallies {
    gap: 11px;
  }
  .vote-tallies > div > strong {
    font-size: 9px;
  }
  .vote-numbers {
    font-size: 8px;
  }
  .vote-numbers b {
    font-size: 10px;
    margin-left: 4px;
  }
  .vote-tallies small {
    font-size: 6px;
  }
  .your-vote {
    flex-wrap: wrap;
    gap: 9px;
  }
  .your-vote > span {
    font-size: 8px;
  }
  .your-vote .duel-choice-row {
    max-width: none;
  }
  .your-vote .quiet-button {
    flex-basis: 100%;
    justify-content: flex-end;
  }
  .duel-player > .guild-emblem {
    width: 31px;
    height: 35px;
    font-size: 6px;
  }
  .chat-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .chat-channel-panel {
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .chat-channel-panel > .eyebrow,
  .chat-friends-heading {
    grid-column: 1/-1;
  }
  .chat-channel-panel > .eyebrow {
    margin: 0 4px 7px;
  }
  .chat-channel {
    margin: 0;
    font-size: 10px;
    padding: 9px 7px;
  }
  .chat-channel small {
    font-size: 7px;
  }
  .chat-friends-heading {
    margin: 10px 4px 5px;
  }
  .chat-local-note {
    grid-column: 1/-1;
    padding: 7px 4px 0;
    margin: 0;
    font-size: 8px;
  }
  .chat-channel-panel > .subtle {
    font-size: 9px;
  }
  .chat-channel-panel > .outline-button {
    font-size: 8px;
  }
  .chat-main {
    height: 550px;
    min-height: 450px;
  }
  .chat-room-header {
    padding: 15px;
  }
  .chat-room-header h2 {
    font-size: 18px;
  }
  .chat-room-header > .quiet-button {
    font-size: 8px;
  }
  .chat-messages {
    padding: 19px 15px;
  }
  .chat-message {
    gap: 9px;
    margin-bottom: 19px;
  }
  .chat-message strong {
    font-size: 10px;
  }
  .chat-message p {
    font-size: 11px;
  }
  .chat-message .avatar {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
  .chat-message time {
    font-size: 7px;
  }
  .chat-message header {
    gap: 6px;
  }
  .chat-composer {
    padding: 13px;
    gap: 7px;
  }
  .chat-composer textarea {
    font-size: 11px;
    padding: 10px;
    min-height: 55px;
  }
  .chat-composer > .flip-button {
    height: 55px;
    font-size: 10px;
    padding: 10px 13px;
  }
  .chat-composer > small {
    font-size: 6px;
  }
}
@media (max-width: 360px) {
  .play-page .sidebar .nav-link {
    font-size: 6px;
  }
  .play-page .sidebar .nav-link svg {
    width: 12px;
    height: 12px;
  }
  .online-player .member-identity small {
    font-size: 7px;
  }
  .online-player > .outline-button {
    font-size: 8px;
    padding: 8px;
  }
  .central-duel-coin {
    width: 76px;
    height: 76px;
  }
  .duel-coin {
    width: 51px;
    height: 51px;
  }
  .central-duel-coin .coin-emblem {
    font-size: 29px;
  }
  .duel-player-name h2 {
    font-size: 10px;
  }
  .duel-player {
    padding: 9px 6px;
  }
  .duel-player-score > strong {
    font-size: 23px;
  }
  .duel-player > .large-frame .avatar {
    width: 28px;
    height: 28px;
  }
  .guild-member-preview > .avatar-frame:nth-child(n + 6) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-flipping,
  .waiting-dot {
    animation: none;
  }
}
@media (min-width: 901px) and (min-height: 780px) {
  .duel-coin {
    width: 105px;
    height: 105px;
  }
  .duel-coin .coin-emblem {
    font-size: 39px;
  }
  .duel-coin .coin-side {
    font-size: 7px;
  }
  .duel-coin .coin-mint {
    bottom: 12px;
    font-size: 5px;
  }
  .central-duel-coin {
    width: 160px;
    height: 160px;
  }
  .central-duel-coin .coin-emblem {
    font-size: 63px;
  }
  .central-duel-coin .coin-side {
    font-size: 9px;
  }
  .central-duel-coin .coin-mint {
    bottom: 19px;
  }
}
@media (min-width: 701px) and (max-height: 650px) {
  .sidebar,
  .play-page .sidebar,
  .battle-page .sidebar {
    padding-top: 15px;
    padding-bottom: 8px;
  }
  .sidebar-label,
  .play-page .sidebar-label,
  .battle-page .sidebar-label {
    margin: 9px 5px 12px;
  }
  .sidebar .nav-link,
  .play-page .sidebar .nav-link,
  .battle-page .sidebar .nav-link {
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 2px 0;
  }
}
.mobile-round-history {
  display: none;
}
.auto-round-notice {
  width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 1px dashed var(--website-line-107-129-80-1, #6b8150);
  border-radius: 7px;
  background: var(--website-surface-211-245-154-0_03137254901960784, #d3f59a08);
  color: var(--lime);
  font-size: 11px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .battle-page .sidebar {
    height: 94px;
    padding: 8px 12px 6px;
    flex-shrink: 0;
  }
  .battle-page .sidebar nav {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 2px;
    margin-top: 7px;
  }
  .battle-page .nav-label {
    display: none;
  }
  .battle-page .nav-short {
    display: inline;
  }
  .battle-page .brand {
    font-size: 24px;
  }
  .battle-page .profile-button {
    margin: 0 0 0 auto;
    padding: 0;
  }
  .battle-page .sidebar .nav-link {
    flex-direction: column;
    font-size: 7px;
    gap: 3px;
    white-space: nowrap;
    padding: 4px 0;
  }
  .battle-page .sidebar .nav-link svg {
    width: 14px;
    height: 14px;
  }
  .battle-page .topbar {
    height: 30px;
    flex-shrink: 0;
    padding: 0 12px;
  }
  .battle-page main {
    padding: 8px 12px 0;
  }
  .battle-page .arena-heading {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .battle-page .arena-heading h1 {
    font-size: 21px;
    letter-spacing: -0.7px;
    margin-top: 5px;
    line-height: 1.15;
  }
  .battle-page .arena-heading .eyebrow {
    font-size: 5px;
    letter-spacing: 0.8px;
  }
  .battle-page .arena-heading > .quiet-button {
    font-size: 7px;
    white-space: nowrap;
    margin: 0;
  }
  .battle-page .arena-sidebar {
    display: none;
  }
  .battle-page .mobile-round-history {
    display: inline-flex;
    font-size: 7px;
    white-space: nowrap;
  }
  .battle-page:not(:has(.arena-voting)) .workspace {
    height: calc(100dvh - 94px);
    display: flex;
    flex-direction: column;
  }
  .battle-page:not(:has(.arena-voting)) main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .battle-page:not(:has(.arena-voting)) #view-battle {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .battle-page:not(:has(.arena-voting)) .arena-layout {
    flex: 1;
    min-height: 0;
    display: flex;
  }
  .battle-page:not(:has(.arena-voting)) .arena-card {
    width: 100%;
    min-height: 0;
    gap: 8px;
    padding: 12px;
  }
  .battle-page .duel-coin-stage {
    min-height: 105px;
  }
  .battle-page .duel-player-row,
  .battle-page .arena-round-header,
  .battle-page .round-progression,
  .battle-page .arena-message,
  .battle-page .arena-actions,
  .battle-page .arena-meta {
    flex-shrink: 0;
  }
  .battle-page:not(:has(.arena-voting)) .page-footer {
    margin-top: 8px;
    padding: 7px 0;
    flex-direction: row;
    font-size: 6px;
    gap: 6px;
    flex-shrink: 0;
  }
  .battle-page .page-footer strong {
    font-size: 9px;
  }
  .battle-page .page-footer button {
    font-size: 6px;
  }
  .battle-page .footer-separator {
    padding: 0 4px;
  }
  .battle-page .arena-meta {
    flex-wrap: wrap;
    gap: 5px;
  }
  .battle-page .arena-meta > span {
    flex-basis: 100%;
  }
  .battle-page .arena-meta .quiet-button:last-child {
    margin-left: auto;
  }
  .battle-page .arena-actions > .outline-button {
    padding: 10px;
    font-size: 10px;
  }
  .battle-page .arena-card:has(.arena-voting) {
    min-height: 720px;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .battle-page .arena-card {
    gap: 6px !important;
    padding: 9px !important;
  }
  .battle-page .duel-coin-stage {
    min-height: 75px;
  }
  .battle-page .duel-coin {
    width: 48px;
    height: 48px;
  }
  .battle-page .central-duel-coin {
    width: 70px;
    height: 70px;
  }
  .battle-page .duel-coin .coin-emblem {
    font-size: 18px;
  }
  .battle-page .central-duel-coin .coin-emblem {
    font-size: 27px;
  }
  .battle-page .shared-coin-slot,
  .battle-page .personal-coin-slot {
    gap: 5px;
  }
  .battle-page .duel-player {
    padding: 8px 6px;
  }
  .battle-page .duel-player-name h2 {
    font-size: 11px;
  }
  .battle-page .duel-player-current {
    gap: 3px;
    padding-top: 6px;
  }
  .battle-page .duel-player-score > strong {
    font-size: 24px;
  }
  .battle-page .arena-message {
    font-size: 10px;
    padding: 2px 0;
  }
  .battle-page .arena-choice-row > button {
    padding: 8px;
  }
  .battle-page .arena-actions > .flip-button {
    padding: 9px;
    font-size: 10px;
  }
  .battle-page .duel-choice-row > button {
    padding: 7px;
    font-size: 10px;
  }
  .battle-page .arena-heading h1 {
    font-size: 19px;
  }
  .battle-page .arena-round-header .tiny-pill {
    font-size: 5px;
  }
  .battle-page .round-progression > small {
    font-size: 5px;
  }
  .battle-page .arena-meta {
    font-size: 6px;
  }
}
@media (min-width: 701px) and (max-height: 650px) {
  .sidebar-label,
  .play-page .sidebar-label,
  .battle-page .sidebar-label {
    margin-bottom: 7px;
  }
  .sidebar .profile-button,
  .play-page .profile-button,
  .battle-page .profile-button {
    margin-top: 6px;
    padding-top: 6px;
    padding-bottom: 5px;
  }
  .sidebar-footer,
  .play-page .sidebar-footer {
    margin: 4px 5px 0;
  }
}
#modal-content:has(> #confirm-forfeit) > button,
#modal-content:has(> #connected-forfeit) > button {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  justify-content: center;
}
