.tgw-page {
  background: #0f1117 !important;
}

body:not(.admin-bar) .tgw-wrapper {
  margin-top: 30px;
}

.tgw-wrapper {
  --tgw-bg: #0f1117;
  --tgw-surface: #12161f;
  --tgw-raised: #171c27;
  --tgw-soft: rgba(17, 19, 26, .68);
  --tgw-line: rgba(255, 255, 255, .08);
  --tgw-line-strong: rgba(255, 255, 255, .16);
  --tgw-text: #f7f9fb;
  --tgw-muted: #8b929e;
  --tgw-cyan: #4effff;
  --tgw-cyan-soft: rgba(78, 255, 255, .1);
  --tgw-red: #ff5c70;
  --tgw-gold: #ffc928;
  --tgw-green: #55e99a;
  position: relative;
  width: 100%;
  min-height: calc(100vh - 100px);
  overflow-x: clip;
  background: var(--tgw-bg);
  color: var(--tgw-text);
  font: 400 16px/1.5 Poppins, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tgw-wrapper[hidden],
.tgw-wrapper [hidden] {
  display: none !important;
}

.tgw-wrapper *,
.tgw-wrapper *::before,
.tgw-wrapper *::after {
  box-sizing: border-box;
}

.tgw-wrapper button,
.tgw-wrapper input {
  font-family: inherit;
  line-height: inherit;
}

.tgw-wrapper button:focus-visible,
.tgw-wrapper input:focus-visible,
.tgw-wrapper [tabindex]:focus-visible {
  outline: 3px solid rgba(78, 255, 255, .48);
  outline-offset: 3px;
}

.tgw-shell {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.tgw-directory-header {
  margin: 0 0 48px;
  text-align: center;
}

.tgw-directory-header h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(to right, #fff, #b4e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tgw-directory-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--tgw-muted);
  font-size: 1.1rem;
}

.tgw-count {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(78, 255, 255, .22);
  border-radius: 999px;
  background: var(--tgw-cyan-soft);
  color: var(--tgw-cyan);
  font-size: .78rem;
  font-weight: 800;
}

.tgw-directory-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding: 16px;
  border: 1px solid var(--tgw-line);
  border-radius: 16px;
  background: var(--tgw-soft);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
}

.tgw-search {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.tgw-search svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  color: var(--tgw-muted);
}

.tgw-search input {
  width: 100%;
  min-height: 45px;
  padding: 0 15px 0 45px;
  border: 1px solid transparent;
  border-radius: 11px;
  outline: 0;
  background: rgba(5, 8, 12, .56);
  color: var(--tgw-text);
  font-size: .86rem;
}

.tgw-search input::placeholder {
  color: #6e7581;
}

.tgw-search input:focus {
  border-color: rgba(78, 255, 255, .42);
  box-shadow: 0 0 0 3px var(--tgw-cyan-soft);
}

.tgw-filter-tabs,
.tgw-match-filters {
  display: flex;
  min-width: 0;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tgw-filter,
.tgw-match-filters button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--tgw-muted);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.tgw-filter:hover,
.tgw-match-filters button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.tgw-filter.is-active,
.tgw-match-filters button.is-active {
  border-color: rgba(78, 255, 255, .25);
  background: var(--tgw-cyan-soft);
  color: var(--tgw-cyan);
}

.tgw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--tgw-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  color: var(--tgw-text);
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.tgw-button:hover {
  transform: translateY(-1px);
  border-color: var(--tgw-line-strong);
  background: rgba(255, 255, 255, .075);
}

.tgw-button svg {
  width: 17px;
  height: 17px;
}

.tgw-button-primary {
  border-color: rgba(78, 255, 255, .28);
  background: var(--tgw-cyan-soft);
  color: var(--tgw-cyan);
}

.tgw-button-primary:hover {
  background: var(--tgw-cyan);
  color: #071013;
}

.tgw-rules-button {
  flex: 0 0 auto;
}

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

.tgw-war-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tgw-line);
  border-radius: 21px;
  background: rgba(18, 22, 31, .9);
  color: var(--tgw-text);
  text-align: left;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
  cursor: pointer;
  animation: tgwCardReveal .58s cubic-bezier(.16, 1, .3, 1) both;
  transition: transform .38s cubic-bezier(.16, 1, .3, 1), border-color .25s ease, box-shadow .38s ease;
}

.tgw-war-card:nth-child(2) {
  animation-delay: .07s;
}

.tgw-war-card:nth-child(3) {
  animation-delay: .14s;
}

