:root {
  --sf-bg: #080d14;
  --sf-bg-soft: #0c121d;
  --sf-panel: #121b28;
  --sf-panel-2: #162335;
  --sf-border: #2b3e58;
  --sf-border-strong: #3f5f86;
  --sf-title: #d8ebff;
  --sf-text: #a8c0df;
  --sf-muted: #7d96b7;
  --sf-link: #69c6ff;
  --sf-cyan: #39d0ff;
  --sf-orange: #ff9a33;
  --sf-orange-soft: rgba(255, 154, 51, 0.14);
  --sf-green: #2fe1aa;
  --sf-danger: #ff6d8c;
  --sf-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

body.theme-store.page-support {
  --lh-footer-width: min(1760px, 99vw);
  background:
    radial-gradient(circle at 15% 0, rgba(52, 125, 241, 0.13), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(255, 154, 51, 0.1), transparent 24%),
    linear-gradient(180deg, #05080f, var(--sf-bg) 200px, #070c14 100%);
  color: var(--sf-text);
  font-family: "Rajdhani", "Trebuchet MS", sans-serif;
}

.support-grid-bg,
.support-glow-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.support-grid-bg {
  opacity: 0.24;
  background-image:
    linear-gradient(to right, rgba(100, 152, 217, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(100, 152, 217, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.support-glow-bg {
  background:
    radial-gradient(circle at 76% 3%, rgba(255, 154, 51, 0.09), transparent 28%),
    radial-gradient(circle at 24% 86%, rgba(63, 132, 241, 0.07), transparent 31%);
}

.support-wrap {
  position: relative;
  z-index: 1;
}

body.theme-store.page-support .store-wrap.support-wrap {
  max-width: min(1760px, 99vw);
}

.support-panel {
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20, 31, 47, 0.98), rgba(12, 20, 31, 0.98));
  box-shadow: var(--sf-shadow);
  padding: 14px;
}

.support-panel > h3 {
  margin: 0;
  color: var(--sf-title);
  letter-spacing: 0.02em;
  font-size: 1.06rem;
}

.support-hero {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(115, 176, 255, 0.46);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(14, 31, 53, 0.98), rgba(12, 22, 40, 0.98)),
    linear-gradient(90deg, rgba(255, 154, 51, 0.16), transparent 40%);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 100%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.52);
  padding: 16px 18px;
}

.support-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.support-hero-main {
  min-width: 0;
}

.support-hero h1 {
  margin: 0;
  color: #f3f9ff;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.support-hero h1 a {
  color: inherit;
  text-decoration: none;
}

.support-hero h1 a:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(129, 199, 255, 0.26);
}

.support-hero p {
  margin: 8px 0 0;
  max-width: 940px;
  color: #b5cae7;
  line-height: 1.6;
}

.support-hero-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-hero-actions .support-ticket-btn {
  position: relative;
  overflow: hidden;
  padding-left: 12px;
  border: 1px solid rgba(255, 162, 61, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 173, 82, 0.22), rgba(255, 129, 27, 0.18)),
    linear-gradient(180deg, #1d2a3f, #17263b);
  color: #ffe9ce;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 1px rgba(255, 209, 152, 0.18),
    0 0 0 1px rgba(255, 129, 27, 0.15),
    0 10px 20px rgba(255, 129, 27, 0.18);
}

.support-hero-actions .support-ticket-btn::before {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 24%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 228, 198, 0.55), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  animation: supportTicketSweep 2.9s ease-in-out infinite;
  pointer-events: none;
}

.support-hero-actions .support-ticket-btn:hover {
  color: #fff2df;
  border-color: rgba(255, 187, 114, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 190, 118, 0.3), rgba(255, 133, 31, 0.25)),
    linear-gradient(180deg, #203150, #1a2b45);
  box-shadow:
    inset 0 0 0 1px rgba(255, 225, 188, 0.24),
    0 0 0 1px rgba(255, 149, 48, 0.28),
    0 14px 26px rgba(255, 129, 27, 0.24);
}

.support-hero-actions .support-ticket-btn.is-active {
  border-color: rgba(255, 208, 153, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 197, 129, 0.33), rgba(255, 129, 27, 0.3)),
    linear-gradient(180deg, #23395c, #1c2f4c);
  color: #fff6e8;
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 214, 0.34),
    0 0 0 1px rgba(255, 160, 72, 0.35),
    0 16px 30px rgba(255, 144, 36, 0.27);
}

.support-hero-actions .support-pm-launch-btn {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 204, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(72, 214, 255, 0.2), rgba(39, 138, 192, 0.18)),
    linear-gradient(180deg, #1a334a, #13263a);
  color: #dff6ff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 1px rgba(176, 233, 255, 0.18),
    0 0 0 1px rgba(62, 177, 236, 0.2),
    0 12px 24px rgba(46, 155, 217, 0.24);
}

.support-hero-actions .support-pm-launch-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(194, 239, 255, 0.4) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-110%);
  animation: supportPmSweep 3.4s ease-in-out infinite;
  pointer-events: none;
}

