.root-game-support-nav-item {
  position: relative;
  margin: 4px 6px 5px;
  padding: 9px 10px;
  overflow: hidden;
  color: #073c31;
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 212, 119, 0.55), transparent 48%),
    linear-gradient(135deg, #fff6cf, #e2efd8);
  border: 1px solid rgba(174, 125, 24, 0.42);
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(7, 43, 35, 0.12), inset 3px 0 0 #d5a72f;
  cursor: pointer;
}

.root-game-support-nav-item:is(:hover, :focus-visible) {
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 212, 119, 0.72), transparent 50%),
    linear-gradient(135deg, #ffecaa, #d6eacb);
  border-color: rgba(174, 125, 24, 0.62);
  box-shadow: 0 10px 22px rgba(7, 43, 35, 0.17), inset 3px 0 0 #c99528;
}

.root-game-support-nav-item > i {
  color: #fffaf0;
  background: linear-gradient(145deg, #2b765c, #0b493b);
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow: 0 5px 12px rgba(7, 43, 35, 0.2);
}

.root-game-support-nav-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.root-game-support-nav-copy > span {
  font-weight: 850;
}

.root-game-support-nav-copy > small {
  width: fit-content;
  padding: 2px 6px;
  color: #6d4600;
  background: rgba(247, 212, 119, 0.62);
  border: 1px solid rgba(174, 125, 24, 0.28);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: normal;
}

.root-game-support-window {
  width: min(960px, calc(100% - 28px));
  max-height: min(760px, calc(100% - 28px));
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: 18px;
}

.root-game-support-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  background:
    radial-gradient(circle at 94% 8%, rgba(232, 191, 85, 0.14), transparent 30%),
    linear-gradient(150deg, #f7f0df, #edf3e3 70%, #e3ecda);
  scrollbar-width: thin;
}

.root-game-support-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(49, 94, 62, 0.18);
  border-radius: 16px;
  padding: 15px 17px;
  background:
    linear-gradient(112deg, rgba(255, 253, 244, 0.97), rgba(236, 243, 220, 0.96)),
    #fffdf5;
  box-shadow: 0 12px 30px rgba(26, 68, 47, 0.1);
}