.tgw-war-card:nth-child(4) {
  animation-delay: .21s;
}

.tgw-war-card:hover {
  transform: translateY(-7px) scale(1.006);
  border-color: var(--tgw-line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

.tgw-war-card:active {
  transform: translateY(-2px) scale(.995);
}

.tgw-war-card:focus-visible {
  outline: 3px solid rgba(78, 255, 255, .45);
  outline-offset: 3px;
}

.tgw-card-visual {
  position: relative;
  display: block;
  height: 188px;
  overflow: hidden;
  background: #0d1118;
}

.tgw-card-banner,
.tgw-stage-banner {
  position: absolute;
  inset: 0;
  width: 70%;
  height: 100%;
  display: block;
  max-width: none;
  margin: 0;
  object-fit: cover;
  filter: saturate(.88) contrast(.96);
  transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .45s ease;
}

.tgw-card-banner-home,
.tgw-stage-banner-home {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 52%, transparent 100%);
}

.tgw-card-banner-away,
.tgw-stage-banner-away {
  right: 0;
  left: auto;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, #000 52%, transparent 100%);
}

.tgw-war-card:hover .tgw-card-banner-home {
  transform: scale(1.045) translateX(-1.5%);
  filter: saturate(1);
}

.tgw-war-card:hover .tgw-card-banner-away {
  transform: scale(1.045) translateX(1.5%);
  filter: saturate(1);
}

.tgw-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, .08), #12161f 100%), linear-gradient(90deg, rgba(78, 255, 255, .1), transparent 45%, rgba(255, 92, 112, .1));
}

.tgw-card-status {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--tgw-status-color) 34%, transparent);
  border-radius: 999px;
  background: rgba(8, 11, 16, .78);
  color: var(--tgw-status-color);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.tgw-war-card[data-status="battle"] {
  --tgw-status-color: var(--tgw-gold);
}

.tgw-war-card[data-status="preparation"] {
  --tgw-status-color: #bb86fc;
}

.tgw-war-card[data-status="challenge"] {
  --tgw-status-color: var(--tgw-cyan);
}

.tgw-war-card[data-status="completed"] {
  --tgw-status-color: var(--tgw-green);
}

.tgw-card-versus {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  color: #7f8997;
  box-shadow: 0 9px 22px rgba(0, 0, 0, .38);
}

.tgw-card-versus svg {
  width: 50px;
  height: 50px;
  transition: transform .38s cubic-bezier(.16, 1, .3, 1), color .3s ease;
}

.tgw-war-card:hover .tgw-card-versus svg {
  transform: rotate(-7deg) scale(1.08);
  color: var(--tgw-gold);
}

.tgw-card-emblem {
  position: absolute;
  z-index: 3;
  bottom: 13px;
  width: 66px;
  height: 66px;
  display: block;
  max-width: none;
  margin: 0;
  border: 2px solid var(--tgw-team-color);
  border-radius: 18px;
  object-fit: cover;
  background: #0c1017;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5), 0 0 18px color-mix(in srgb, var(--tgw-team-color) 14%, transparent);
  transition: transform .42s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}

.tgw-card-emblem-home {
  --tgw-team-color: var(--tgw-cyan);
  left: 22px;
}

.tgw-card-emblem-away {
  --tgw-team-color: var(--tgw-red);
  right: 22px;
}

.tgw-war-card:hover .tgw-card-emblem-home {
  transform: translateY(-4px) rotate(-2deg);
}

.tgw-war-card:hover .tgw-card-emblem-away {
  transform: translateY(-4px) rotate(2deg);
}

.tgw-card-body {
  display: block;
  padding: 18px 21px 20px;
}

.tgw-card-guilds {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.tgw-card-guild {
  min-width: 0;
}

.tgw-card-guild:last-child {
  text-align: right;
}

.tgw-card-guild strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: .94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgw-card-guild small {
  display: block;
  color: var(--tgw-muted);
  font-size: .69rem;
}

.tgw-card-score {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.tgw-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--tgw-line);
}

.tgw-card-meta>span {
  color: var(--tgw-muted);
  font-size: .73rem;
}

.tgw-card-meta strong {
  color: #dce1e7;
  font-size: .74rem;
}

.tgw-card-progress {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  width: 88px;
}

.tgw-card-progress i {
  flex: 1;
  height: 5px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
}

.tgw-card-progress i.is-done {
  background: var(--tgw-status-color);
}

.tgw-loading,
.tgw-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 42px;
  border: 1px dashed var(--tgw-line);
  border-radius: 20px;
  color: var(--tgw-muted);
  text-align: center;
}