.support-hero-actions .support-pm-launch-btn:hover {
  border-color: rgba(140, 220, 255, 0.92);
  color: #f0fbff;
  background:
    linear-gradient(180deg, rgba(92, 221, 255, 0.26), rgba(41, 150, 215, 0.25)),
    linear-gradient(180deg, #204262, #17354f);
  box-shadow:
    inset 0 0 0 1px rgba(206, 242, 255, 0.24),
    0 0 0 1px rgba(91, 197, 243, 0.3),
    0 16px 30px rgba(46, 155, 217, 0.3);
}

@keyframes supportTicketSweep {
  0% {
    left: -35%;
  }
  55% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

@keyframes supportPmSweep {
  0% {
    transform: translateX(-110%);
  }
  56% {
    transform: translateX(110%);
  }
  100% {
    transform: translateX(110%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-hero-actions .support-ticket-btn::before {
    animation: none;
  }

  .support-hero-actions .support-pm-launch-btn::after {
    animation: none;
  }

  .ticket-create-wrap::before {
    animation: none;
  }
}

.support-extra-html {
  margin-top: 10px;
}

.support-shout-top {
  margin-top: 10px;
}

.support-shout-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.support-shout-head span {
  color: var(--sf-muted);
  font-size: 0.8rem;
}

.support-shout-feed {
  margin-top: 10px;
  max-height: 240px;
  overflow: auto;
  display: grid;
  gap: 7px;
}

.support-shout-live {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.shout-live-card {
  border: 1px solid rgba(255, 154, 51, 0.45);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(34, 24, 14, 0.75), rgba(24, 17, 12, 0.75));
  padding: 9px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.support-shout-history {
  margin-top: 10px;
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: rgba(12, 18, 29, 0.8);
  overflow: hidden;
}

.support-shout-history > summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 10px;
  color: #c8def9;
  background: rgba(20, 30, 46, 0.85);
  border-bottom: 1px solid var(--sf-border);
}

.support-shout-history > summary::-webkit-details-marker {
  display: none;
}

.support-shout-history > .support-shout-feed {
  margin-top: 0;
  max-height: 210px;
  padding: 8px;
}

.shout-item {
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: rgba(15, 24, 38, 0.9);
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.shout-item-copy {
  min-width: 0;
}

.shout-item header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shout-item header strong,
.shout-item header span {
  font-size: 0.82rem;
}

.shout-item header strong {
  color: #d4ebff;
}

.shout-item header span {
  color: var(--sf-muted);
}

.shout-inline-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shout-item p {
  margin: 3px 0 0;
  color: #bdd5f1;
  line-height: 1.45;
}

.shout-reply-btn,
.support-pm-link {
  padding: 3px 8px;
  font-size: 0.72rem;
  line-height: 1.2;
  border-radius: 7px;
}

.support-pm-inline {
  margin-left: 6px;
}

.shout-empty {
  border: 1px dashed var(--sf-border);
  border-radius: 10px;
  padding: 10px;
  color: var(--sf-muted);
}

.shout-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.support-layout {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 12px;
  align-items: start;
}

.support-layout.support-layout-categories {
  grid-template-columns: minmax(0, 1fr);
}

.support-layout.support-layout-categories .support-side {
  display: none;
}

.support-layout.support-layout-pm-reply {
  grid-template-columns: minmax(0, 1fr);
}

.support-layout.support-layout-pm-reply .support-side {
  display: none;
}

.support-layout.support-layout-forum-content {
  grid-template-columns: minmax(0, 1fr);
}

.support-layout.support-layout-forum-content .support-side {
  display: none;
}

.support-layout.support-layout-tickets {
  grid-template-columns: minmax(0, 1fr);
}

.support-layout.support-layout-tickets .support-side {
  display: none;
}

.support-main,
.support-side {
  min-width: 0;
}

.support-side {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 10px;
}

.support-breadcrumbs {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--sf-muted);
  font-size: 0.8rem;
}

.support-breadcrumbs a {
  color: var(--sf-link);
  text-decoration: none;
}

.support-breadcrumbs a:hover {
  text-decoration: underline;
}

.topic-head {
  border-bottom: 1px solid var(--sf-border);
  padding-bottom: 10px;
}

.topic-head h2,
.forum-category h3 {
  margin: 0;
  color: var(--sf-title);
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 1.15rem;
}

.topic-meta {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--sf-muted);
}

.ticket-center-sub {
  margin: 6px 0 0;
  color: #95b3d6;
  font-size: 0.86rem;
}

.ticket-center-metrics {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ticket-center-metrics article {
  border: 1px solid rgba(100, 160, 232, 0.35);
  border-radius: 10px;
  background: rgba(10, 17, 29, 0.88);
  padding: 9px;
}

.ticket-center-metrics strong {
  display: block;
  color: #e2f3ff;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 1.1rem;
}

.ticket-center-metrics span {
  display: block;
  margin-top: 2px;
  color: #89a8cb;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(57, 208, 255, 0.5);
  border-radius: 999px;
  background: rgba(57, 208, 255, 0.1);
  color: #8ce8ff;
  padding: 2px 9px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-style: normal;
}

.tag.danger {
  border-color: rgba(255, 109, 140, 0.48);
  background: rgba(255, 109, 140, 0.12);
  color: #ffb4c5;
}

.tag.pinned {
  border-color: rgba(118, 196, 255, 0.52);
  background: rgba(118, 196, 255, 0.14);
  color: #cceeff;
}

.tag.featured {
  border-color: rgba(255, 193, 111, 0.7);
  background: linear-gradient(180deg, rgba(255, 196, 119, 0.22), rgba(255, 146, 45, 0.2));
  color: #fff2de;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 173, 0.18);
}

.support-thread-view {
  padding: 14px;
}

.support-thread-header {
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(17, 28, 43, 0.95), rgba(12, 21, 33, 0.95)),
    linear-gradient(125deg, rgba(89, 170, 242, 0.1), rgba(255, 154, 51, 0.07));
}

.support-thread-header.is-pinned {
  border-color: rgba(114, 191, 250, 0.58);
  box-shadow: inset 0 0 0 1px rgba(137, 210, 255, 0.14);
}

.support-thread-header.is-featured {
  border-color: rgba(255, 188, 107, 0.62);
  background:
    linear-gradient(180deg, rgba(30, 25, 15, 0.92), rgba(17, 22, 34, 0.95)),
    linear-gradient(120deg, rgba(255, 178, 88, 0.2), rgba(91, 175, 255, 0.1));
  box-shadow:
    inset 0 0 0 1px rgba(255, 209, 152, 0.18),
    0 0 0 1px rgba(255, 170, 79, 0.2);
}

.support-thread-title {
  margin: 0;
  color: #f0f8ff;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: clamp(1.08rem, 2.2vw, 1.34rem);
  letter-spacing: 0.03em;
}

.support-thread-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #9db8d9;
  font-size: 0.82rem;
}

.support-thread-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.support-mod-menu {
  position: relative;
}

.support-mod-menu > summary {
  list-style: none;
  cursor: pointer;
}

.support-mod-menu > summary::-webkit-details-marker {
  display: none;
}

.support-mod-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(260px, 85vw);
  border: 1px solid rgba(111, 170, 238, 0.5);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15, 25, 39, 0.98), rgba(10, 18, 29, 0.98));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.52);
  padding: 10px;
  display: grid;
  gap: 7px;
  z-index: 12;
}

