.wwdm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  container: wwdm / inline-size;
}

.wwdm .card {
  margin: 0;
  border: 0;
  border-radius: var(--radius-l, var(--br-16));
  background-color: var(--card);
  box-shadow: none;
}

.wwdm .card-header {
  padding: 1.25rem 1.25rem 0;
  border: 0;
}

.wwdm .card-header .badge {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-default);
  font-size: 15px;
  font-weight: var(--font-weight-7);
}

.wwdm .card-container {
  padding: 1rem 1.25rem 1.25rem;
}

.wwdm__hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 240px;
  padding: 2rem 2.25rem;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl, var(--br-16));
  background: var(--card);
}

.wwdm__hero-art {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  z-index: -1;
  width: 58%;
  height: calc(100% + 1rem);
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%);
  mask-image: linear-gradient(90deg, transparent, #000 28%);
  pointer-events: none;
}

.wwdm__hero-text {
  position: relative;
  max-width: 60%;
}

.wwdm__hero-over {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--span-ink, var(--span));
  font-size: 12px;
  font-weight: var(--font-weight-7);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wwdm__hero-over svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.wwdm__hero-text h1 {
  font-family: var(--font-family-1);
  font-size: clamp(24px, 3cqi, 38px);
  font-weight: var(--font-weight-7);
  color: var(--text-default);
  line-height: 1.2;
  margin: 0.6rem 0 0.75rem;
}

.wwdm__hero-text p {
  max-width: 34rem;
  color: var(--text-custom);
  margin: 0;
}

.wwdm__profile-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.wwdm__hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--input-height, 36px);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-m, var(--br-10));
  color: var(--text-custom);
  background: var(--button);
  font-size: 13px;
  font-weight: var(--font-weight-6);
  text-decoration: none;
  transition: background-color var(--dur-fast, .16s) var(--ease-out, ease), color var(--dur-fast, .16s) var(--ease-out, ease);
}

.wwdm__hero-action:hover {
  color: var(--text-default);
  background: var(--button-hover);
}

.wwdm__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.wwdm__tabs,
.wwdm__servers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wwdm__tab,
.wwdm__server {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--input-height, 36px);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-s, var(--br-8));
  background: var(--button);
  color: var(--text-custom);
  font-size: 13px;
  font-weight: var(--font-weight-6);
  text-decoration: none;
  transition: background-color var(--dur-fast, .16s) var(--ease-out, ease), color var(--dur-fast, .16s) var(--ease-out, ease);
}

.wwdm__tab:hover,
.wwdm__server:hover {
  color: var(--text-default);
  background: var(--button-hover);
}

.wwdm__tab.active,
.wwdm__server.active,
.wwdm__guide-catalog [role="tab"][aria-selected="true"] {
  color: var(--text-default);
  background: var(--span);
}

.wwdm__heading {
  font-size: 15px;
  font-weight: var(--font-weight-7);
  color: var(--text-default);
  margin: 0;
}

.wwdm__grey {
  color: var(--text-secondary);
}

.wwdm__overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1rem 0.5rem;
  border-radius: var(--radius-l, var(--br-16));
  background: var(--card);
}

.wwdm__overview-stat {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.75rem 0.5rem;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}

.wwdm__overview-stat::before,
.wwdm__overview-stat::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.wwdm__overview-stat:not(:first-child)::before {
  top: 18%;
  bottom: 18%;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--transparent-10-w) 30% 70%, transparent);
}

.wwdm__overview-name {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: var(--font-weight-5);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wwdm__overview-number {
  color: var(--text-default);
  font-size: clamp(22px, 3.4cqi, 30px);
  font-weight: var(--font-weight-7);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}

.wwdm__overview-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  z-index: -1;
  display: flex;
  transform: translateY(-50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 90%);
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 90%);
}

.wwdm__overview-icon svg {
  width: 64px;
  height: 64px;
  fill: var(--text-default);
  opacity: .06;
}