.root-game-support-hero::after {
  position: absolute;
  right: -42px;
  bottom: -66px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(79, 126, 66, 0.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.root-game-support-hero-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(183, 130, 35, 0.32);
  border-radius: 17px;
  background: linear-gradient(145deg, #fff5c7, #e9cb72);
  color: #21543e;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.58), 0 9px 19px rgba(101, 76, 25, 0.15);
  font-size: 30px;
}

.root-game-support-hero > div {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.root-game-support-hero small,
.root-game-support-section-heading small {
  display: block;
  color: #9f6720;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.root-game-support-hero h2 {
  margin: 3px 0 5px;
  color: var(--forest, #173f32);
  font: 700 clamp(21px, 3vw, 30px)/1.03 Georgia, "Times New Roman", serif;
}

.root-game-support-hero p {
  max-width: 760px;
  margin: 0;
  color: #53695c;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.root-game-support-state {
  display: grid;
  max-width: 620px;
  justify-items: center;
  gap: 8px;
  margin: 14px auto 0;
  border: 1px solid rgba(39, 86, 57, 0.18);
  border-radius: 16px;
  padding: 30px 24px;
  background: rgba(255, 253, 246, 0.95);
  color: var(--forest, #173f32);
  text-align: center;
  box-shadow: 0 12px 28px rgba(27, 66, 47, 0.09);
}

.root-game-support-state[hidden],
.root-game-support-workspace[hidden],
.root-game-support-empty[hidden] {
  display: none !important;
}

.root-game-support-state > i {
  color: #b47e21;
  font-size: 34px;
}

.root-game-support-state[data-root-support-loading] > i {
  animation: root-game-support-spin 900ms linear infinite;
}

.root-game-support-state h2,
.root-game-support-state p {
  margin: 0;
}

.root-game-support-state h2 {
  font: 700 24px/1.08 Georgia, "Times New Roman", serif;
}

.root-game-support-state p {
  max-width: 500px;
  color: #5f7065;
  font-size: 12px;
  line-height: 1.5;
}

.root-game-support-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.root-game-support-state a,
.root-game-support-state button,
.root-game-support-full-link,
.root-game-support-needs-reply {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 69, 52, 0.25);
  border-radius: 10px;
  padding: 9px 14px;
  background: #fffdf5;
  color: var(--forest, #173f32);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.root-game-support-state a.is-primary,
.root-game-support-state button,
.root-game-support-submit-row button.is-primary {
  border-color: #1d4f39;
  background: #1d4f39;
  color: #ffffff;
}

.root-game-support-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
  gap: 14px;
  margin-top: 14px;
}

.root-game-support-compose,
.root-game-support-history {
  min-width: 0;
  border: 1px solid rgba(37, 79, 53, 0.17);
  border-radius: 16px;
  padding: 15px;
  background: rgba(255, 253, 246, 0.96);
  box-shadow: 0 13px 28px rgba(29, 68, 49, 0.09);
}

.root-game-support-section-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.root-game-support-section-heading > div {
  min-width: 0;
}

.root-game-support-section-heading h2 {
  margin: 2px 0 0;
  color: var(--forest, #173f32);
  font: 700 22px/1.08 Georgia, "Times New Roman", serif;
}

.root-game-support-section-heading > i {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 13px;
  background: #edf2e5;
  color: #39704d;
  font-size: 23px;
}

.root-game-support-section-heading > button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(29, 69, 52, 0.2);
  border-radius: 10px;
  padding: 7px 10px;
  background: #f5f7ed;
  color: var(--forest, #173f32);
  font-size: 10px;
  font-weight: 900;
}

.root-game-support-compose form {
  display: grid;
  gap: 10px;
}

.root-game-support-compose form > label {
  display: grid;
  gap: 5px;
  color: var(--forest, #173f32);
  font-size: 10px;
  font-weight: 900;
}

.root-game-support-compose form > label > span > small {
  color: #718077;
  font-size: 9px;
  font-weight: 750;
}

.root-game-support-compose input,
.root-game-support-compose select,
.root-game-support-compose textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(29, 69, 52, 0.25);
  border-radius: 10px;
  padding: 10px 11px;
  background: #fffef9;
  color: #17382f;
  font: 650 13px/1.4 "Segoe UI", Arial, sans-serif;
  box-shadow: inset 0 1px 2px rgba(24, 55, 39, 0.05);
}

.root-game-support-compose input,
.root-game-support-compose select {
  min-height: 44px;
}

.root-game-support-compose textarea {
  resize: vertical;
}

.root-game-support-compose input:focus,
.root-game-support-compose select:focus,
.root-game-support-compose textarea:focus,
.root-game-support-compose button:focus-visible,
.root-game-support-history button:focus-visible,
.root-game-support-full-link:focus-visible,
.root-game-support-needs-reply:focus-visible {
  border-color: #b78424;
  outline: 3px solid rgba(245, 198, 75, 0.5);
  outline-offset: 1px;
}

.root-game-support-compose [aria-invalid="true"] {
  border-color: #a64735;
  box-shadow: 0 0 0 3px rgba(216, 101, 77, 0.16);
}

.root-game-support-file-field {
  display: grid;
  gap: 7px;
  border: 1px dashed rgba(43, 91, 61, 0.32);
  border-radius: 12px;
  padding: 10px;
  background: #f5f8ed;
}

.root-game-support-file-field > label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  color: var(--forest, #173f32);
  cursor: pointer;
}

.root-game-support-file-field > label > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  background: #e5ecdd;
  color: #3e724d;
  font-size: 21px;
}

.root-game-support-file-field > label > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.root-game-support-file-field strong {
  font-size: 11px;
}

.root-game-support-file-field small {
  color: #697a6f;
  font-size: 9px;
  line-height: 1.3;
}

.root-game-support-file-field input[type="file"] {
  min-height: 44px;
  padding: 7px;
  background: #fffef9;
  font-size: 10px;
}

.root-game-support-file-field ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  color: #586b60;
  font-size: 9px;
  line-height: 1.3;
  list-style: none;
}

.root-game-support-privacy {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  border-radius: 10px;
  padding: 8px 9px;
  background: #edf3e7;
  color: #5b6f62;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
}

.root-game-support-privacy i {
  flex: 0 0 auto;
  color: #39704d;
  font-size: 16px;
}

.root-game-support-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.root-game-support-submit-row > p {
  margin: 0;
  color: #52685a;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}

.root-game-support-submit-row > p.is-error {
  color: #9c4333;
}

.root-game-support-submit-row button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 900;
}

.root-game-support-submit-row button:disabled,
.root-game-support-section-heading > button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.root-game-support-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 10px;
}

.root-game-support-totals > div {
  display: grid;
  min-width: 0;
  gap: 2px;
  border: 1px solid rgba(29, 69, 52, 0.14);
  border-radius: 10px;
  padding: 8px;
  background: #f4f7ed;
}

.root-game-support-totals dt {
  color: #6b7b70;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.root-game-support-totals dd {
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--forest, #173f32);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.root-game-support-history-status {
  margin: 0 0 6px;
  color: #66786d;
  font-size: 9px;
  line-height: 1.35;
}

.root-game-support-report-list {
  display: grid;
  gap: 7px;
}

.root-game-support-report {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(29, 69, 52, 0.15);
  border-radius: 12px;
  padding: 10px;
  background: #fffef9;
}

.root-game-support-report-heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.root-game-support-report-heading > strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--forest, #173f32);
  font: 700 14px/1.18 Georgia, "Times New Roman", serif;
}

.root-game-support-status {
  flex: 0 0 auto;
  border: 1px solid rgba(47, 111, 73, 0.24);
  border-radius: 999px;
  padding: 4px 7px;
  background: #e9f2e6;
  color: #2b6544;
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.root-game-support-status[data-status="needs-info"] {
  border-color: rgba(172, 103, 22, 0.28);
  background: #fff0c8;
  color: #8d580f;
}

.root-game-support-status[data-status="fixed"],
.root-game-support-status[data-status="useful"] {
  background: #dff0dd;
  color: #265f3d;
}

.root-game-support-report-meta {
  margin: 0;
  color: #718077;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.35;
}

.root-game-support-latest-reply {
  display: grid;
  gap: 3px;
  margin: 0;
  border-left: 3px solid #b8892f;
  border-radius: 0 8px 8px 0;
  padding: 7px 8px;
  background: #f7f2df;
}

.root-game-support-latest-reply strong {
  color: #8a5c17;
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
}

.root-game-support-latest-reply p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #4f6257;
  font-size: 9px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.root-game-support-reward {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(174, 125, 28, 0.3);
  border-radius: 9px;
  padding: 7px 8px;
  background: linear-gradient(105deg, #fff4bd, #eef4d9);
  color: #285b3d;
}

.root-game-support-reward i {
  color: #a97116;
  font-size: 16px;
}

.root-game-support-reward strong {
  color: #315d3e;
  font-size: 10px;
  white-space: nowrap;
}

.root-game-support-reward span {
  overflow: hidden;
  color: #5d6d56;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.root-game-support-needs-reply {
  justify-self: start;
  min-height: 38px;
  padding: 7px 10px;
  border-color: rgba(170, 102, 17, 0.28);
  background: #fff4d7;
  color: #7c5012;
  font-size: 9px;
}

.root-game-support-empty {
  display: grid;
  justify-items: center;
  gap: 4px;
  border: 1px dashed rgba(29, 69, 52, 0.22);
  border-radius: 12px;
  padding: 20px 12px;
  color: #63756a;
  text-align: center;
}

.root-game-support-empty i {
  color: #5d8766;
  font-size: 28px;
}

.root-game-support-empty strong,
.root-game-support-empty p {
  margin: 0;
}

.root-game-support-empty strong {
  color: var(--forest, #173f32);
  font: 700 15px/1.1 Georgia, "Times New Roman", serif;
}

.root-game-support-empty p {
  font-size: 9px;
}

.root-game-support-full-link {
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 9px;
  border-color: rgba(29, 69, 52, 0.2);
  background: #edf3e7;
  font-size: 9px;
}

@keyframes root-game-support-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .root-game-support-compose input,
  .root-game-support-compose select,
  .root-game-support-compose textarea,
  .root-game-support-file-field input[type="file"] {
    font-size: 16px;
  }

  .root-game-support-window {
    width: calc(100% - 14px);
    max-height: calc(100% - 14px);
    border-radius: 15px;
  }

  .root-game-support-window > header {
    padding: 11px 12px;
  }

  .root-game-support-window > header strong {
    font-size: 18px;
  }

  .root-game-support-body {
    padding: 10px;
  }

  .root-game-support-hero {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    border-radius: 13px;
    padding: 11px;
  }

  .root-game-support-hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 24px;
  }

  .root-game-support-hero h2 {
    font-size: clamp(19px, 6vw, 24px);
  }

  .root-game-support-hero p {
    font-size: 10px;
  }

  .root-game-support-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 10px;
  }

  .root-game-support-compose,
  .root-game-support-history {
    border-radius: 13px;
    padding: 12px;
  }

  .root-game-support-submit-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .root-game-support-submit-row button {
    width: 100%;
  }

  .root-game-support-state {
    margin-top: 10px;
    border-radius: 13px;
    padding: 24px 15px;
  }
}

@media (max-width: 360px) {
  .root-game-support-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .root-game-support-hero-icon {
    display: none;
  }

  .root-game-support-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .root-game-support-totals > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .root-game-support-state[data-root-support-loading] > i {
    animation: none;
  }
}