.support-mod-menu-title {
  color: #b7d9ff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(108, 164, 224, 0.32);
  padding-bottom: 6px;
  margin-bottom: 2px;
}

.support-mod-menu-item {
  margin: 0;
}

.support-mod-menu-item .store-btn,
.support-mod-menu-item-btn.store-btn {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.support-thread-mod-form {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.support-thread-edit-collapse {
  margin-top: 10px;
}

.support-thread-edit-form {
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: rgba(10, 17, 28, 0.84);
  padding: 10px;
}

.support-thread-state {
  color: #ffc7d4;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 109, 140, 0.42);
  background: rgba(255, 109, 140, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
}

.support-thread-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.support-thread-post {
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 23, 36, 0.95), rgba(11, 18, 29, 0.95));
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}

.support-thread-user {
  border-right: 1px solid var(--sf-border);
  background: linear-gradient(180deg, rgba(16, 28, 44, 0.88), rgba(11, 19, 30, 0.88));
  padding: 12px 10px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.support-thread-avatar {
  width: 58px;
  height: 58px;
}

.support-thread-user-main {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.support-thread-user-name {
  color: #e0f0ff;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.support-thread-user-role {
  color: #86a8cd;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-thread-content {
  min-width: 0;
}

.support-thread-post-head {
  border-bottom: 1px solid var(--sf-border);
  background: rgba(10, 17, 27, 0.86);
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.support-thread-post-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #acc4e1;
  font-size: 0.78rem;
}

.support-thread-post-date time,
.support-thread-post-date span {
  color: #c4dbf4;
}

.support-thread-post-date small {
  color: #88a5c7;
}

.support-thread-post-link {
  color: #92cfff;
  text-decoration: none;
  font-size: 0.8rem;
  border: 1px solid rgba(102, 173, 225, 0.44);
  border-radius: 999px;
  padding: 2px 9px;
}

.support-thread-post-link:hover {
  color: #c9ebff;
  border-color: rgba(120, 198, 255, 0.65);
}

.support-thread-post-body {
  padding: 12px 14px;
}

.support-thread-post-actions {
  border-top: 1px solid var(--sf-border);
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  background: rgba(10, 16, 25, 0.72);
}

.support-thread-post-actions .store-btn {
  padding: 6px 10px;
  font-size: 0.74rem;
}

.support-post-reactions {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.support-reaction-form {
  margin: 0;
}

.support-react-btn {
  min-width: 88px;
}

.support-react-btn span {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(86, 171, 230, 0.18);
  color: #cbe9ff;
  font-size: 0.72rem;
}

.support-react-btn.is-active {
  border-color: rgba(84, 204, 142, 0.75);
  background: linear-gradient(180deg, rgba(47, 149, 102, 0.36), rgba(30, 98, 68, 0.32));
  color: #dffff0;
}

.support-react-btn.is-active span {
  background: rgba(47, 225, 170, 0.22);
  color: #dcfff4;
}

.support-react-btn.support-react-dislike.is-active {
  border-color: rgba(255, 127, 153, 0.75);
  background: linear-gradient(180deg, rgba(166, 53, 85, 0.34), rgba(115, 38, 63, 0.3));
  color: #ffe4eb;
}

.support-react-btn.support-react-dislike.is-active span {
  background: rgba(255, 109, 140, 0.24);
  color: #ffe3ea;
}

.support-react-static {
  border: 1px solid rgba(107, 164, 214, 0.44);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  color: #cbe8ff;
  background: rgba(14, 25, 38, 0.85);
}

.support-react-static-dislike {
  border-color: rgba(221, 125, 152, 0.42);
  color: #ffd5df;
  background: rgba(44, 20, 28, 0.68);
}

.support-thread-reply {
  margin-top: 14px;
}

.topic-post-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.topic-post {
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(19, 29, 44, 0.95), rgba(15, 22, 34, 0.95));
}

.topic-post > header {
  border-bottom: 1px solid var(--sf-border);
  padding: 9px 11px;
  background: rgba(12, 18, 29, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.topic-post-user {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.topic-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(111, 160, 226, 0.52);
  object-fit: cover;
  background: rgba(50, 74, 104, 0.8);
  flex: 0 0 auto;
}

.post-author {
  color: #d6eaff;
  font-weight: 700;
}

.post-time {
  margin-top: 1px;
  font-size: 0.76rem;
  color: var(--sf-muted);
}

.post-id {
  color: #7894b9;
  font-size: 0.74rem;
}

.post-body {
  padding: 13px 14px;
  line-height: 1.72;
  color: #dfedff;
  word-break: break-word;
}

.post-body a {
  color: #7ad0ff;
}

.support-code {
  margin: 8px 0;
  border: 1px solid var(--sf-border-strong);
  border-radius: 8px;
  padding: 10px;
  background: #0a111b;
  color: #9de8ff;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.84rem;
  white-space: pre-wrap;
  overflow: auto;
}

.support-quote {
  margin: 8px 0;
  border-left: 3px solid #55cfff;
  border-radius: 0 8px 8px 0;
  padding: 9px 10px;
  background: rgba(85, 207, 255, 0.1);
  color: #bce7ff;
}

.support-embed-image {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--sf-border);
  margin: 6px 0;
}

.support-composer-wrap {
  margin-top: 20px;
  border-top: 1px solid var(--sf-border);
  padding-top: 16px;
}

.ticket-create-wrap {
  position: relative;
  margin-top: 18px;
  border: 1px solid rgba(255, 166, 79, 0.6);
  border-radius: 12px;
  padding: 12px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 166, 79, 0.16), transparent 38%),
    radial-gradient(circle at 10% 92%, rgba(79, 188, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(27, 21, 16, 0.9), rgba(15, 20, 31, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255, 212, 165, 0.12),
    0 14px 30px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.ticket-create-wrap::before {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 24%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 192, 121, 0.96), rgba(106, 224, 255, 0.88), transparent);
  box-shadow: 0 0 12px rgba(255, 176, 93, 0.36);
  animation: ticketCreateSweep 3.7s linear infinite;
  pointer-events: none;
}

.ticket-create-wrap h3 {
  margin: 0;
  color: #fff0dc;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticket-create-note {
  margin: 6px 0 10px;
  color: #f0cfa9;
  font-size: 0.82rem;
  line-height: 1.45;
}

.ticket-create-wrap .support-composer {
  margin-top: 0;
}

.ticket-product-field {
  display: grid;
  gap: 6px;
}

.ticket-product-field label {
  color: #ffe5c8;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.ticket-product-hint {
  color: #f2cfa2;
  font-size: 0.75rem;
  line-height: 1.35;
}

.ticket-create-wrap .support-composer input[type="text"],
.ticket-create-wrap .support-composer textarea,
.ticket-create-wrap .support-composer select {
  border-color: rgba(255, 174, 96, 0.64);
  background: rgba(13, 19, 30, 0.92);
}

.ticket-create-wrap .support-composer input[type="text"]:focus,
.ticket-create-wrap .support-composer textarea:focus,
.ticket-create-wrap .support-composer select:focus {
  border-color: rgba(255, 188, 115, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 163, 69, 0.18);
}

.ticket-create-followup {
  margin: 10px 0 0;
  padding-top: 9px;
  border-top: 1px dashed rgba(255, 183, 112, 0.46);
  color: #ffd9b2;
  font-size: 0.8rem;
  line-height: 1.45;
}

.support-newtopic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.support-note {
  margin: 6px 0 0;
  color: var(--sf-muted);
  font-size: 0.86rem;
}

.support-composer {
  margin-top: 8px;
  display: grid;
  gap: 9px;
}

.support-composer input[type="text"],
.support-composer textarea,
.support-composer select,
.shout-form input[type="text"],
.pm-compose-form input[type="text"],
.pm-compose-form textarea,
.ticket-status-form select,
.support-user-pm-form textarea {
  width: 100%;
  border: 1px solid var(--sf-border-strong);
  border-radius: 8px;
  background: #0e1723;
  color: #deeeff;
  padding: 9px 10px;
  font-size: 0.92rem;
}

.support-composer textarea::placeholder,
.support-composer input[type="text"]::placeholder,
.shout-form input[type="text"]::placeholder,
.pm-compose-form input[type="text"]::placeholder,
.pm-compose-form textarea::placeholder,
.support-user-pm-form textarea::placeholder {
  color: #87a2c4;
}

.support-composer input[type="text"]:focus,
.support-composer textarea:focus,
.support-composer select:focus,
.shout-form input[type="text"]:focus,
.pm-compose-form input[type="text"]:focus,
.pm-compose-form textarea:focus,
.ticket-status-form select:focus,
.support-user-pm-form textarea:focus {
  outline: 0;
  border-color: #65c5ff;
  box-shadow: 0 0 0 3px rgba(79, 189, 245, 0.2);
}

.support-editor {
  min-height: 145px;
  resize: vertical;
}

.support-editor-toolbar {
  border: 1px solid var(--sf-border);
  border-radius: 8px;
  background: rgba(8, 14, 24, 0.85);
  padding: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.support-editor-toolbar button,
.support-editor-toolbar label {
  border: 1px solid #3f5979;
  border-radius: 7px;
  background: #152335;
  color: #c3ddff;
  padding: 5px 8px;
  font-size: 0.74rem;
}

.support-editor-toolbar button {
  cursor: pointer;
}

.support-editor-toolbar button:hover {
  background: #1a2c43;
}

.support-editor-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.support-editor-toolbar input[type="color"] {
  width: 24px;
  height: 20px;
  border: 0;
  padding: 0;
  background: transparent;
}

.support-collapse {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.3s ease, opacity 0.2s ease, transform 0.2s ease;
}

.support-collapse.is-open {
  opacity: 1;
  transform: none;
}

.support-composer-actions {
  display: flex;
}

.page-support .store-btn {
  border: 1px solid rgba(113, 160, 226, 0.52);
  border-radius: 8px;
  background: linear-gradient(180deg, #1a2a3f, #132236);
  color: #d4e9ff;
  padding: 8px 12px;
  font-size: 0.84rem;
}

.page-support .store-btn:hover {
  background: linear-gradient(180deg, #1f3350, #172944);
}

.page-support .store-btn.primary {
  border-color: rgba(255, 154, 51, 0.55);
  background: linear-gradient(180deg, #ff9a33, #d97d1e);
  color: #1a1208;
  font-weight: 700;
}

.support-user-link {
  border: 0;
  background: transparent;
  color: var(--sf-link);
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.support-user-link:hover {
  color: #9de5ff;
}

@keyframes ticketCreateSweep {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(520%);
  }
}

.forum-topic-table {
  margin-top: 12px;
  border: 1px solid var(--sf-border);
  border-radius: 11px;
  overflow: hidden;
}

.forum-topic-head,
.forum-topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(160px, 0.6fr) minmax(130px, 0.5fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
}

.forum-topic-head {
  border-bottom: 1px solid var(--sf-border);
  background: linear-gradient(180deg, rgba(18, 31, 47, 0.98), rgba(13, 22, 35, 0.98));
  color: #82a6cf;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.forum-topic-row {
  border-top: 1px solid var(--sf-border);
  color: var(--sf-text);
  text-decoration: none;
  background: rgba(14, 22, 34, 0.88);
  position: relative;
}

.forum-topic-row:hover {
  background: rgba(27, 42, 63, 0.88);
}

.forum-topic-row.is-pinned {
  border-left: 2px solid rgba(121, 199, 255, 0.6);
  background:
    linear-gradient(90deg, rgba(74, 160, 238, 0.12), rgba(14, 22, 34, 0.88) 42%),
    rgba(14, 22, 34, 0.88);
}

.forum-topic-row.is-featured {
  border-left: 2px solid rgba(255, 184, 98, 0.85);
  background:
    linear-gradient(90deg, rgba(255, 169, 73, 0.2), rgba(18, 25, 38, 0.92) 46%),
    rgba(15, 24, 36, 0.92);
}

.forum-topic-row.is-featured .forum-topic-copy strong {
  color: #ffe8c8;
}

.forum-topic-row.is-featured:hover {
  background:
    linear-gradient(90deg, rgba(255, 185, 103, 0.26), rgba(30, 42, 60, 0.92) 46%),
    rgba(30, 42, 60, 0.92);
}

.forum-topic-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.forum-topic-copy strong {
  display: block;
  color: #daecff;
}

.forum-topic-copy span {
  display: block;
  margin-top: 2px;
  color: #86a3c5;
  font-size: 0.8rem;
}

.forum-topic-flags {
  margin-top: 5px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.forum-topic-stats {
  display: grid;
  gap: 3px;
}

.forum-topic-stats span {
  color: #88a7cb;
  font-size: 0.8rem;
}

.forum-topic-stats strong {
  color: #d2e6ff;
}

.forum-topic-last {
  color: #8caad1;
  font-size: 0.81rem;
}

.forum-topic-empty {
  padding: 12px;
  color: var(--sf-muted);
}

.forum-category {
  margin-top: 12px;
  border: 1px solid var(--sf-border);
  border-radius: 11px;
  overflow: hidden;
}

.forum-category-head {
  padding: 12px 13px;
  border-bottom: 1px solid var(--sf-border);
  background: linear-gradient(180deg, rgba(20, 33, 51, 0.95), rgba(16, 27, 42, 0.96));
}

.forum-category-head p {
  margin: 5px 0 0;
  color: var(--sf-muted);
}

.forum-board {
  background: rgba(12, 19, 31, 0.8);
}

.forum-board-row {
  border-top: 1px solid var(--sf-border);
  padding: 10px 12px;
  color: var(--sf-text);
  text-decoration: none;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) repeat(2, minmax(90px, 0.32fr)) minmax(150px, 0.7fr);
  gap: 0;
  align-items: center;
}

.forum-board-row:first-child {
  border-top: 0;
}

.forum-board-row:hover {
  background: rgba(23, 37, 56, 0.9);
}

.forum-board-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding-right: 10px;
}

.forum-board-col {
  min-height: 48px;
  border-left: 1px solid rgba(105, 157, 227, 0.26);
  padding-left: 10px;
}

.forum-board-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(112, 178, 255, 0.58);
  background:
    radial-gradient(circle at 28% 20%, rgba(146, 214, 255, 0.26), rgba(24, 36, 54, 0.96) 58%),
    linear-gradient(180deg, #253d5b, #112033);
  box-shadow:
    inset 0 1px 0 rgba(219, 239, 255, 0.3),
    inset 0 -10px 16px rgba(8, 14, 22, 0.5),
    0 0 0 1px rgba(96, 170, 255, 0.18),
    0 8px 16px rgba(3, 8, 16, 0.54);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
}

.forum-board-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 8px;
  border: 1px solid rgba(119, 181, 255, 0.24);
  pointer-events: none;
}

.forum-board-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 38%);
  pointer-events: none;
}

.forum-board-icon-glyph {
  width: 24px;
  height: 24px;
  stroke: #9fd7ff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.forum-card-title {
  color: #d7eaff;
  font-weight: 700;
}

.forum-card-desc {
  margin-top: 3px;
  color: #8ca6c5;
  font-size: 0.83rem;
}

.forum-subforums {
  margin-top: 6px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.forum-subforums span {
  border: 1px solid rgba(111, 160, 226, 0.45);
  border-radius: 999px;
  background: rgba(18, 32, 50, 0.82);
  color: #8db2dd;
  font-size: 0.68rem;
  padding: 2px 8px;
}

.forum-board-stat {
  text-align: center;
}

.forum-board-stat strong {
  display: block;
  color: #d4e9ff;
}

.forum-board-stat span {
  color: #88a5c9;
  font-size: 0.69rem;
  text-transform: uppercase;
}

.forum-board-last {
  text-align: right;
}

.forum-board-last span {
  display: block;
  color: #859fbe;
  font-size: 0.69rem;
  text-transform: uppercase;
}

.forum-board-last strong {
  display: block;
  margin-top: 2px;
  color: #c1dbfa;
  font-size: 0.8rem;
}

.support-pulse-panel h4 {
  margin: 0 0 8px;
  color: #f1a25a;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.support-pulse-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.support-pulse-grid > div {
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: rgba(10, 17, 27, 0.8);
  padding: 8px;
}

.widget-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.widget-panel li {
  border: 1px solid var(--sf-border);
  border-radius: 8px;
  background: rgba(13, 20, 32, 0.85);
  padding: 7px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
}

.widget-panel li a {
  color: #cfe8ff;
  text-decoration: none;
}

.widget-panel li a:hover {
  text-decoration: underline;
}

.widget-panel li span:last-child,
.widget-panel li small {
  color: var(--sf-muted);
  font-size: 0.77rem;
}

.widget-panel li.muted {
  justify-content: flex-start;
  color: var(--sf-muted);
}

.widget-panel .topic-avatar {
  width: 26px;
  height: 26px;
}

.mini-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mini-user b {
  color: #d1e7ff;
  font-size: 0.82rem;
}

.support-panel-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.support-panel-headline h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.support-title-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(129, 186, 255, 0.48);
  background: linear-gradient(180deg, rgba(24, 51, 84, 0.95), rgba(16, 33, 56, 0.95));
  color: #c7e8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.support-title-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.support-panel-popout {
  margin-left: auto;
}

.support-template-panel {
  display: none;
}

.support-pm-panel-body {
  display: grid;
  gap: 10px;
}

.support-pm-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
  gap: 10px;
  align-items: start;
}

.support-pm-workspace.is-reply-focus {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
}

.support-pm-inbox-column,
.support-pm-reply-column {
  min-width: 0;
}

.support-pm-reply-column {
  border: 1px solid rgba(94, 152, 205, 0.5);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 34, 0.92), rgba(7, 14, 24, 0.94)),
    repeating-linear-gradient(90deg, rgba(108, 179, 237, 0.06) 0, rgba(108, 179, 237, 0.06) 1px, transparent 1px, transparent 14px);
}