.wwdm__overview-stat:nth-child(n + 3) .wwdm__overview-icon {
  right: 10px;
  left: auto;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 35%, transparent 90%);
  mask-image: linear-gradient(270deg, #000 0%, #000 35%, transparent 90%);
}

.wwdm__rating-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr);
  align-items: start;
  gap: 1rem;
}

.wwdm__rating-main,
.wwdm__sidebar {
  min-width: 0;
}

.wwdm__sidebar,
.wwdm__filter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wwdm__sidebar > .card {
  margin: 0;
}

.wwdm__filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.wwdm__filter-form label {
  margin: 0;
}

.wwdm__sort {
  margin: 0;
}

.wwdm__sort .adaptive-select {
  grid-template-columns: 16px minmax(0, 1fr) 12px;
  justify-content: stretch;
  min-width: 0;
  padding: 0 .85rem;
  text-align: left;
}

.wwdm__sort .adaptive-select__arrow {
  margin: 0;
}

.wwdm__sort .adaptive-select__fist-icon {
  color: var(--span-ink, var(--span));
  opacity: .8;
}

.wwdm__sort .adaptive-select__fist-icon svg,
.wwdm__sort .adaptive-select__icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.wwdm__sort .adaptive-select__dropdown-list {
  top: calc(100% + 6px);
  z-index: 5;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.wwdm__sort .adaptive-select__label {
  grid-template-columns: 16px minmax(0, 1fr);
  min-height: 40px;
  padding: .65rem .8rem;
}

.wwdm__sort .adaptive-select__label:has(input:checked) .adaptive-select__icon svg {
  fill: var(--span-ink, var(--span));
}

.wwdm__filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wwdm__filter-toggle input {
  flex-shrink: 0;
  margin: 0;
}

.wwdm__filter-actions {
  display: grid;
  gap: 0.6rem;
}

.wwdm__filter-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--input-height, 36px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-s, var(--br-8));
  background: var(--button);
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-6);
  text-align: center;
  text-decoration: none;
  transition: background-color var(--dur-fast, .16s) var(--ease-out, ease), color var(--dur-fast, .16s) var(--ease-out, ease);
}

.wwdm__filter-actions button {
  background: var(--span);
  color: var(--text-default);
}

.wwdm__filter-reset:hover {
  background: var(--button-hover);
  color: var(--text-default);
}

.wwdm .wwdm__table-wrap {
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: none;
}

.wwdm__table {
  border-collapse: separate;
  border-spacing: 0 6px;
  border-radius: 0;
  overflow: visible;
  background: none;
}

.wwdm__table thead tr,
.wwdm__table tbody tr,
.wwdm__table tbody tr:hover {
  background: none;
}

.wwdm__table thead th {
  padding: .5rem 14px .15rem;
  border: 0;
  background: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: var(--font-weight-5);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.wwdm__table tbody td {
  height: 60px;
  padding: 0 14px;
  border: 0;
  background: var(--card);
  vertical-align: middle;
  white-space: nowrap;
  transition: background-color var(--dur-fast, .16s) var(--ease-out, ease);
}

.wwdm__table tbody td:first-child {
  border-radius: var(--radius-l, var(--br-16)) 0 0 var(--radius-l, var(--br-16));
}

.wwdm__table tbody td:last-child {
  border-radius: 0 var(--radius-l, var(--br-16)) var(--radius-l, var(--br-16)) 0;
}

.wwdm__table tbody tr:hover td {
  background: var(--surface-raised, var(--button-hover));
}

.wwdm__table .wwdm__row-1 td { background: color-mix(in srgb, var(--top-one) 9%, var(--card)); }
.wwdm__table .wwdm__row-2 td { background: color-mix(in srgb, var(--top-two) 7%, var(--card)); }
.wwdm__table .wwdm__row-3 td { background: color-mix(in srgb, var(--top-three) 9%, var(--card)); }
.wwdm__table .wwdm__row-1:hover td { background: color-mix(in srgb, var(--top-one) 14%, var(--card)); }
.wwdm__table .wwdm__row-2:hover td { background: color-mix(in srgb, var(--top-two) 11%, var(--card)); }
.wwdm__table .wwdm__row-3:hover td { background: color-mix(in srgb, var(--top-three) 14%, var(--card)); }

.wwdm__place {
  font-weight: var(--font-weight-7);
}

.wwdm__row-1 .wwdm__place { color: var(--top-one); }
.wwdm__row-2 .wwdm__place { color: var(--top-two); }
.wwdm__row-3 .wwdm__place { color: var(--top-three); }

.wwdm__user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wwdm__avatar {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: var(--br-50);
  outline: 2px solid var(--transparent-10-w);
}

.wwdm__online {
  position: absolute;
  top: -2px;
  left: -3px;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: var(--br-50);
  background: var(--green);
  border: 3px solid var(--input-form);
}

.wwdm__nick {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-default);
}

