:root {
  --background: #1f2128;
  --surface: #242731;
  --panel-dark: #1f2128;
  --panel-border: #36383e;
  --accent-soft: #ff9047;
}

body {
  background: var(--background);
}

.hc-shell {
  display: grid;
  width: min(1352px, calc(100% - 88px));
  margin: 0 auto;
  padding-top: 104px;
  grid-template-columns: 306px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.hc-sidebar {
  position: sticky;
  top: 104px;
  display: flex;
  width: 306px;
  height: 751px;
  padding: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  flex-direction: column;
}

.hc-recommend {
  display: flex;
  height: 24px;
  padding: 0;
  color: var(--muted);
  align-items: center;
  gap: 13px;
  font-size: 16px;
  line-height: 24px;
}

.hc-recommend-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 4px;
  background:
    linear-gradient(var(--muted), var(--muted)) 1px 1px / 6px 6px no-repeat,
    linear-gradient(var(--muted), var(--muted)) 11px 1px / 6px 6px no-repeat,
    linear-gradient(var(--muted), var(--muted)) 1px 11px / 6px 6px no-repeat,
    linear-gradient(var(--muted), var(--muted)) 11px 11px / 6px 6px no-repeat;
  opacity: .8;
}

.hc-recommend:hover {
  color: var(--foreground);
}

.hc-quick-actions {
  display: flex;
  height: 56px;
  margin-top: 15px;
  justify-content: space-between;
  gap: 8px;
}

.hc-quick-action {
  display: flex;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms ease;
}

.hc-quick-action img {
  display: block;
  width: 24px;
  height: 24px;
}

.hc-quick-action:hover {
  background: rgba(255, 255, 255, .08);
}

.hc-member-nav {
  display: flex;
  margin: 61px -16px 0;
  flex-direction: column;
}

.hc-member-link {
  display: flex;
  width: 306px;
  height: 56px;
  padding: 0 0 0 33px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  align-items: center;
  gap: 17px;
  cursor: pointer;
  font-size: 16px;
  line-height: 20px;
  text-align: left;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.hc-member-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
  opacity: .72;
  object-fit: contain;
}

.hc-member-icon--vip {
  opacity: .9;
}

.hc-member-link:hover {
  background: rgba(255, 255, 255, .04);
  color: var(--foreground);
}

.hc-member-link.is-current {
  background: linear-gradient(90deg, rgba(255, 87, 34, .13) 0%, rgba(255, 87, 34, .02) 100%);
  color: var(--accent);
}

.hc-member-link.is-current .hc-member-icon {
  opacity: 1;
  filter: invert(47%) sepia(96%) saturate(2432%) hue-rotate(352deg) brightness(102%) contrast(101%);
}

.hc-main {
  display: flex;
  min-width: 0;
  min-height: 751px;
  padding-bottom: 72px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  flex-direction: column;
}

.hc-body {
  display: grid;
  grid-template-columns: 360px minmax(0, 570px);
  align-items: start;
  gap: 42px;
  padding-right: 48px;
}

.hc-left-column {
  min-width: 0;
}

.hc-hero {
  position: relative;
  height: 187px;
  padding: 23px 40px 0;
}

.hc-hero h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.hc-hero-title {
  margin: 36px 0 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: .01em;
}

.hc-hero-subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.hc-hero-service {
  position: absolute;
  top: 72px;
  left: 248px;
  display: grid;
  width: 92px;
  justify-items: center;
  gap: 8px;
  color: var(--accent-soft);
}

.hc-service-mark {
  display: flex;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 144, 71, .45);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 144, 71, .22), rgba(255, 87, 34, .04) 70%);
  align-items: center;
  justify-content: center;
}

.hc-service-label {
  color: var(--muted);
  font-size: 14px;
  line-height: 18px;
}

.hc-categories {
  display: flex;
  padding: 0;
  flex-direction: column;
}

.hc-category {
  display: grid;
  width: 360px;
  height: 64px;
  margin: 0 0 16px;
  padding: 0 24px 0 48px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--foreground);
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  column-gap: 28px;
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease;
}

.hc-category:last-child {
  margin-bottom: 0;
}

.hc-category:hover {
  background: rgba(255, 255, 255, .03);
}

.hc-category.is-active {
  background: var(--panel-dark);
}

.hc-category-icon {
  display: flex;
  width: 40px;
  height: 40px;
  color: #808191;
  align-items: center;
  justify-content: center;
}

.hc-category.is-active .hc-category-icon {
  color: var(--accent);
}