.support-pm-workspace.is-reply-focus .support-pm-reply-column {
  order: -1;
  border-color: rgba(130, 205, 255, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(195, 236, 255, 0.12),
    0 14px 30px rgba(4, 11, 20, 0.52);
}

.support-pm-workspace.is-reply-focus .support-pm-inbox-column {
  opacity: 0.97;
}

.support-pm-reply-column.is-collapsed .pm-compose-form {
  display: none;
}

.support-pm-reply-column.is-collapsed {
  opacity: 0.92;
}

.support-pm-reply-head {
  display: grid;
  gap: 4px;
}

.support-pm-reply-head strong {
  color: #e5f5ff;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.support-pm-reply-head span {
  color: #9fbedf;
  font-size: 0.78rem;
  line-height: 1.45;
}

.support-pm-reply-head [data-pm-open-compose] {
  justify-self: start;
  font-size: 0.72rem;
}

.support-pm-inbox-banner {
  border: 1px solid rgba(105, 201, 255, 0.42);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(16, 35, 58, 0.86), rgba(11, 22, 37, 0.86)),
    repeating-linear-gradient(90deg, rgba(87, 157, 215, 0.08) 0, rgba(87, 157, 215, 0.08) 1px, transparent 1px, transparent 14px);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.support-pm-inbox-banner strong {
  color: #ddf4ff;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.support-pm-inbox-banner span {
  color: #aac7e4;
  font-size: 0.79rem;
  line-height: 1.45;
}

.support-pm-inbox-column .pm-list {
  grid-template-columns: 1fr;
  gap: 8px;
}

.support-pm-inbox-column .pm-list li {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
}

.support-pm-inbox-column .pm-inline-actions {
  grid-column: auto;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
}

.pm-reply-page-list {
  max-height: 52vh;
  margin-top: 12px;
  padding-right: 4px;
}

.pm-reply-page-list .support-pm-msg {
  margin-bottom: 8px;
}

.notification-copy {
  display: grid;
  gap: 2px;
}

.notification-copy strong {
  color: #daeeff;
  font-size: 0.83rem;
}

.notification-copy span {
  color: #a0bddf;
  font-size: 0.8rem;
}

.notification-copy small {
  color: #7f99b9;
  font-size: 0.73rem;
}

.notification-actions {
  display: flex;
  gap: 6px;
}

.widget-panel li.is-unread {
  border-color: rgba(255, 154, 51, 0.62);
  background: linear-gradient(180deg, rgba(34, 23, 14, 0.72), rgba(23, 18, 13, 0.72));
}

.pm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pm-list li {
  border: 1px solid rgba(91, 137, 187, 0.48);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(11, 21, 34, 0.94), rgba(9, 17, 28, 0.95)),
    linear-gradient(120deg, rgba(57, 144, 198, 0.08), rgba(255, 154, 51, 0.04));
  padding: 8px;
  align-items: flex-start;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.pm-list li:hover {
  border-color: rgba(118, 184, 243, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(161, 220, 255, 0.12),
    0 10px 20px rgba(5, 12, 20, 0.4);
  transform: translateY(-1px);
}

.pm-list li.muted {
  display: block;
  padding: 10px;
  color: #90afcf;
}

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

.pm-copy strong {
  color: #d8ecff;
  font-size: 0.82rem;
}

.pm-copy .pm-message-html {
  color: #a8c2df;
  font-size: 0.81rem;
  word-break: break-word;
  line-height: 1.45;
}

.pm-copy .pm-message-html p,
.pm-copy .pm-message-html blockquote,
.pm-copy .pm-message-html pre {
  margin: 4px 0 0;
}

.pm-copy .pm-message-html img {
  margin-top: 6px;
  max-width: min(260px, 100%);
}

.pm-copy small {
  color: #8099b9;
  font-size: 0.73rem;
}

.pm-inline-actions {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.pm-block-form {
  margin: 0;
}

.pm-compose-form {
  border: 1px solid rgba(94, 146, 200, 0.52);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  display: grid;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(11, 22, 36, 0.88), rgba(8, 16, 27, 0.88)),
    repeating-linear-gradient(90deg, rgba(105, 177, 234, 0.06) 0, rgba(105, 177, 234, 0.06) 1px, transparent 1px, transparent 16px);
}

.pm-compose-form input[type="text"],
.pm-compose-form textarea {
  border: 1px solid rgba(91, 138, 186, 0.6);
  border-radius: 9px;
  background: rgba(7, 13, 23, 0.9);
  color: #d5ebff;
}

.pm-compose-form input[type="text"]:focus,
.pm-compose-form textarea:focus {
  outline: none;
  border-color: rgba(140, 215, 255, 0.88);
  box-shadow: 0 0 0 2px rgba(67, 164, 226, 0.2);
}

.pm-compose-form input[type="text"][readonly] {
  background: rgba(14, 25, 40, 0.92);
  color: #e1f4ff;
  border-color: rgba(132, 196, 239, 0.78);
}

.pm-compose-form textarea {
  min-height: 84px;
  resize: vertical;
}

.pm-editor-toolbar {
  margin-top: 2px;
}

.pm-editor {
  min-height: 220px;
}

.support-pm-workspace.is-reply-focus .pm-editor {
  min-height: 300px;
}

.pm-compose-form .store-btn {
  justify-self: start;
}

.ticket-head {
  margin-top: 12px;
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: rgba(11, 19, 31, 0.88);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ticket-head h3 {
  margin: 0;
  color: #dff0ff;
  font-size: 1rem;
}

.ticket-status-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ticket-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.ticket-row {
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: rgba(13, 20, 32, 0.86);
  padding: 9px;
  color: var(--sf-text);
  text-decoration: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.ticket-row:hover {
  background: rgba(22, 34, 52, 0.9);
}

.ticket-row-main {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.ticket-row-main strong {
  color: #d8ebff;
  display: block;
}

.ticket-row-main span {
  display: block;
  color: #8ca8cb;
  font-size: 0.8rem;
}

.ticket-row-meta {
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.ticket-row-meta span:last-child {
  color: #8ca9ca;
  font-size: 0.78rem;
}

.support-user-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.support-user-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.support-user-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.75);
}

.support-user-modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(540px, calc(100vw - 24px));
  border: 1px solid rgba(105, 162, 231, 0.46);
  border-radius: 14px;
  background: linear-gradient(180deg, #111b2a, #0b121d);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.56);
  padding: 14px;
}

.support-user-modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 1px solid var(--sf-border-strong);
  border-radius: 7px;
  background: #162539;
  color: #d2e8ff;
  width: 30px;
  height: 28px;
  cursor: pointer;
}

.support-user-modal-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.support-user-modal-head h3 {
  margin: 0;
  color: #ebf7ff;
  font-size: 1.02rem;
}

.support-user-modal-head p {
  margin: 2px 0 0;
  color: var(--sf-muted);
  font-size: 0.82rem;
}

.support-user-modal-head .support-user-meta-extra {
  margin-top: 4px;
  color: #8fadd0;
  font-size: 0.74rem;
  line-height: 1.4;
}

.support-user-stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.support-user-stats > div {
  border: 1px solid var(--sf-border);
  border-radius: 9px;
  background: rgba(11, 19, 31, 0.9);
  padding: 8px;
}

.support-user-stats strong {
  display: block;
  color: #dff2ff;
}

.support-user-stats span {
  display: block;
  margin-top: 2px;
  color: #7c99bc;
  font-size: 0.69rem;
  text-transform: uppercase;
}

.support-user-admin-tools {
  margin-top: 10px;
  border: 1px solid rgba(105, 162, 231, 0.35);
  border-radius: 10px;
  background: rgba(10, 18, 30, 0.82);
  padding: 9px;
  gap: 7px;
}

.support-user-admin-note {
  margin: 0;
  color: #9fbee1;
  font-size: 0.78rem;
  line-height: 1.45;
}

.support-pm-thread {
  margin-top: 10px;
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: rgba(10, 17, 30, 0.86);
  padding: 8px;
  display: grid;
  gap: 8px;
}

.support-pm-thread > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.support-pm-thread > header h4 {
  margin: 0;
  font-size: 0.84rem;
  color: #d9ecff;
}

.support-pm-thread > header span {
  color: #88a5c7;
  font-size: 0.73rem;
}

.support-pm-thread-list {
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 6px;
}

.support-pm-msg {
  border: 1px solid var(--sf-border);
  border-radius: 9px;
  padding: 7px 8px;
  background: rgba(14, 24, 39, 0.9);
}

.support-pm-msg header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}

.support-pm-msg header strong {
  color: #d8ecff;
  font-size: 0.78rem;
}

.support-pm-msg header span {
  color: #8aa5c4;
  font-size: 0.71rem;
}

.support-pm-msg-body {
  margin: 4px 0 0;
  color: #bfd7f2;
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: pre-wrap;
}

.support-pm-msg-body p,
.support-pm-msg-body blockquote,
.support-pm-msg-body pre {
  margin: 4px 0 0;
}

.support-pm-msg.outgoing {
  border-color: rgba(255, 154, 51, 0.45);
  background: rgba(43, 29, 16, 0.78);
}

.support-user-pm-form {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.support-user-pm-form textarea {
  min-height: 92px;
  resize: vertical;
}

.support-user-pm-actions {
  display: flex;
}

.support-pulse-dock {
  margin-top: 12px;
}

.support-pulse-dock .support-pulse-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-pm-modal {
  position: fixed;
  inset: 0;
  z-index: 42;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.support-pm-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.support-pm-modal.is-reply-focus .support-pm-modal-card {
  width: min(1160px, calc(100vw - 20px));
}

.support-pm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 14, 0.8);
}

.support-pm-modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100vw - 24px));
  max-height: calc(100vh - 30px);
  border: 1px solid rgba(108, 183, 244, 0.58);
  border-radius: 16px;
  background:
    radial-gradient(circle at 80% 0, rgba(255, 154, 51, 0.1), transparent 32%),
    radial-gradient(circle at 15% 100%, rgba(66, 186, 245, 0.1), transparent 34%),
    linear-gradient(180deg, #0d1828, #09111b);
  box-shadow:
    inset 0 0 0 1px rgba(164, 223, 255, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.64);
  overflow: auto;
  padding: 14px;
}