.wwdm__rank-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.wwdm__rank-cell img {
  height: 26px;
}

.wwdm__rank-cell span {
  color: var(--text-custom);
}

.wwdm__value {
  font-weight: var(--font-weight-7);
  color: var(--span-ink, var(--span));
}

.wwdm__pages {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 1rem;
}

.wwdm__pages .active {
  background: var(--span);
  color: var(--text-default);
}

.wwdm__recent {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.wwdm__match-scroller {
  position: relative;
  display: grid;
  grid-template-areas: "track";
  min-width: 0;
}

.wwdm__matches {
  --wwdm-map-fade: linear-gradient(90deg,
    transparent 0%,
    rgb(0 0 0 / .03) 12%,
    rgb(0 0 0 / .1) 22%,
    rgb(0 0 0 / .22) 32%,
    rgb(0 0 0 / .38) 42%,
    rgb(0 0 0 / .56) 52%,
    rgb(0 0 0 / .74) 63%,
    rgb(0 0 0 / .88) 75%,
    #000 90%);
  display: grid;
  grid-area: track;
  grid-auto-flow: column;
  grid-auto-columns: max(240px, calc((100% - 2.25rem) / 4));
  gap: 0.75rem;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
}

.wwdm__matches::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.wwdm__match-scroller.is-start .wwdm__matches {
  -webkit-mask-image: linear-gradient(90deg, #000, #000 calc(100% - 2rem), transparent);
  mask-image: linear-gradient(90deg, #000, #000 calc(100% - 2rem), transparent);
}

.wwdm__match-scroller.is-end .wwdm__matches {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2rem, #000);
  mask-image: linear-gradient(90deg, transparent, #000 2rem, #000);
}

.wwdm__match-scroller.is-start.is-end .wwdm__matches {
  -webkit-mask-image: none;
  mask-image: none;
}

.wwdm__match-nav {
  position: relative;
  z-index: 2;
  grid-area: track;
  align-self: center;
  justify-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--text-default);
  background: var(--surface-raised, var(--button-hover));
  transition: opacity var(--dur-fast, .16s) var(--ease-out, ease);
}

.wwdm__match-nav--next {
  justify-self: end;
}

.wwdm__match-nav svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.wwdm__match-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

.wwdm__match-nav[hidden] {
  display: none;
}

.wwdm__matches:focus-visible {
  outline: 2px solid var(--span-ink, var(--span));
  outline-offset: 4px;
  border-radius: var(--radius-s, var(--br-8));
}

.wwdm__match {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  min-height: 132px;
  margin: 0;
  padding: 1rem;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-l, var(--br-10));
  background-color: var(--card);
  scroll-snap-align: start;
  transition: background-color .35s var(--ease-in-out, ease);
}

.wwdm__match-art {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 80%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  -webkit-mask-image: var(--wwdm-map-fade);
  mask-image: var(--wwdm-map-fade);
  transition: opacity .35s var(--ease-in-out, ease);
}

.wwdm__match:hover {
  background-color: color-mix(in srgb, var(--card) 85%, #3a4466);
}

.wwdm__match:hover .wwdm__match-art {
  opacity: .26;
}

.wwdm__match:hover .wwdm__match-map {
  color: var(--text-default);
}

.wwdm__match-head,
.wwdm__match-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.wwdm__match-map {
  min-width: 0;
  overflow: hidden;
  color: var(--text-custom);
  font-size: 15px;
  font-weight: var(--font-weight-6);
  letter-spacing: .01em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .35s var(--ease-in-out, ease);
}

.wwdm__match-head {
  font-size: var(--font-size-s);
}

.wwdm__match-head > :last-child {
  flex-shrink: 0;
}

.wwdm__match-score {
  justify-content: center;
  gap: 0.6rem;
  margin-block: 0.1rem;
  font-size: 20px;
  font-weight: var(--font-weight-7);
  font-variant-numeric: tabular-nums;
}

.wwdm__t { color: var(--t, var(--orange)); opacity: 0.7; }
.wwdm__ct { color: var(--ct, var(--span)); opacity: 0.7; }
.wwdm__t.win,
.wwdm__ct.win { opacity: 1; }

.wwdm__ranks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.8rem;
}

.wwdm__rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.2rem 0.8rem;
  text-align: center;
}

.wwdm__rank-icon {
  height: 70px;
}

.wwdm__rank-name {
  color: var(--text-default);
  font-weight: var(--font-weight-7);
}

.wwdm__rank-meta {
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-s);
  color: var(--text-secondary);
}

.wwdm__progress {
  width: 100%;
  height: 8px;
  border-radius: var(--br-6);
  background: var(--transparent-5-w);
  overflow: hidden;
}

.wwdm__progress span {
  display: block;
  height: 100%;
  background: var(--span);
}

.wwdm__profile-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  min-height: 260px;
  padding: 6rem 2rem 1.75rem;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl, var(--br-16));
  background: var(--card);
}