.tgw-spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 14px;
  border: 3px solid rgba(255, 255, 255, .1);
  border-top-color: var(--tgw-cyan);
  border-radius: 50%;
  animation: tgwSpin .8s linear infinite;
}

.tgw-retry {
  margin-top: 16px;
}

.tgw-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tgw-skeleton-block {
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(105deg, rgba(255, 255, 255, .055) 18%, rgba(255, 255, 255, .12) 40%, rgba(255, 255, 255, .055) 62%);
  background-size: 220% 100%;
  animation: tgwSkeletonShimmer 1.35s ease-in-out infinite;
}

.tgw-skeleton-card {
  --tgw-status-color: rgba(78, 255, 255, .22);
  cursor: default;
  pointer-events: none;
  animation-delay: calc(var(--tgw-skeleton-index, 0) * .07s);
}

.tgw-skeleton-card:hover {
  transform: none;
  border-color: var(--tgw-line);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}

.tgw-skeleton-card-visual {
  position: relative;
  height: 188px;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(78, 255, 255, .035), rgba(255, 255, 255, .025) 48%, rgba(255, 92, 112, .035));
}

.tgw-skeleton-status {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 105px;
  height: 25px;
  transform: translateX(-50%);
}

.tgw-skeleton-versus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
}

.tgw-skeleton-emblem {
  position: absolute;
  bottom: 17px;
  width: 68px;
  height: 68px;
  border-radius: 18px;
}

.tgw-skeleton-emblem-home {
  left: 22px;
}

.tgw-skeleton-emblem-away {
  right: 22px;
}

.tgw-skeleton-card-names {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.tgw-skeleton-card-names>span {
  width: 76%;
  height: 14px;
}

.tgw-skeleton-card-names>span:last-child {
  justify-self: end;
}

.tgw-skeleton-card-names .tgw-skeleton-score {
  justify-self: center;
  width: 42px;
  height: 21px;
}

.tgw-skeleton-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--tgw-line);
}

.tgw-skeleton-card-meta>span {
  width: 112px;
  height: 10px;
}

.tgw-skeleton-card-meta>span:nth-child(2) {
  width: 88px;
}

.tgw-skeleton-card-meta>span:last-child {
  width: 72px;
}

#tgwDetailView.tgw-is-loading>.tgw-war-stage,
#tgwDetailView.tgw-is-loading>.tgw-workspace {
  display: none;
}

.tgw-detail-skeleton {
  animation: tgwViewEnter .36s cubic-bezier(.16, 1, .3, 1) both;
}

.tgw-skeleton-stage {
  overflow: hidden;
  border: 1px solid var(--tgw-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(19, 24, 34, .98), rgba(12, 15, 22, .96));
  box-shadow: 0 25px 65px rgba(0, 0, 0, .24);
}

.tgw-skeleton-stage-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 30px 34px 24px;
}

.tgw-skeleton-guild {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.tgw-skeleton-guild-away {
  flex-direction: row-reverse;
}

.tgw-skeleton-stage-emblem {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 21px;
}

.tgw-skeleton-guild>span:last-child {
  display: grid;
  flex: 1;
  gap: 7px;
}

.tgw-skeleton-guild>span:last-child i:nth-child(1) {
  width: 76px;
  height: 9px;
}

.tgw-skeleton-guild>span:last-child i:nth-child(2) {
  width: min(185px, 88%);
  height: 24px;
}

.tgw-skeleton-guild>span:last-child i:nth-child(3) {
  width: 132px;
  height: 10px;
}

.tgw-skeleton-guild-away>span:last-child {
  justify-items: end;
}

.tgw-skeleton-scoreboard {
  display: grid;
  justify-items: center;
  gap: 11px;
}

.tgw-skeleton-scoreboard>i:first-child {
  width: 132px;
  height: 26px;
}

.tgw-skeleton-scoreboard>span {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tgw-skeleton-scoreboard>span i {
  width: 44px;
  height: 43px;
}

.tgw-skeleton-scoreboard>span i:nth-child(2) {
  width: 29px;
  height: 29px;
  border-radius: 9px;
}

.tgw-skeleton-scoreboard>i:last-child {
  width: 118px;
  height: 11px;
}

.tgw-skeleton-phase-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--tgw-line);
  background: rgba(0, 0, 0, .14);
}

.tgw-skeleton-phase-strip>span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 67px;
  padding: 10px 18px;
  border-right: 1px solid var(--tgw-line);
}