.support-pm-modal-card::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 60px;
  border-top: 1px solid rgba(117, 179, 235, 0.24);
  pointer-events: none;
}

.support-pm-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.support-pm-modal-title h3 {
  margin: 0;
  color: #eaf7ff;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}

.support-pm-modal-title p {
  margin: 6px 0 0;
  color: #9fc2e4;
  font-size: 0.8rem;
  line-height: 1.45;
}

.support-pm-modal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.support-pm-unread-pill {
  border: 1px solid rgba(255, 170, 81, 0.75);
  border-radius: 999px;
  padding: 4px 10px;
  color: #ffdbb2;
  background: linear-gradient(180deg, rgba(255, 154, 51, 0.2), rgba(255, 122, 21, 0.14));
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.support-pm-modal-close-btn {
  border-color: rgba(123, 197, 246, 0.66);
  background: linear-gradient(180deg, rgba(58, 146, 212, 0.3), rgba(35, 93, 138, 0.28));
}

.support-pm-modal-content {
  display: grid;
  gap: 10px;
}

.support-pm-modal-content .pm-list {
  max-height: 58vh;
  overflow: auto;
  list-style: none;
  margin: 0;
  padding: 0 4px 0 0;
  display: grid;
  gap: 8px;
}

.support-pm-modal-content .pm-inline-actions .store-btn,
.support-pm-modal-content .pm-block-form .store-btn {
  min-width: 92px;
  font-size: 0.74rem;
}

.support-pm-modal-content .support-pm-workspace {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
}

.support-pm-modal-content .pm-list li.is-unread {
  border-color: rgba(255, 161, 74, 0.78);
  background:
    linear-gradient(180deg, rgba(43, 27, 14, 0.72), rgba(27, 18, 11, 0.76)),
    linear-gradient(120deg, rgba(255, 160, 72, 0.08), rgba(70, 163, 224, 0.05));
}

.support-notify-modal {
  position: fixed;
  inset: 0;
  z-index: 43;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.support-notify-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.support-notify-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 14, 0.8);
}

.support-notify-modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 30px);
  border: 1px solid rgba(114, 174, 247, 0.5);
  border-radius: 14px;
  background: linear-gradient(180deg, #0f1928, #0a121d);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.58);
  padding: 12px;
  overflow: auto;
}