.hc-category-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.hc-category-copy strong {
  display: block;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-category-copy span {
  display: block;
  overflow: hidden;
  color: #808191;
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-category.is-active .hc-category-copy span {
  color: var(--muted);
}

.hc-panels {
  min-width: 0;
  width: 570px;
  max-width: 100%;
}

.hc-panel[hidden] {
  display: none;
}

.hc-panel--game {
  padding-top: 41px;
}

.hc-panel--support {
  padding-top: 75px;
}

.hc-panel--feedback {
  padding-top: 40px;
}

.hc-panel--contact {
  padding-top: 41px;
}

.hc-tabs {
  display: flex;
  height: 32px;
  align-items: center;
  gap: 12px;
}

.hc-tab {
  height: 32px;
  padding: 0 15px;
  border: 0;
  border-radius: 16px;
  background: rgba(223, 223, 223, .08);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  line-height: 32px;
}

.hc-tab.is-active {
  background: linear-gradient(135deg, #ff9047 0%, #ff5722 100%);
  color: var(--foreground);
}

.hc-faq-list {
  margin-top: 40px;
}

.hc-faq-item {
  margin: 0;
}

.hc-faq-heading {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.hc-faq-trigger {
  display: flex;
  width: 100%;
  min-height: 59px;
  padding: 16px 0 16px 32px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .9);
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
}

.hc-faq-trigger > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.hc-faq-trigger:hover {
  color: var(--foreground);
}

.hc-faq-chevron {
  display: block;
  width: 7px;
  height: 7px;
  margin-right: 2px;
  flex: none;
  border-right: 1.5px solid #808191;
  border-bottom: 1.5px solid #808191;
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}

.hc-faq-trigger[aria-expanded="true"] .hc-faq-chevron {
  transform: rotate(45deg);
}

.hc-faq-body {
  padding: 0 32px 22px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 25px;
}

.hc-faq-body p {
  margin: 0;
}

.hc-faq-body p + p {
  margin-top: 6px;
}

.hc-faq-missing {
  color: #808191;
}

.hc-faq-list--support {
  margin-top: 0;
  padding: 0 16px 0 24px;
}

.hc-faq-list--support .hc-faq-trigger {
  padding-left: 56px;
}

.hc-faq-list--support .hc-faq-body {
  padding-right: 24px;
  padding-left: 56px;
}

.hc-form-heading {
  display: flex;
  height: 22px;
  align-items: center;
  gap: 19px;
}

.hc-form-heading h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.hc-form-heading span {
  color: var(--accent);
  font-size: 14px;
  line-height: 20px;
}

.hc-chips {
  display: flex;
  margin-top: 15px;
  flex-wrap: wrap;
  gap: 16px;
}

.hc-chip {
  height: 32px;
  padding: 0 15px;
  border: 0;
  border-radius: 16px;
  background: rgba(223, 223, 223, .08);
  color: #808191;
  cursor: pointer;
  font-size: 14px;
  line-height: 32px;
  transition: background 160ms ease, color 160ms ease;
}

.hc-chip:hover {
  color: var(--foreground);
}

.hc-chip.is-active {
  background: linear-gradient(135deg, #ff9047 0%, #ff5722 100%);
  color: var(--foreground);
}

.hc-field-label {
  display: block;
  margin-top: 40px;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 22px;
}

.hc-textarea-wrap {
  position: relative;
  margin-top: 17px;
}

.hc-textarea {
  display: block;
  width: 100%;
  height: 238px;
  padding: 14px 16px 34px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  outline: 0;
  background: rgba(31, 33, 40, .55);
  color: rgba(255, 255, 255, .9);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 24px;
  resize: none;
}

.hc-textarea::placeholder {
  color: #808191;
}

.hc-textarea:focus {
  border-color: rgba(255, 87, 34, .6);
}

.hc-char-count {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #808191;
  font-size: 12px;
  line-height: 16px;
  pointer-events: none;
}

.hc-upload-row {
  position: relative;
  display: flex;
  width: 100%;
  height: 56px;
  margin-top: 76px;
  align-items: flex-start;
  gap: 18px;
}

.hc-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hc-upload-button {
  display: flex;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px dashed #4a4c55;
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hc-upload-button:hover {
  border-color: var(--accent);
}

.hc-upload-plus {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.hc-upload-plus::before,
.hc-upload-plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #808191;
  content: "";
  transform: translate(-50%, -50%);
}

.hc-upload-plus::before {
  width: 16px;
  height: 1px;
}

.hc-upload-plus::after {
  width: 1px;
  height: 16px;
}

.hc-upload-count {
  display: block;
  margin-top: 30px;
  color: #808191;
  font-size: 14px;
  line-height: 20px;
}

.hc-upload-previews {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.hc-upload-preview {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  object-fit: cover;
}

.hc-submit {
  display: flex;
  width: 352px;
  height: 48px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff9047 0%, var(--accent) 100%);
  color: var(--foreground);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  transition: filter 160ms ease;
}

.hc-submit:hover:not(:disabled) {
  filter: brightness(1.08);
}

.hc-submit:disabled {
  background: rgba(255, 150, 38, .5);
  color: rgba(255, 255, 255, .7);
  cursor: default;
}

.hc-contact-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.hc-contact-block {
  margin-top: 22px;
}

.hc-contact-row {
  display: flex;
  min-height: 41px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hc-contact-row + .hc-contact-row {
  margin-top: 61px;
}

.hc-contact-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.hc-contact-label {
  display: block;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 22px;
}

.hc-contact-value {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 16px;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-copy-button {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background: transparent;
  color: #808191;
  cursor: pointer;
  flex: none;
  font-size: 12px;
  line-height: 16px;
  transition: border-color 160ms ease, color 160ms ease;
}

.hc-copy-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hc-contact-block--partner {
  margin-top: 70px;
}

.hc-contact-block--partner h3 {
  margin: 0 0 26px;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.hc-contact-block--partner .hc-contact-row {
  margin-top: 0;
}

.hc-footer {
  padding: 72px 0 48px;
  color: var(--muted);
}

.hc-footer-statement {
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 14px;
  line-height: 21px;
  text-align: center;
}

.hc-regulators {
  display: flex;
  margin-top: 40px;
  padding: 0 15.3% 0 18.7%;
  justify-content: space-between;
  align-items: flex-start;
}

.hc-regulator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hc-regulator img {
  display: block;
  width: 195px;
  height: 61px;
  object-fit: contain;
}

.hc-regulator:last-child img {
  width: 196px;
}

.hc-regulator-copy {
  display: grid;
  width: 180px;
  margin-top: 8px;
  gap: 0;
  text-align: center;
}

.hc-regulator-copy strong,
.hc-regulator-copy span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.hc-regulator-copy strong {
  color: var(--muted);
}

.hc-regulator-copy span {
  color: #808191;
}

.hc-copyright {
  margin: 46px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 21px;
  text-align: center;
}

@media (max-width: 1240px) {
  .hc-shell {
    width: calc(100% - 48px);
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
  }

  .hc-sidebar {
    width: 280px;
    padding: 14px;
  }

  .hc-recommend {
    font-size: 15px;
  }

  .hc-quick-action {
    width: 52px;
    height: 52px;
  }

  .hc-member-nav {
    margin-right: -14px;
    margin-left: -14px;
  }

  .hc-member-link {
    width: 280px;
    padding-left: 29px;
    gap: 14px;
    font-size: 15px;
  }

  .hc-body {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    padding-right: 32px;
  }

  .hc-hero {
    padding-left: 32px;
  }

  .hc-hero-service {
    left: 220px;
  }

  .hc-category {
    width: 320px;
    padding-left: 32px;
    column-gap: 20px;
  }

  .hc-panels {
    width: 100%;
  }

  .hc-faq-list--support {
    padding-right: 0;
    padding-left: 12px;
  }

  .hc-faq-list--support .hc-faq-trigger {
    padding-left: 72px;
  }

  .hc-faq-list--support .hc-faq-body {
    padding-left: 54px;
  }

  .hc-regulators {
    padding-right: 8%;
    padding-left: 10%;
  }
}

@media (max-width: 980px) {
  .hc-shell {
    display: block;
    width: calc(100% - 32px);
    padding-top: 96px;
  }

  .hc-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
  }

  .hc-quick-actions {
    justify-content: flex-start;
  }

  .hc-member-nav {
    margin: 24px -14px 0;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hc-member-link {
    width: 50%;
  }

  .hc-main {
    min-height: 0;
    padding-bottom: 48px;
  }

  .hc-body {
    display: block;
    padding: 0 24px;
  }

  .hc-hero {
    height: auto;
    padding: 32px 8px 24px;
  }

  .hc-hero-service {
    top: 108px;
    left: auto;
    right: 8px;
  }

  .hc-categories {
    margin-bottom: 28px;
  }

  .hc-category {
    width: 100%;
    padding-left: 24px;
  }

  .hc-panels {
    width: 100%;
  }

  .hc-panel--game {
    padding-top: 0;
  }

  .hc-panel--support {
    padding-top: 0;
  }

  .hc-panel--feedback {
    padding-top: 12px;
  }

  .hc-panel--contact {
    padding-top: 12px;
  }

  .hc-faq-list {
    margin-top: 24px;
  }

  .hc-faq-list--support {
    margin-top: 0;
    padding: 0;
  }

  .hc-faq-list--support .hc-faq-trigger {
    padding-left: 32px;
  }

  .hc-faq-list--support .hc-faq-body {
    padding-left: 32px;
  }

  .hc-contact-row + .hc-contact-row {
    margin-top: 32px;
  }

  .hc-contact-block--partner {
    margin-top: 40px;
  }

  .hc-footer {
    padding-top: 48px;
  }

  .hc-regulators {
    padding: 0 24px;
  }
}

@media (max-width: 620px) {
  .hc-hero-service {
    display: none;
  }

  .hc-form-heading {
    gap: 12px;
  }

  .hc-chips {
    gap: 12px;
  }

  .hc-textarea {
    height: 220px;
  }

  .hc-upload-row {
    margin-top: 32px;
  }

  .hc-submit {
    width: 100%;
  }

  .hc-contact-value {
    white-space: normal;
    word-break: break-all;
  }

  .hc-regulators {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
}