.tgw-skeleton-phase-strip>span:last-child {
  border-right: 0;
}

.tgw-skeleton-phase-strip>span>i {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
}

.tgw-skeleton-phase-strip b {
  display: grid;
  flex: 1;
  gap: 7px;
}

.tgw-skeleton-phase-strip b i:first-child {
  width: 82px;
  height: 10px;
}

.tgw-skeleton-phase-strip b i:last-child {
  width: 96px;
  height: 8px;
}

.tgw-skeleton-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .58fr);
  gap: 18px;
  margin-top: 18px;
}

.tgw-skeleton-panel {
  overflow: hidden;
  border: 1px solid var(--tgw-line);
  border-radius: 19px;
  background: rgba(18, 22, 31, .9);
}

.tgw-skeleton-match-panel {
  min-height: 480px;
}

.tgw-skeleton-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--tgw-line);
}

.tgw-skeleton-panel-head>span {
  display: grid;
  gap: 8px;
}

.tgw-skeleton-panel-head>span i:first-child {
  width: 164px;
  height: 17px;
}

.tgw-skeleton-panel-head>span i:last-child {
  width: 280px;
  max-width: 44vw;
  height: 10px;
}

.tgw-skeleton-panel-head>i {
  width: 180px;
  height: 34px;
  border-radius: 9px;
}

.tgw-skeleton-empty-line {
  width: 46%;
  height: 12px;
  margin: 190px auto 0;
}

.tgw-skeleton-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.tgw-skeleton-side .tgw-skeleton-panel {
  display: grid;
  gap: 12px;
  padding: 21px;
}

.tgw-skeleton-action-panel {
  min-height: 226px;
}

.tgw-skeleton-action-panel i:nth-child(1) {
  width: 92px;
  height: 9px;
}

.tgw-skeleton-action-panel i:nth-child(2) {
  width: 78%;
  height: 20px;
}

.tgw-skeleton-action-panel i:nth-child(3) {
  width: 92%;
  height: 10px;
}

.tgw-skeleton-action-panel i:nth-child(4) {
  width: 100%;
  height: 48px;
  margin-top: 15px;
  border-radius: 12px;
}

.tgw-skeleton-short-panel {
  min-height: 142px;
}

.tgw-skeleton-short-panel i:nth-child(1) {
  width: 100%;
  height: 15px;
}

.tgw-skeleton-short-panel i:nth-child(2) {
  width: 100%;
  height: 6px;
  margin-top: 8px;
}

.tgw-skeleton-short-panel i:nth-child(3) {
  width: 82%;
  height: 28px;
  margin: 11px auto 0;
}

.tgw-skeleton-reward-panel {
  min-height: 250px;
}

.tgw-skeleton-reward-panel i:first-child {
  width: 115px;
  height: 16px;
}

.tgw-skeleton-reward-panel i:not(:first-child) {
  width: 100%;
  height: 11px;
  margin-top: 8px;
}

.tgw-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  color: var(--tgw-muted);
  font-size: .82rem;
}

.tgw-page-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--tgw-line);
  border-radius: 12px;
  background: var(--tgw-soft);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.tgw-page-button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.tgw-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.tgw-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.tgw-brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(78, 255, 255, .28);
  border-radius: 13px;
  background: var(--tgw-cyan-soft);
  color: var(--tgw-cyan);
  box-shadow: 0 0 25px rgba(78, 255, 255, .07);
}

.tgw-brand-mark svg {
  width: 23px;
  height: 23px;
}

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

.tgw-brand strong {
  font-size: 1.02rem;
  letter-spacing: .02em;
}

.tgw-brand small {
  color: var(--tgw-muted);
  font-size: .78rem;
}

.tgw-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tgw-back-button {
  color: var(--tgw-muted);
}

.tgw-war-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tgw-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(19, 24, 34, .98), rgba(12, 15, 22, .96));
  box-shadow: 0 25px 65px rgba(0, 0, 0, .32);
  view-transition-name: tgw-war-stage;
}

.tgw-war-stage .tgw-stage-banner {
  width: 58%;
  opacity: .3;
  filter: none;
}

.tgw-stage-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 14, 20, .16), transparent 35%, transparent 65%, rgba(11, 14, 20, .16));
}

.tgw-stage-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 30px 34px 24px;
}

.tgw-stage-guild {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.tgw-stage-guild-away {
  flex-direction: row-reverse;
  text-align: right;
}

.tgw-stage-emblem {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid var(--tgw-cyan);
  border-radius: 21px;
  background: rgba(0, 0, 0, .25);
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32), inset 0 0 28px var(--tgw-cyan);
}

