/* Community presentation only. The shared header, footer and account flow stay intact. */
body[data-page="community"] {
  color-scheme: dark;
}
.community-page {
  --com-bg: #080f1c;
  --com-panel: #101b2d;
  --com-text: #f2f5ff;
  --com-muted: #b6c7df;
  --com-cyan: var(--brand-cyan, #36e3fb);
  --com-ease: cubic-bezier(0.23, 1, 0.32, 1);
  color: var(--com-text);
}
.com-wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(22px, 4.8vw, 72px);
  box-sizing: border-box;
}
.com-section {
  padding-block: 88px;
}
.com-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #070e18;
}
.com-hero-picture,
.com-hero-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.com-hero-picture img {
  object-position: 60% center;
}
.com-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #070d19e8, #070d1980 45%, #070d1910),
    linear-gradient(0deg, #080f1cf0, transparent 24%);
  z-index: 0;
  pointer-events: none;
}
.com-hero-inner {
  position: relative;
  z-index: 1;
  min-height: min(740px, calc(100svh - 72px));
  display: flex;
  align-items: center;
  padding-block: 80px;
}
.com-hero-copy {
  max-width: 620px;
}
body[data-page="community"] #community-title {
  margin: 0;
  font:
    800 clamp(44px, 5.8vw, 82px)/1.02 "Barlow Condensed",
    "DM Sans",
    sans-serif;
  letter-spacing: -0.015em;
  color: #f4f8ff;
}
#community-title span {
  display: block;
}
body[data-page="community"] #community-title span {
  color: #f4f8ff;
}
body[data-page="community"] #community-title span:last-child {
  color: #86e8ff;
}
.community-page p {
  color: var(--com-muted);
  font-size: 17px;
  line-height: 1.7;
}
.com-hero-copy > p {
  max-width: 510px;
  margin: 26px 0 32px;
  font-size: 19px;
}
.com-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 54px;
  padding: 15px 24px;
  border: 1px solid #98def377;
  border-radius: 10px;
  background: linear-gradient(110deg, #6ce8f8, #a9b5fb 65%, #dca7ef);
  color: #081325;
  font:
    700 16px/1.5 "DM Sans",
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.com-primary span {
  font-size: 23px;
  line-height: 1;
}
.community-page .com-image-credit {
  position: absolute;
  bottom: 18px;
  right: clamp(22px, 4.8vw, 72px);
  margin: 0;
  color: #c2cee0;
  font-size: 13px;
  line-height: 1.4;
}
.com-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}
.community-page h2 {
  font:
    700 clamp(30px, 3.3vw, 46px)/1.13 "DM Sans",
    sans-serif;
  letter-spacing: -0.035em;
  color: var(--com-text);
  margin: 0;
}
.com-section-heading p {
  margin: 16px 0 0;
  max-width: 530px;
}
.com-section-heading > p {
  max-width: 270px;
  font-size: 16px;
}
.com-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.com-group {
  min-width: 0;
  position: relative;
  isolation: isolate;
  min-height: 620px;
  border: 1px solid #527e9b50;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: end;
  background: #091b22;
}
.com-group-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.com-group::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    #07121cfb 8%,
    #07121ce8 45%,
    #07121c12 100%
  );
  z-index: -1;
}
.com-group-dota {
  border-color: #8d68b960;
  background: #131222;
}
.com-group-dota::after {
  background: linear-gradient(
    0deg,
    #101124fc 8%,
    #101124e8 45%,
    #10112410 100%
  );
}
.com-group-content {
  padding: 36px;
  width: 100%;
}
.com-group-content h3 {
  font:
    700 clamp(28px, 2.5vw, 36px)/1.15 "DM Sans",
    sans-serif;
  color: #f5f8ff;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  max-width: 440px;
}
.com-group-content p {
  margin: 0 0 26px;
  font-size: 17px;
  max-width: 530px;
}
.community-page .com-group-caption {
  position: absolute;
  top: 24px;
  left: 28px;
  right: 28px;
  margin: 0;
  font-size: 14px;
  color: #e5efff;
}
.com-group-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.com-group-official .com-primary {
  background: #9debc8;
  border-color: #9debc8;
}
.com-qr-button {
  font:
    600 15px/1.5 "DM Sans",
    sans-serif;
  color: #c1e9fa;
  background: transparent;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.com-qr-button[hidden] {
  display: none;
}
.com-events-band {
  background: #0e1727;
}
.com-text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  font:
    600 16px/1.5 "DM Sans",
    sans-serif;
  color: #8fe6fc;
  text-decoration: none;
}
.com-event-list {
  display: grid;
  gap: 16px;
}
.com-event {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(180px, 0.65fr) auto;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid #647b9e45;
}
.com-event img {
  width: 132px;
  height: 92px;
  object-fit: cover;
  border-radius: 9px;
}
.com-event h3 {
  margin: 6px 0;
  font-size: 21px;
  line-height: 1.3;
  color: #f2f5ff;
  overflow-wrap: anywhere;
}
.community-page .com-event-game {
  font-size: 14px;
  color: #9ab7d8;
  margin: 0;
}
.community-page .com-event-state {
  font-size: 14px;
  color: #92e3c7;
  margin: 0;
}
.com-event time {
  color: #c7d7ed;
  font-size: 16px;
  line-height: 1.6;
}
.com-event-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  background: #1b3448;
  color: #a8edff;
  border: 1px solid #5083a462;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.com-empty {
  padding: 32px;
  border: 1px solid #7188aa3d;
  background: #111e30;
  border-radius: 16px;
}
.com-empty h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.4;
  color: #edf4ff;
}
.com-empty p {
  margin: 0;
  max-width: 620px;
}
.com-loading {
  margin: 0;
  padding-block: 24px;
}
.com-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.com-photo {
  grid-column: span 5;
  margin: 0;
  min-width: 0;
  min-height: 240px;
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}
.com-photo:first-child {
  grid-column: span 7;
  grid-row: span 2;
}
.com-photo:nth-child(n + 4) {
  grid-column: span 6;
  min-height: 310px;
}
.com-photo-link {
  display: block;
  position: relative;
  height: 100%;
  color: #fff;
}
.com-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.com-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 48px 22px 22px;
  background: linear-gradient(0deg, #030914dd, transparent);
  color: #f4f7ff;
  font-size: 16px;
  line-height: 1.4;
}
.com-fame-band {
  background: linear-gradient(110deg, #0e1727, #15172d);
}
.com-fame {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.com-fame > div:first-child > p {
  margin: 22px 0;
  max-width: 420px;
  font-size: 20px;
}
.com-champion {
  padding: 24px;
  border-bottom: 1px solid #687c9a45;
}
.com-champion h3 {
  font-size: 27px;
  color: #f1d28d;
  line-height: 1.3;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.com-champion p {
  margin: 6px 0;
}
.community-page .com-champion-label {
  color: #e6c37f;
  font-size: 14px;
}
.com-close {
  padding-block: 80px;
  margin-block: 88px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #091223;
}
.com-close img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: -2;
  opacity: 0.5;
}
.com-close::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08101ef0, #08101ea0);
  z-index: -1;
}
.com-close > div {
  max-width: 720px;
}
.com-close h2 {
  font-family: "Barlow Condensed", "DM Sans", sans-serif;
  font-size: clamp(36px, 4.2vw, 58px);
  letter-spacing: 0;
}
.com-close p {
  max-width: 570px;
  margin: 24px 0 30px;
}
.community-page :focus-visible {
  outline: 3px solid #79e8ff;
  outline-offset: 5px;
}
.com-dialog {
  color: #edf5ff;
  background: #0b1525;
  border: 1px solid #7893bd66;
  border-radius: 18px;
  padding: 24px;
  width: min(1200px, calc(100% - 28px));
  max-width: 1200px;
  max-height: 94dvh;
}
.com-dialog::backdrop {
  background: #030712da;
  backdrop-filter: blur(7px);
}
.com-dialog-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  margin: 0 0 16px auto;
  border: 1px solid #6f85a755;
  border-radius: 50%;
  color: #e4f3ff;
  background: #17263b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.com-photo-dialog figure {
  margin: 0;
}
.com-photo-dialog img {
  display: block;
  width: 100%;
  height: 66dvh;
  object-fit: contain;
}
.com-photo-dialog figcaption {
  text-align: center;
  font-size: 17px;
  padding: 20px 0 0;
  color: #d2e0f2;
}
.com-photo-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
}
.com-photo-controls button {
  width: 48px;
  height: 48px;
  border: 0;
  color: #c0eeff;
  background: transparent;
  font-size: 27px;
  cursor: pointer;
}
.com-qr-dialog {
  width: min(460px, calc(100% - 28px));
  max-width: 460px;
  text-align: center;
  padding: 28px;
}
.com-qr-dialog h2 {
  font-size: 25px;
  line-height: 1.3;
  margin: 0 0 24px;
}
.com-qr-dialog > img {
  display: block;
  width: min(280px, 100%);
  height: auto;
  margin: auto;
  border-radius: 8px;
}
.com-qr-dialog p {
  font-size: 16px;
  margin: 22px 0 10px;
}
@media (max-width: 1050px) {
  .com-group-content {
    padding: 28px;
  }
  .com-group {
    min-height: 600px;
  }
  .com-event {
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: 20px;
  }
  .com-event time {
    grid-column: 2;
  }
  .com-event-action {
    grid-column: 3;
    grid-row: 1/3;
  }
  .com-event img {
    width: 112px;
    grid-row: 1/3;
  }
  .com-fame {
    gap: 36px;
  }
}
@media (max-width: 800px) {
  .com-hero-inner {
    min-height: 650px;
  }
  .com-section {
    padding-block: 60px;
  }
  .com-section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .com-section-heading > p {
    max-width: none;
  }
  .com-group-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .com-group {
    min-height: 560px;
  }
  .com-group-content h3 {
    max-width: 510px;
  }
  .com-fame {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .com-close {
    margin-block: 60px;
  }
}
@media (max-width: 700px) {
  .com-qr-button {
    display: none;
  }
  .com-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .com-photo,
  .com-photo:nth-child(n + 4) {
    grid-column: span 1;
    grid-row: auto;
    min-height: 220px;
  }
  .com-photo:first-child {
    grid-column: span 2;
    grid-row: auto;
    min-height: 290px;
  }
  .com-photo figcaption {
    padding: 40px 16px 16px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .com-hero-inner {
    min-height: 640px;
    padding-block: 70px;
  }
  .com-hero-picture img {
    object-position: 63% center;
  }
  .com-hero::after {
    background:
      linear-gradient(90deg, #070d19e0, #070d1970),
      linear-gradient(0deg, #080f1cf0, transparent);
  }
  .com-hero-copy > p {
    font-size: 18px;
    margin-block: 24px 28px;
  }
  .com-primary {
    width: 100%;
    padding-inline: 18px;
    gap: 16px;
  }
  .community-page .com-image-credit {
    left: 22px;
    right: 22px;
    font-size: 13px;
  }
  .com-group {
    min-height: 580px;
  }
  .com-group-content {
    padding: 26px 22px;
  }
  .com-group-content h3 {
    font-size: 29px;
  }
  .com-group-actions .com-primary {
    font-size: 15px;
  }
  .com-event {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }
  .com-event img {
    width: 88px;
    height: 88px;
    grid-row: 1;
  }
  .com-event h3 {
    font-size: 19px;
  }
  .com-event time {
    grid-column: 1/-1;
  }
  .com-event-action {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .com-empty {
    padding: 24px;
  }
  .com-empty h3 {
    font-size: 21px;
  }
  .com-gallery {
    grid-template-columns: 1fr;
  }
  .com-photo,
  .com-photo:first-child,
  .com-photo:nth-child(n + 4) {
    grid-column: 1;
    min-height: 260px;
  }
  .com-dialog {
    padding: 16px;
  }
  .com-photo-dialog img {
    height: 58dvh;
  }
  .com-photo-dialog figcaption {
    font-size: 16px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .com-primary:hover {
    color: #081325;
    filter: brightness(1.07);
  }
  .com-text-link:hover,
  .com-qr-button:hover {
    color: #fff;
  }
  .com-event-action:hover {
    background: #26485f;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .com-primary,
  .com-event-action {
    transition:
      transform 140ms var(--com-ease),
      filter 160ms ease,
      background-color 160ms ease;
  }
  .com-primary:active,
  .com-event-action:active {
    transform: scale(0.985);
  }
  .com-photo img {
    transition: transform 250ms var(--com-ease);
  }
  .com-enter {
    animation: com-enter 240ms var(--com-ease) both;
  }
  .com-hero-picture img {
    animation: com-drift 16s ease-in-out 2 alternate;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .com-photo-link:hover img {
    transform: scale(1.025);
  }
}
@keyframes com-enter {
  from {
    opacity: 0.35;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes com-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.025);
  }
}
@media (forced-colors: active) {
  .com-group,
  .com-empty,
  .com-primary,
  .com-dialog {
    border: 1px solid CanvasText;
  }
}