.support-notify-modal-content ul {
  max-height: 54vh;
  overflow: auto;
}

.admin-quick p {
  margin: 8px 0;
  color: var(--sf-muted);
  font-size: 0.86rem;
}

.support-footer-stats {
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20, 31, 47, 0.98), rgba(12, 20, 31, 0.98));
  box-shadow: var(--sf-shadow);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.support-footer-stats > div {
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: rgba(11, 19, 31, 0.9);
  padding: 9px;
}

.support-footer-stats strong {
  display: block;
  color: #e5f5ff;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.support-footer-stats span {
  display: block;
  margin-top: 2px;
  color: #8aa9cd;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 1120px) {
  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ticket-center-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .support-thread-post {
    grid-template-columns: 1fr;
  }

  .support-thread-user {
    border-right: 0;
    border-bottom: 1px solid var(--sf-border);
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    gap: 10px;
  }

  .support-thread-user-main {
    justify-items: start;
    text-align: left;
  }

  .support-pm-modal-card {
    width: min(96vw, 900px);
    padding: 12px;
  }

  .support-pm-modal-content .pm-list {
    max-height: 52vh;
  }

  .support-pm-workspace,
  .support-pm-modal-content .support-pm-workspace {
    grid-template-columns: 1fr;
  }

  .support-pm-workspace.is-reply-focus {
    grid-template-columns: 1fr;
  }

  .support-pm-reply-column {
    order: -1;
  }

  .support-pm-inbox-column .pm-list {
    grid-template-columns: 1fr;
  }

  .pm-list li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pm-inline-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
  }

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

  .support-pulse-grid {
    grid-template-columns: 1fr;
  }

  .support-footer-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forum-topic-head {
    display: none;
  }

  .forum-topic-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .forum-board-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .forum-board-last,
  .forum-board-stat {
    text-align: left;
  }

  .forum-board-col {
    border-left: 0;
    padding-left: 0;
    min-height: 0;
  }

  .ticket-row-meta {
    justify-items: start;
    text-align: left;
  }

  .support-pulse-dock .support-pulse-grid {
    grid-template-columns: 1fr;
  }

  .ticket-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .support-pm-modal-card::before {
    top: 84px;
  }

  .support-pm-modal-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-pm-modal-meta {
    width: 100%;
    justify-content: space-between;
  }

  .support-pm-modal-content .pm-inline-actions .store-btn,
  .support-pm-modal-content .pm-block-form .store-btn {
    min-width: 0;
  }

  .pm-compose-form .store-btn {
    width: 100%;
    justify-self: stretch;
  }

  .support-user-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-footer-stats {
    grid-template-columns: 1fr;
  }

  .topic-post > header {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-id {
    margin-left: 48px;
  }

  .shout-form {
    grid-template-columns: 1fr;
  }
}