.tgw-stage-guild-away .tgw-stage-emblem {
  border-color: rgba(255, 92, 112, .76);
}

.tgw-stage-guild-copy {
  min-width: 0;
}

.tgw-stage-guild small {
  display: block;
  margin-bottom: 3px;
  color: var(--tgw-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tgw-stage-guild h2 {
  max-width: 320px;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgw-stage-guild p {
  margin: 5px 0 0;
  color: var(--tgw-muted);
  font-size: .8rem;
}

.tgw-scoreboard {
  min-width: 245px;
  text-align: center;
}

.tgw-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 201, 40, .24);
  border-radius: 999px;
  background: rgba(255, 201, 40, .1);
  color: var(--tgw-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tgw-state-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.tgw-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
}

.tgw-score strong {
  min-width: 44px;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
}

.tgw-score strong:first-child {
  color: var(--tgw-cyan);
}

.tgw-score strong:last-child {
  color: var(--tgw-red);
}

.tgw-score span {
  display: grid;
  place-items: center;
  color: #6f7887;
}

.tgw-score svg {
  width: 29px;
  height: 29px;
}

.tgw-scoreboard p {
  margin: 9px 0 0;
  color: var(--tgw-muted);
  font-size: .8rem;
}

.tgw-scoreboard p strong {
  color: #fff;
  font-size: .9rem;
}

.tgw-phase-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--tgw-line);
  background: rgba(0, 0, 0, .14);
}

.tgw-phase {
  position: relative;
  min-height: 67px;
  padding: 10px 18px 10px 48px;
  border-right: 1px solid var(--tgw-line);
  color: var(--tgw-muted);
}

.tgw-phase:last-child {
  border-right: 0;
}

.tgw-phase>span {
  position: absolute;
  top: 17px;
  left: 17px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--tgw-line-strong);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
}

.tgw-phase strong {
  display: block;
  color: #ccd1d8;
  font-size: .82rem;
}

.tgw-phase small {
  color: var(--tgw-muted);
  font-size: .7rem;
}

.tgw-phase.is-active {
  background: linear-gradient(180deg, rgba(255, 201, 40, .075), transparent);
}

.tgw-phase.is-active::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  background: var(--tgw-cyan);
  box-shadow: 0 0 13px rgba(78, 255, 255, .55);
}

.tgw-phase.is-active::after {
  background: var(--tgw-gold);
  box-shadow: 0 0 12px var(--tgw-gold);
}

.tgw-phase.is-active>span {
  border-color: rgba(255, 201, 40, .42);
  background: rgba(255, 201, 40, .1);
  color: var(--tgw-gold);
}

.tgw-phase.is-complete>span {
  border-color: rgba(85, 233, 154, .38);
  background: rgba(85, 233, 154, .1);
  color: var(--tgw-green);
}

.tgw-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .58fr);
  gap: 18px;
  margin-top: 18px;
}

.tgw-panel {
  overflow: hidden;
  border: 1px solid var(--tgw-line);
  border-radius: 19px;
  background: rgba(18, 22, 31, .9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
}

.tgw-match-panel {
  display: flex;
  min-height: 480px;
  flex-direction: column;
}

.tgw-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--tgw-line);
}

.tgw-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.tgw-panel-head h2 {
  margin: 0 0 3px;
  font-size: 1.12rem;
}

.tgw-panel-head p {
  margin: 0;
  color: var(--tgw-muted);
  font-size: .78rem;
}

.tgw-match-filters button {
  min-height: 34px;
  padding: 0 11px;
  font-size: .74rem;
}

.tgw-matches {
  display: grid;
  gap: 9px;
  padding: 0 14px 17px;
}

.tgw-matches.tgw-is-empty {
  flex: 1;
  place-items: center;
  padding: 42px 24px;
}

.tgw-matches.tgw-is-empty .tgw-empty {
  min-height: 0;
  padding: 0;
  border: 0;
}

.tgw-round-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 19px 10px 2px;
  color: #c6ccd4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.tgw-round-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--tgw-line);
}

.tgw-match-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  min-height: 80px;
  overflow: hidden;
  border: 1px solid var(--tgw-line);
  border-radius: 14px;
  background: rgba(8, 11, 17, .62);
  animation: tgwRowReveal .42s cubic-bezier(.16, 1, .3, 1) both;
  transition: border-color .2s ease, transform .2s ease;
}