.wwdm__profile-cover {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / .9) 25%, rgb(0 0 0 / .7) 42%, rgb(0 0 0 / .45) 58%, rgb(0 0 0 / .22) 74%, rgb(0 0 0 / .07) 88%, transparent);
  mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / .9) 25%, rgb(0 0 0 / .7) 42%, rgb(0 0 0 / .45) 58%, rgb(0 0 0 / .22) 74%, rgb(0 0 0 / .07) 88%, transparent);
}

.wwdm__profile-cover #background,
.wwdm__profile-cover img,
.wwdm__profile-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.wwdm__profile-cover img,
.wwdm__profile-cover video {
  opacity: .5;
}

.wwdm__profile-identity {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  gap: 1.5rem;
  min-width: 0;
}

.wwdm__profile-avatar {
  position: relative;
  flex: none;
  width: 104px;
  height: 104px;
}

.wwdm__profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl, var(--br-16));
  object-fit: cover;
  background: var(--grey);
}

.wwdm__profile-online {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 22px;
  height: 22px;
  border: 5px solid var(--card);
  border-radius: 50%;
  background: var(--green);
}

.wwdm__profile-id {
  min-width: 0;
}

.wwdm__profile-server {
  color: var(--text-custom);
  font-size: 12px;
  font-weight: var(--font-weight-5);
}

.wwdm__profile-name {
  margin: .45rem 0;
  overflow: hidden;
  color: var(--text-default);
  font-family: var(--font-family-1);
  font-size: clamp(22px, 3cqi, 32px);
  font-weight: var(--font-weight-7);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wwdm__profile-status {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  color: var(--text-custom);
  font-size: 13px;
}

.wwdm__profile-status.is-online {
  color: var(--green);
}

.wwdm__profile-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .85rem;
  flex: none;
}

.wwdm__profile-rank {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.wwdm__profile-rank img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.wwdm__profile-rank > div {
  display: grid;
  gap: .25rem;
}

.wwdm__profile-rank span {
  font-size: 12px;
}

.wwdm__profile-rank b {
  color: var(--text-default);
}

.wwdm__profile-steam {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--input-height, 36px);
  height: var(--input-height, 36px);
  border-radius: var(--radius-m, var(--br-10));
  color: var(--text-custom);
  background: var(--button);
}