.tgw-match-card:nth-of-type(2) {
  animation-delay: .045s;
}

.tgw-match-card:nth-of-type(3) {
  animation-delay: .09s;
}

.tgw-match-card:hover {
  transform: translateY(-1px);
  border-color: var(--tgw-line-strong);
}

.tgw-fighter {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 13px 16px;
}

.tgw-fighter-away {
  flex-direction: row-reverse;
  text-align: right;
}

.tgw-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 2px solid var(--tgw-cyan);
  border-radius: 50%;
  background: var(--tgw-raised);
  color: var(--tgw-cyan);
  font-size: .78rem;
  font-weight: 800;
}

.tgw-fighter-away .tgw-avatar {
  border-color: var(--tgw-red);
  color: var(--tgw-red);
}

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

.tgw-fighter-copy {
  min-width: 0;
}

.tgw-fighter-copy strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: .96rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgw-match-result {
  align-self: stretch;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--tgw-muted);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.tgw-match-result strong {
  display: block;
  color: #fff;
  font-size: .95rem;
}

.tgw-match-card[data-status="Completed"] .tgw-match-result,
.tgw-match-card[data-status="Forfeited"] .tgw-match-result {
  color: var(--tgw-green);
}

.tgw-side-stack {
  display: grid;
  align-content: start;
  gap: 18px;
}

.tgw-action-panel {
  overflow: hidden;
}

.tgw-action-banner {
  padding: 23px;
  border-bottom: 1px solid var(--tgw-line);
  background: linear-gradient(135deg, rgba(78, 255, 255, .105), rgba(78, 255, 255, .025));
}

.tgw-action-eyebrow {
  margin: 0 0 6px;
  color: var(--tgw-cyan);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tgw-action-banner h2 {
  margin: 0;
  font-size: 1.2rem;
}

.tgw-action-banner>p:last-child {
  margin: 7px 0 0;
  color: var(--tgw-muted);
  font-size: .8rem;
}

.tgw-action-body {
  padding: 18px 20px 20px;
}

.tgw-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--tgw-line);
  border-radius: 12px;
  background: #090d13;
}

.tgw-command code {
  overflow: hidden;
  color: #dfe6ea;
  font: 600 .82rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgw-copy-button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(78, 255, 255, .22);
  border-radius: 8px;
  background: var(--tgw-cyan-soft);
  color: var(--tgw-cyan);
  font-size: .7rem;
  font-weight: 800;
  cursor: pointer;
}

.tgw-copy-button:hover {
  background: var(--tgw-cyan);
  color: #071013;
}

.tgw-action-note {
  display: flex;
  gap: 9px;
  margin-top: 13px;
  color: var(--tgw-muted);
  font-size: .74rem;
}

.tgw-action-note svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--tgw-gold);
}

.tgw-progress-panel,
.tgw-reward-panel {
  padding: 21px;
}

.tgw-progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.tgw-progress-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.tgw-progress-heading span {
  color: var(--tgw-muted);
  font-size: .73rem;
}

.tgw-progress-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.tgw-progress-track .tgw-progress-segment {
  display: block;
  width: auto;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .075);
}

.tgw-progress-track .tgw-progress-segment.is-done {
  transform-origin: left;
  background: linear-gradient(90deg, var(--tgw-cyan), #47e8ac);
  box-shadow: 0 0 10px rgba(78, 255, 255, .12);
  animation: tgwSegmentFill .48s cubic-bezier(.16, 1, .3, 1) both;
}

.tgw-progress-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 17px;
  text-align: center;
}

.tgw-progress-stats div {
  border-right: 1px solid var(--tgw-line);
}

.tgw-progress-stats div:last-child {
  border-right: 0;
}

.tgw-progress-stats strong,
.tgw-progress-stats span {
  display: block;
}

.tgw-progress-stats strong {
  color: #fff;
  font-size: 1.05rem;
}

.tgw-progress-stats span {
  color: var(--tgw-muted);
  font-size: .68rem;
}

.tgw-reward-panel h2 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.tgw-reward-panel>p {
  margin: 0 0 16px;
  color: var(--tgw-muted);
  font-size: .75rem;
}

.tgw-reward-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tgw-reward-panel li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--tgw-line);
  color: #d4d9e0;
  font-size: .76rem;
}

.tgw-reward-panel li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tgw-reward-panel li strong {
  color: #fff;
  font-size: .78rem;
  text-align: right;
}

.tgw-reward-panel .tgw-special-reward {
  color: var(--tgw-gold);
}