.wwdm__profile-steam:hover {
  color: var(--text-default);
  background: var(--button-hover);
}

.wwdm__profile-steam svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.wwdm__profile-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.wwdm__profile-kpi {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-width: 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-l, var(--br-16));
  background: var(--card);
}

.wwdm__profile-kpi > span {
  overflow: hidden;
  color: var(--text-custom);
  font-size: 13px;
  font-weight: var(--font-weight-5);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wwdm__profile-kpi > b {
  color: var(--text-default);
  font-family: var(--font-family-1);
  font-size: 26px;
  font-weight: var(--font-weight-7);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  overflow-wrap: anywhere;
}

.wwdm__profile-kpi > .wwdm__profile-place {
  color: var(--span-ink, var(--span));
}

.wwdm__profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: start;
}

.wwdm__profile-main,
.wwdm__profile-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.wwdm__profile-card {
  min-width: 0;
  padding: 1.25rem 1.4rem 1.4rem;
  border-radius: var(--radius-xl, var(--br-16));
  background: var(--card);
}

.wwdm__profile-card > .wwdm__heading {
  margin-bottom: 1rem;
}

.wwdm__profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.wwdm__profile-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .3rem;
  min-width: 0;
  padding: .8rem .95rem;
  border-radius: var(--radius-m, var(--br-10));
  background: var(--transparent-3-w);
}

.wwdm__profile-grid dt {
  color: var(--text-custom);
  font-size: 12px;
  font-weight: var(--font-weight-5);
}

.wwdm__profile-grid dd {
  margin: 0;
  color: var(--text-default);
  font-size: 18px;
  font-weight: var(--font-weight-7);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.wwdm__profile-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.wwdm__profile-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 42px;
  padding: .5rem .85rem;
  border-radius: var(--radius-m, var(--br-10));
  background: var(--transparent-3-w);
}

.wwdm__profile-list dt {
  color: var(--text-custom);
  font-size: 13px;
  font-weight: var(--font-weight-5);
}

.wwdm__profile-list dd {
  min-width: 0;
  margin: 0;
  color: var(--text-default);
  font-size: 14px;
  font-weight: var(--font-weight-6);
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow-wrap: anywhere;
}

.wwdm__profile-money dd {
  color: var(--money-ink, var(--money));
}

.wwdm__rank-current {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.wwdm__rank-current img {
  width: 56px;
  height: 56px;
}

.wwdm__rank-current > div {
  display: grid;
  gap: .25rem;
}

.wwdm__rank-current b {
  color: var(--text-default);
}

.wwdm__rank-current span,
.wwdm__rank-next {
  color: var(--text-secondary);
  font-size: 13px;
}

.wwdm__rank-next {
  margin: .75rem 0 1rem;
}

.wwdm__used {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
}

.wwdm__used-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-m, var(--br-10));
  background: var(--transparent-3-w);
}

.wwdm__used-name {
  min-width: 0;
  color: var(--text-default);
  font-weight: var(--font-weight-6);
  overflow-wrap: anywhere;
}

.wwdm__used-item img {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.wwdm__used-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  min-width: 0;
}

.wwdm__used-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  cursor: help;
}

.wwdm__used-metric svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

.wwdm__used-metric:focus-visible {
  outline: 2px solid var(--span-ink, var(--span));
  outline-offset: 4px;
  border-radius: var(--br-4);
}