.tgw-dialog-backdrop {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 6, 10, .78);
  backdrop-filter: blur(10px);
  animation: tgwFadeIn .2s ease both;
}

.tgw-dialog {
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--tgw-line-strong);
  border-radius: 22px;
  background: #12161f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .58);
  animation: tgwDialogIn .35s cubic-bezier(.16, 1, .3, 1) both;
}

.tgw-dialog>header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 21px;
  border-bottom: 1px solid var(--tgw-line);
}

.tgw-dialog>header>div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tgw-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.tgw-dialog>header button {
  width: 37px;
  height: 37px;
  border: 1px solid var(--tgw-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.tgw-rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
}

.tgw-rule-grid article {
  padding: 18px;
  border: 1px solid var(--tgw-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .025);
}

.tgw-rule-grid article>strong {
  color: var(--tgw-cyan);
  font-size: .7rem;
  letter-spacing: .12em;
}

.tgw-rule-grid h3 {
  margin: 8px 0 5px;
  color: #fff;
  font-size: .9rem;
}

.tgw-rule-grid p {
  margin: 0;
  color: var(--tgw-muted);
  font-size: .75rem;
}

.tgw-toast-region {
  position: fixed;
  z-index: 100001;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100% - 44px));
  pointer-events: none;
}

.tgw-toast {
  padding: 14px 16px;
  border: 1px solid var(--tgw-line-strong);
  border-radius: 13px;
  background: rgba(18, 22, 31, .96);
  color: #fff;
  font-size: .82rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .4);
  animation: tgwToastIn .35s cubic-bezier(.16, 1, .3, 1) both;
}

.tgw-toast.is-error {
  border-color: rgba(255, 92, 112, .4);
  color: #ffabb6;
}

.tgw-animate-up {
  animation: tgwRiseIn .55s cubic-bezier(.16, 1, .3, 1) both;
}

.tgw-delay-1 {
  animation-delay: .08s;
}

.tgw-delay-2 {
  animation-delay: .14s;
}

.tgw-view-enter {
  animation: tgwViewEnter .45s cubic-bezier(.16, 1, .3, 1) both;
}

.tgw-workspace.tgw-content-swap {
  animation: tgwContentSwap .38s cubic-bezier(.16, 1, .3, 1) both;
}

.tgw-war-stage.tgw-stage-enter {
  animation: tgwContentSwap .42s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes tgwRiseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tgwCardReveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tgwViewEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.993);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tgwViewOut {
  to {
    opacity: 0;
    transform: scale(.992);
  }
}