.wwdm__guide {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wwdm__guide-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.wwdm__guide-head h2 {
  margin: 0 0 .5rem;
  color: var(--text-default);
  font-family: var(--font-family-1);
  font-size: 22px;
  font-weight: var(--font-weight-7);
}

.wwdm__guide-head p {
  max-width: 40rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.wwdm__guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wwdm__guide-section {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.wwdm__guide [id] {
  scroll-margin-top: calc(var(--nav-h, 3.75rem) + 1rem);
}

.wwdm__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.wwdm__step {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-xl, var(--br-16));
  background: var(--card);
}

.wwdm__step-art {
  display: block;
  width: 100%;
  height: 170px;
  padding: 1rem;
  object-fit: contain;
  background: var(--transparent-3-w);
}

.wwdm__step-body {
  padding: 1.1rem 1.2rem 1.25rem;
}

.wwdm__step-title {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: .6rem;
  margin-bottom: .8rem;
}

.wwdm__step-title h3 {
  margin: 0;
  color: var(--text-default);
  font-size: 14px;
  font-weight: var(--font-weight-7);
}

.wwdm__step-body p {
  margin: 0;
  color: var(--text-custom);
  font-size: 13px;
  line-height: 1.65;
}

.wwdm__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-s, var(--br-8));
  color: var(--span-ink, var(--span));
  background: var(--span-low);
  font-size: 12px;
  font-weight: var(--font-weight-7);
}

.wwdm__keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.wwdm__key-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  min-width: 0;
  min-height: 72px;
  padding: .85rem 1rem;
  border-radius: var(--radius-m, var(--br-10));
  background: var(--transparent-3-w);
}

.wwdm__key-caps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}

.wwdm__step-title kbd,
.wwdm__key-row kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: .25rem .45rem;
  border-radius: var(--radius-xs, var(--br-6));
  background: var(--button);
  border: 1px solid var(--transparent-10-w);
  color: var(--text-default);
  font-family: inherit;
  font-size: 11px;
  font-weight: var(--font-weight-6);
  text-align: center;
  white-space: nowrap;
}

.wwdm__key-row span {
  color: var(--text-custom);
  font-size: 13px;
  line-height: 1.5;
}

.wwdm__ranks-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}

.wwdm__ranks-copy > .wwdm__heading {
  margin-bottom: .5rem;
}

.wwdm__ranks-info p {
  margin: 0;
  color: var(--text-custom);
  font-size: 13px;
  line-height: 1.65;
}

.wwdm__ranks-strip {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.wwdm__ranks-strip img {
  width: 44px;
  height: 52px;
  object-fit: contain;
}

.wwdm__link {
  color: var(--span-ink, var(--span));
  text-decoration: none;
  font-weight: var(--font-weight-6);
}

.wwdm__tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
}

.wwdm__tip {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: var(--radius-l, var(--br-16));
  background: var(--card);
}

.wwdm__tip img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.wwdm__tip-title {
  color: var(--text-default);
  font-size: 14px;
  font-weight: var(--font-weight-6);
}

.wwdm__tip-title:hover {
  color: var(--span-ink, var(--span));
}

.wwdm__tip p {
  margin: .4rem 0 0;
  color: var(--text-custom);
  font-size: 13px;
  line-height: 1.6;
}

.wwdm__guide-catalog {
  display: grid;
  gap: .75rem;
}

.wwdm__guide-catalog > .wwdm__guide-nav {
  flex-direction: row;
  width: 100%;
}

.wwdm__guide-catalog [role="tab"] {
  width: auto;
  gap: .5rem;
  border: 0;
}

.wwdm__guide-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 .4rem;
  border-radius: var(--radius-xs, var(--br-6));
  background: var(--transparent-5-w);
  color: var(--text-secondary);
  font-size: 12px;
}

.wwdm__vip-comparison {
  overflow: clip;
  border-radius: var(--radius-xl, var(--br-16));
  background: var(--card);
}

.wwdm__vip-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: none;
}

.wwdm__vip-table tr {
  background: none;
}

.wwdm__vip-table th,
.wwdm__vip-table td {
  height: auto;
  padding: .85rem 1.5rem;
  border: 0;
  color: var(--text-custom);
  font-size: 13px;
  font-weight: var(--font-weight-4);
  line-height: 1.5;
  text-align: center;
  white-space: normal;
}

.wwdm__vip-table thead th {
  width: 22%;
  padding: 1.5rem;
  vertical-align: top;
  opacity: 1;
  text-transform: none;
  letter-spacing: normal;
}

.wwdm__vip-table thead .wwdm__vip-caption {
  width: 34%;
  vertical-align: middle;
  text-align: left;
  background: radial-gradient(ellipse at 0 0, var(--span-low), transparent 80%);
}

.wwdm__vip-caption > span {
  color: var(--text-default);
  font-size: 17px;
  font-weight: var(--font-weight-7);
}

.wwdm__vip-caption p {
  max-width: 16rem;
  margin: .6rem 0 0;
  color: var(--text-secondary);
}

.wwdm__vip-plan--fighter {
  --wwdm-vip-accent: var(--text-secondary);
}

.wwdm__vip-plan--engineer {
  --wwdm-vip-accent: var(--span);
}

.wwdm__vip-plan--commander {
  --wwdm-vip-accent: var(--money);
}

.wwdm__vip-table .wwdm__vip-plan {
  border-left: 1px solid var(--transparent-5-w);
  background: radial-gradient(ellipse at 100% 0, color-mix(in srgb, var(--wwdm-vip-accent) 18%, transparent), transparent 75%),
    linear-gradient(180deg, color-mix(in srgb, var(--wwdm-vip-accent) 5%, transparent), transparent);
  text-align: left;
}

.wwdm__vip-plan img {
  float: right;
  width: 88px;
  height: 72px;
  margin: -.25rem 0 .5rem .5rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px var(--transparent-20-b));
}

.wwdm__vip-tag {
  display: inline-flex;
  padding: .25rem .5rem;
  border: 1px solid color-mix(in srgb, var(--wwdm-vip-accent) 16%, transparent);
  border-radius: var(--radius-xs, var(--br-6));
  background: color-mix(in srgb, var(--wwdm-vip-accent) 8%, transparent);
  color: var(--wwdm-vip-accent);
  font-size: 10px;
  font-weight: var(--font-weight-7);
  letter-spacing: .08em;
}

.wwdm__vip-plan h3 {
  clear: both;
  margin: .5rem 0 .4rem;
  color: var(--text-default);
  font-family: var(--font-family-1);
  font-size: 20px;
  font-weight: var(--font-weight-7);
}

.wwdm__vip-plan p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.6;
}

.wwdm__vip-table .wwdm__vip-group th {
  padding-block: .85rem;
  border-block: 1px solid var(--transparent-5-w);
  background: linear-gradient(90deg, var(--span-low), transparent 70%);
  color: var(--text-default);
  font-weight: var(--font-weight-7);
  text-align: left;
}

.wwdm__vip-group th > span {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.wwdm__vip-group svg {
  width: 16px;
  height: 16px;
  fill: var(--span-ink, var(--span));
}

.wwdm__vip-table .wwdm__vip-row th {
  text-align: left;
}

.wwdm__vip-table .wwdm__vip-row:nth-child(even) {
  background: var(--transparent-2-w);
}

.wwdm__vip-table .wwdm__vip-row td {
  color: var(--text-default);
  font-weight: var(--font-weight-6);
  font-variant-numeric: tabular-nums;
}

.wwdm__vip-row td + td {
  border-left: 1px solid var(--transparent-3-w);
}

.wwdm__vip-row td:last-child {
  background: color-mix(in srgb, var(--money) 3%, transparent);
}

.wwdm__vip-check {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  fill: var(--green);
}

.wwdm__vip-none {
  color: var(--text-secondary);
}

.wwdm__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.wwdm__item {
  overflow: hidden;
  padding: 0;
}

.wwdm__item-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: radial-gradient(circle at 50% 60%, var(--transparent-5-w), transparent 70%);
}

.wwdm__item-art img {
  max-height: 120px;
  max-width: 90%;
  object-fit: contain;
}

.wwdm__item-body {
  padding: 0.9rem 1rem 1rem;
}

.wwdm__item-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-default);
}

.wwdm__item-title img {
  width: 22px;
  height: 22px;
}

.wwdm__item-body p {
  margin: 0.4rem 0 0;
  color: var(--text-secondary);
  font-size: var(--font-size-s);
}