@keyframes tgwContentSwap {
  from {
    opacity: .35;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tgwRowReveal {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tgwSegmentFill {
  from {
    opacity: .3;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes tgwSkeletonShimmer {
  from {
    background-position: 120% 0;
  }

  to {
    background-position: -120% 0;
  }
}

@keyframes tgwFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes tgwDialogIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tgwToastIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tgwSpin {
  to {
    transform: rotate(360deg);
  }
}

::view-transition-old(root) {
  animation: .22s ease both tgwViewOut;
}

::view-transition-new(root) {
  animation: .48s cubic-bezier(.16, 1, .3, 1) both tgwViewEnter;
}

::view-transition-group(tgw-war-stage) {
  animation-duration: .5s;
  animation-timing-function: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 1040px) {
  .tgw-war-grid {
    grid-template-columns: 1fr;
  }

  .tgw-stage-head {
    grid-template-columns: minmax(0, 1fr) minmax(190px, auto) minmax(0, 1fr);
    padding-inline: 24px;
  }

  .tgw-stage-emblem {
    width: 62px;
    height: 62px;
    border-radius: 17px;
  }

  .tgw-workspace {
    grid-template-columns: 1fr;
  }

  .tgw-side-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tgw-skeleton-stage-head {
    grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr);
    padding-inline: 24px;
  }

  .tgw-skeleton-stage-emblem {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }

  .tgw-skeleton-guild>span:last-child i:last-child {
    display: none;
  }

  .tgw-skeleton-workspace {
    grid-template-columns: 1fr;
  }

  .tgw-skeleton-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tgw-shell {
    padding: 40px 20px 60px;
  }

  .tgw-directory-header {
    margin-bottom: 34px;
  }

  .tgw-directory-controls {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .tgw-search {
    flex-basis: auto;
  }

  .tgw-filter-tabs {
    width: 100%;
  }

  .tgw-filter {
    flex: 1 0 auto;
  }

  .tgw-rules-button {
    width: 100%;
  }

  .tgw-detail-toolbar {
    align-items: flex-start;
  }

  .tgw-brand small {
    display: none;
  }

  .tgw-toolbar-actions .tgw-button:first-child {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .tgw-toolbar-actions .tgw-button:first-child span {
    font-size: 1rem;
  }

  .tgw-stage-head {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 23px 18px 20px;
  }

  .tgw-scoreboard {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .tgw-stage-guild {
    grid-row: 2;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .tgw-stage-guild-away {
    flex-direction: column-reverse;
    text-align: center;
  }

  .tgw-stage-guild h2 {
    font-size: 1rem;
  }

  .tgw-score strong {
    font-size: 2.3rem;
  }

  .tgw-phase-strip {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tgw-phase {
    flex: 0 0 150px;
  }

  .tgw-panel-head {
    display: block;
  }

  .tgw-match-filters {
    margin-top: 13px;
  }

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

  .tgw-rule-grid {
    grid-template-columns: 1fr;
  }

  .tgw-skeleton-stage-head {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 23px 18px 20px;
  }

  .tgw-skeleton-scoreboard {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .tgw-skeleton-guild {
    grid-row: 2;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .tgw-skeleton-guild-away {
    flex-direction: column;
  }

  .tgw-skeleton-guild>span:last-child {
    width: 100%;
    justify-items: center;
  }

  .tgw-skeleton-guild>span:last-child i:nth-child(1) {
    width: 64px;
  }

  .tgw-skeleton-guild>span:last-child i:nth-child(2) {
    width: 100px;
    height: 17px;
  }

  .tgw-skeleton-phase-strip {
    display: flex;
    overflow: hidden;
  }

  .tgw-skeleton-phase-strip>span {
    flex: 0 0 150px;
  }

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

  .tgw-skeleton-panel-head {
    display: block;
  }

  .tgw-skeleton-panel-head>i {
    width: 180px;
    margin-top: 15px;
  }
}

@media (max-width: 520px) {
  .tgw-shell {
    padding: 32px 12px 52px;
  }

  .tgw-directory-header h1 {
    font-size: 2.2rem;
  }

  .tgw-directory-header p {
    font-size: .95rem;
  }

  .tgw-directory-controls {
    padding: 8px;
    border-radius: 14px;
  }

  .tgw-war-card {
    border-radius: 17px;
  }

  .tgw-card-visual {
    height: 150px;
  }

  .tgw-card-emblem {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .tgw-card-versus {
    width: 50px;
    height: 50px;
  }

  .tgw-card-versus svg {
    width: 38px;
    height: 38px;
  }

  .tgw-card-body {
    padding: 16px 14px 17px;
  }

  .tgw-card-guilds {
    gap: 8px;
  }

  .tgw-card-guild strong {
    font-size: .8rem;
  }

  .tgw-card-meta {
    flex-wrap: wrap;
    gap: 9px;
  }

  .tgw-card-progress {
    order: 3;
    width: 100%;
  }

  .tgw-stage-head {
    padding-inline: 12px;
  }

  .tgw-stage-emblem {
    width: 54px;
    height: 54px;
  }

  .tgw-score {
    grid-template-columns: 1fr 40px 1fr;
  }

  .tgw-match-card {
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  }

  .tgw-fighter {
    flex-direction: column;
    gap: 6px;
    padding: 11px 7px;
    text-align: center;
  }

  .tgw-fighter-away {
    flex-direction: column;
  }

  .tgw-avatar {
    width: 39px;
    height: 39px;
  }

  .tgw-fighter-copy strong {
    font-size: .82rem;
  }

  .tgw-skeleton-card-visual {
    height: 150px;
  }

  .tgw-skeleton-emblem {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .tgw-skeleton-stage-head {
    padding-inline: 12px;
  }

  .tgw-skeleton-stage-emblem {
    width: 54px;
    height: 54px;
  }

  .tgw-skeleton-phase-strip>span {
    flex-basis: 132px;
    padding-inline: 14px;
  }

  .tgw-skeleton-workspace {
    gap: 14px;
    margin-top: 14px;
  }

  .tgw-skeleton-match-panel {
    min-height: 390px;
  }
}

@media (hover: none) {
  .tgw-war-card:hover {
    transform: none;
  }

  .tgw-war-card:hover .tgw-card-banner,
  .tgw-war-card:hover .tgw-card-emblem,
  .tgw-war-card:hover .tgw-card-versus svg {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .tgw-wrapper *,
  .tgw-wrapper *::before,
  .tgw-wrapper *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}