@container wwdm (max-width: 1100px) {
  .wwdm__steps,
  .wwdm__keys {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container wwdm (max-width: 960px) {
  .wwdm__rating-layout,
  .wwdm__profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wwdm__sidebar {
    grid-row: 1;
  }

  .wwdm__profile-hero {
    flex-wrap: wrap;
    padding-inline: 1.5rem;
  }

  .wwdm__profile-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .wwdm__profile-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wwdm__vip-table th,
  .wwdm__vip-table td,
  .wwdm__vip-table thead th {
    padding-inline: 1rem;
  }

  .wwdm__vip-plan img {
    display: block;
    float: none;
    width: 64px;
    height: 64px;
    margin: 0 auto .5rem;
  }

  .wwdm__vip-table .wwdm__vip-plan {
    text-align: center;
  }

  .wwdm__vip-plan h3 {
    font-size: clamp(12px, 2cqi, 17px);
  }

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

  .wwdm__ranks-info > .wwdm__link {
    grid-column: 2;
  }
}

@container wwdm (max-width: 600px) {
  .wwdm__vip-table,
  .wwdm__vip-table thead,
  .wwdm__vip-table tbody {
    display: block;
  }

  .wwdm__vip-table thead tr,
  .wwdm__vip-table .wwdm__vip-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wwdm__vip-table thead .wwdm__vip-caption {
    display: none;
  }

  .wwdm__vip-table thead .wwdm__vip-plan {
    width: auto;
    min-width: 0;
    padding: 1rem .35rem;
    text-align: center;
  }

  .wwdm__vip-plan img {
    display: block;
    float: none;
    width: 52px;
    height: 48px;
    margin: 0 auto .5rem;
  }

  .wwdm__vip-plan h3 {
    margin-bottom: 0;
    font-size: clamp(11px, 3.8cqi, 14px);
  }

  .wwdm__vip-plan p {
    display: none;
  }

  .wwdm__vip-table .wwdm__vip-group {
    display: block !important;
  }

  .wwdm__vip-table .wwdm__vip-group th {
    display: block;
  }

  .wwdm__vip-table .wwdm__vip-row th {
    grid-column: 1 / -1;
    padding: .75rem 1rem .25rem;
    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
  }

  .wwdm__vip-table .wwdm__vip-row td {
    padding: .25rem .5rem .75rem;
  }

  .wwdm__overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.5rem;
  }

  .wwdm__overview-stat:nth-child(odd)::before {
    display: none;
  }

  .wwdm__overview-stat:nth-child(n + 3)::after {
    top: 0;
    right: 12%;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--transparent-10-w) 30% 70%, transparent);
  }

  .wwdm__overview-icon svg {
    width: 48px;
    height: 48px;
  }

  .wwdm__hero {
    min-height: 260px;
    padding: 1.25rem;
  }

  .wwdm__hero-art {
    width: 100%;
    opacity: 0.2;
  }

  .wwdm__hero-text {
    max-width: 100%;
  }

  .wwdm__profile-hero {
    gap: 1rem;
    min-height: 0;
    padding: 4.5rem 1.1rem 1.1rem;
  }

  .wwdm__profile-identity {
    gap: 1rem;
  }

  .wwdm__profile-avatar {
    width: 72px;
    height: 72px;
  }

  .wwdm__profile-avatar img {
    border-radius: var(--radius-l, var(--br-16));
  }

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

  .wwdm__profile-kpi:last-child {
    grid-column: 1 / -1;
  }

  .wwdm__profile-card {
    padding: 1.25rem;
  }

  .wwdm__steps,
  .wwdm__keys,
  .wwdm__tips {
    grid-template-columns: minmax(0, 1fr);
  }

  .wwdm__tip {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .75rem;
  }

  .wwdm__tip img {
    width: 48px;
    height: 48px;
  }

  .wwdm__ranks-info {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .wwdm__ranks-info > .wwdm__link {
    grid-column: auto;
  }
}
