:root {
  --wh-bg: #0b0f15;
  --wh-surface: #111720;
  --wh-card: #161d27;
  --wh-card-2: #1a222e;
  --wh-line: #283241;
  --wh-line-soft: #202936;
  --wh-text: #f3f6fa;
  --wh-muted: #94a0b2;
  --wh-accent: #f0b429;
  --wh-accent-soft: #ffd166;
  --wh-green: #35c878;
  --wh-red: #ef6572;
  --wh-blue: #4da3ff;
}

/* Standalone profile page */
body.wowhub-profile-page #Content .section_wrapper {
  max-width: 1360px;
}

.whprofile-shell {
  width: 100%;
  box-sizing: border-box;
  margin: clamp(26px, 5vw, 72px) 0;
  color: var(--wh-text);
}

.whprofile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 0 4px;
}

.whprofile-top > div {
  display: grid;
  gap: 3px;
}

.whprofile-top strong {
  color: var(--wh-text);
  font-size: clamp(20px, 3vw, 28px);
}

.whprofile-top > a {
  color: #cbd3df !important;
  text-decoration: none !important;
}

.whprofile-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.whprofile-nav {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--wh-line-soft);
  border-radius: 16px;
  background: linear-gradient(180deg, #151a22, #11161d);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.whprofile-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 12px;
  color: #b7c0ce !important;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
}

.whprofile-nav a:hover {
  color: #fff !important;
  background: #1b222d;
}

.whprofile-nav a.is-active {
  color: #161109 !important;
  border-color: #f4c651;
  background: linear-gradient(135deg, var(--wh-accent-soft), var(--wh-accent));
  box-shadow: 0 8px 22px rgba(240, 180, 41, .18);
}

.whprofile-content {
  width: 100%;
  min-width: 0;
}

.whprofile-content > * {
  width: 100%;
  box-sizing: border-box;
}

.whprofile-woo {
  min-height: 420px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--wh-line);
  border-radius: 18px;
  background: linear-gradient(145deg, #10151d, #121923);
}

.whprofile-woo h1,
.whprofile-login h1 {
  margin: 5px 0 22px;
  color: var(--wh-text);
}

.whprofile-woo table {
  width: 100%;
}

.whprofile-woo input:not([type=checkbox]):not([type=radio]),
.whprofile-woo select,
.whprofile-woo textarea {
  color: var(--wh-text);
  border-color: #354154;
  background: #0d1219;
}

.whprofile-login {
  max-width: 680px;
  margin: 70px auto;
  padding: clamp(24px, 4vw, 42px);
  color: var(--wh-text);
  border: 1px solid var(--wh-line);
  border-radius: 18px;
  background: linear-gradient(145deg, #10151d, #121923);
}

/* Shared application UI */
.whapp-shell,
.whapp-dashboard,
.whaccount-dashboard,
.whaccount-page {
  --whapp-bg: var(--wh-bg);
  --whapp-card: var(--wh-card);
  --whapp-line: var(--wh-line);
  --whapp-text: var(--wh-text);
  --whapp-muted: var(--wh-muted);
  --whapp-accent: var(--wh-accent);
  --whapp-accent2: var(--wh-accent-soft);
  color: var(--wh-text);
}

.whapp-shell,
.whapp-dashboard {
  margin: 20px 0;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--wh-line);
  border-radius: 18px;
  background: linear-gradient(145deg, #10151d, #121923);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

.whapp-heading {
  margin-bottom: 22px;
}

.whapp-heading h2,
.whaccount-page-head h1,
.whaccount-hero h1,
.whaccount-panel h2 {
  color: var(--wh-text);
  line-height: 1.12;
}

.whapp-heading h2 {
  margin: 5px 0 8px;
  font-size: clamp(24px, 4vw, 38px);
}

.whapp-heading p,
.whaccount-page-head p,
.whaccount-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--wh-muted);
}

.whapp-kicker {
  color: var(--wh-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.whapp-form {
  display: grid;
  gap: 18px;
}

.whapp-grid,
.whapp-grid-sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.whapp-grid-sub,
.whapp-span-2 {
  grid-column: 1 / -1;
}

.whapp-field {
  display: grid;
  align-content: start;
  gap: 7px;
  color: var(--wh-text);
  font-weight: 700;
}

.whapp-field > span {
  font-size: 13px;
}

.whapp-field small,
.whapp-help {
  margin: 0;
  color: var(--wh-muted);
  font-size: 12px;
  font-weight: 400;
}

.whapp-field input[type=text],
.whapp-field input[type=email],
.whapp-field input[type=url],
.whapp-field input[type=number],
.whapp-field input[type=file],
.whapp-field select,
.whapp-field textarea,
.whapp-form > label textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  color: var(--wh-text);
  border: 1px solid #354158;
  border-radius: 10px;
  outline: none;
  background: #0d1219;
  transition: .15s;
}

.whapp-field input:focus,
.whapp-field select:focus,
.whapp-field textarea:focus,
.whapp-form > label textarea:focus {
  border-color: var(--wh-accent);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, .14);
}

.whapp-field select option {
  color: #fff;
  background: #10141d;
}

.whapp-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--wh-text);
  font-size: 13px;
  font-weight: 600;
}

.whapp-check input {
  margin-top: 2px;
}

.whapp-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.whapp-choice label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--wh-line);
  border-radius: 999px;
  background: var(--wh-card);
  font-weight: 800;
}

.whapp-primary,
.whapp-twitch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 18px;
  color: #15110a !important;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--wh-accent-soft), var(--wh-accent));
  box-shadow: 0 9px 24px rgba(240, 180, 41, .18);
  font-weight: 900;
  text-decoration: none !important;
  cursor: pointer;
}

.whapp-twitch-button {
  color: #fff !important;
  background: linear-gradient(135deg, #9146ff, #6c2bd9);
  box-shadow: 0 9px 24px rgba(145, 70, 255, .2);
}

.whapp-primary:hover,
.whapp-twitch-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.whapp-callout {
  padding: 16px;
  color: var(--wh-text);
  border: 1px solid #33415a;
  border-radius: 12px;
  background: #171e2b;
}

.whapp-callout p {
  margin-top: 0;
}

.whapp-callout.is-pending {
  color: #ffe3a0;
  border-color: #685628;
  background: #2a2416;
}

.whapp-callout.is-success {
  color: #bff1d4;
  border-color: #285b3d;
  background: #14271d;
}

.whapp-notice {
  margin: 0 0 16px;
  padding: 12px 15px;
  border-radius: 10px;
  font-weight: 700;
}

.whapp-notice-success {
  color: #c9f6d5;
  border: 1px solid #276c3d;
  background: #143520;
}

.whapp-notice-error {
  color: #ffd7dc;
  border: 1px solid #7e303d;
  background: #3b171d;
}

/* New account overview */
.whaccount-dashboard,
.whaccount-page {
  display: grid;
  gap: 22px;
}

.whaccount-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--wh-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(240, 180, 41, .15), transparent 36%),
    linear-gradient(135deg, #161d27, #10151d);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.whaccount-avatar img {
  display: block;
  width: 76px;
  height: 76px;
  border: 3px solid rgba(240, 180, 41, .55);
  border-radius: 18px;
}

.whaccount-hero h1 {
  margin: 4px 0 8px;
  font-size: clamp(25px, 3.6vw, 40px);
}

.whaccount-progress {
  display: grid;
  min-width: 135px;
  text-align: right;
}

.whaccount-progress strong {
  color: var(--wh-accent-soft);
  font-size: 30px;
  line-height: 1;
}

.whaccount-progress strong span {
  color: #657186;
  font-size: 16px;
}

.whaccount-progress small {
  margin: 5px 0 9px;
  color: var(--wh-muted);
}

.whaccount-progress > div {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #293241;
}

.whaccount-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wh-accent), var(--wh-accent-soft));
}

.whaccount-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.whaccount-action {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 76px;
  padding: 14px;
  color: var(--wh-text) !important;
  border: 1px solid var(--wh-line-soft);
  border-radius: 14px;
  background: var(--wh-card);
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.whaccount-action:hover {
  color: #fff !important;
  border-color: #5b4c27;
  background: #1a212c;
  transform: translateY(-2px);
}

.whaccount-action-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #17120a;
  border-radius: 12px;
  background: var(--wh-accent);
  font-size: 20px;
  font-weight: 900;
}

.whaccount-action-icon.is-connect { background: #4da3ff; }
.whaccount-action-icon.is-claim { background: #a58cff; }
.whaccount-action-icon.is-edit { background: #46d18c; }

.whaccount-action > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.whaccount-action strong {
  color: #f7f9fc;
  font-size: 15px;
}

.whaccount-action small {
  color: var(--wh-muted);
}

.whaccount-action b {
  color: #768399;
  font-size: 18px;
}

.whaccount-panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--wh-line-soft);
  border-radius: 18px;
  background: linear-gradient(145deg, #141a23, #11161e);
}

.whaccount-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.whaccount-panel-head h2 {
  margin: 3px 0 0;
  font-size: 24px;
}

.whaccount-panel-head > a {
  color: var(--wh-accent) !important;
}

.whaccount-empty {
  display: grid;
  place-items: center;
  padding: 32px 20px;
  color: var(--wh-muted);
  text-align: center;
  border: 1px dashed #344154;
  border-radius: 14px;
}

.whaccount-empty > span {
  color: var(--wh-accent);
  font-size: 30px;
}

.whaccount-empty strong {
  margin-top: 6px;
  color: var(--wh-text);
}

.whaccount-empty p {
  max-width: 480px;
  margin: 5px 0 0;
}

.whaccount-application-list {
  display: grid;
  gap: 8px;
}

.whaccount-application {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--wh-line-soft);
  border-radius: 12px;
  background: #111720;
}

.whaccount-app-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7a8799;
  box-shadow: 0 0 0 4px rgba(122, 135, 153, .12);
}

.whaccount-app-mark.is-pending { background: var(--wh-accent); box-shadow: 0 0 0 4px rgba(240, 180, 41, .12); }
.whaccount-app-mark.is-approved { background: var(--wh-green); box-shadow: 0 0 0 4px rgba(53, 200, 120, .12); }
.whaccount-app-mark.is-converted { background: var(--wh-blue); box-shadow: 0 0 0 4px rgba(77, 163, 255, .12); }
.whaccount-app-mark.is-rejected { background: var(--wh-red); box-shadow: 0 0 0 4px rgba(239, 101, 114, .12); }

.whaccount-application > div {
  display: grid;
}

.whaccount-application strong {
  color: var(--wh-text);
}

.whaccount-application small {
  color: var(--wh-muted);
}

.whaccount-status {
  padding: 5px 9px;
  color: #c6cfdb;
  border: 1px solid #3a4555;
  border-radius: 999px;
  background: #1b232e;
  font-size: 11px;
  font-weight: 800;
}

.whaccount-status.is-pending { color: #ffe3a0; border-color: #6f5a25; background: #292315; }
.whaccount-status.is-approved { color: #bff1d4; border-color: #2a6542; background: #14271d; }
.whaccount-status.is-converted { color: #c9e4ff; border-color: #315f8b; background: #142334; }
.whaccount-status.is-rejected { color: #ffd0d5; border-color: #733844; background: #321920; }

/* Connections */
.whaccount-page-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--wh-line-soft);
}

.whaccount-page-head h1 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.whaccount-connections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.whaccount-connection {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--wh-line);
  border-radius: 16px;
  background: linear-gradient(145deg, #171e28, #111720);
}

.whaccount-connection.is-bnet { box-shadow: inset 0 2px #148eff; }
.whaccount-connection.is-discord { box-shadow: inset 0 2px #5865f2; }
.whaccount-connection.is-twitch { box-shadow: inset 0 2px #9146ff; }

.whaccount-service {
  display: grid;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wh-line-soft);
}

.whaccount-service span {
  color: var(--wh-text);
  font-size: 20px;
  font-weight: 850;
}

.whaccount-service small {
  color: var(--wh-muted);
}

.whaccount-connection .wowhub-bnet-status,
.whaccount-connection .wowhub-dc-status {
  display: grid !important;
  gap: 5px !important;
  align-items: start !important;
  margin: 0 !important;
  color: var(--wh-text);
}

.whaccount-connection .wowhub-bnet-btn,
.whaccount-connection .wowhub-dc-btn {
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
}

.whaccount-connection .wowhub-bnet-note,
.whaccount-connection p {
  margin: 0;
  color: var(--wh-muted) !important;
}

.whaccount-connection .wowhub-bnet-unlink,
.whaccount-connection .wowhub-dc-unlink {
  margin: 5px 0 0 !important;
  color: #ff8b95 !important;
}

.whapp-connections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.whapp-connection-card {
  padding: 16px;
  border: 1px solid var(--wh-line);
  border-radius: 12px;
  background: var(--wh-card);
}

.whapp-connection-card h3 {
  margin-top: 0;
  color: var(--wh-text);
}

.whapp-connection-status,
.whapp-streamer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #33415a;
  border-radius: 12px;
  background: #171e2b;
}

.whapp-connection-status img,
.whapp-streamer-profile img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.whapp-connection-status > div,
.whapp-streamer-profile > div {
  display: grid;
  min-width: 0;
}

.whapp-connection-status small,
.whapp-streamer-profile small { color: #b9a5ff; }
.whapp-connection-status strong,
.whapp-streamer-profile strong { color: #fff; }
.whapp-connection-status span,
.whapp-streamer-profile span { color: var(--wh-muted); font-size: 12px; }
.whapp-connection-status > a { margin-left: auto; color: #d2c3ff; }
.whapp-streamer-profile { margin-bottom: 16px; }
.whapp-streamer-application.is-compact { margin-top: 14px; }

.whapp-streamer-sitewide {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #3d4655;
  border-radius: 12px;
  background: #111823;
}

.whapp-streamer-sitewide-image {
  display: block;
  overflow: hidden;
  border: 1px solid #465267;
  border-radius: 9px;
  background: #0b1017;
}

.whapp-streamer-sitewide-image img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: cover;
}

.whapp-streamer-sitewide > div {
  min-width: 0;
}

.whapp-streamer-sitewide strong {
  display: block;
  margin-bottom: 4px;
  color: var(--wh-text);
  font-size: 14px;
}

.whapp-streamer-sitewide p {
  margin: 0;
  color: var(--wh-muted);
  font-size: 12px;
  line-height: 1.55;
}

.whapp-streamer-sitewide p a,
.whapp-streamer-sitewide-download {
  color: var(--wh-accent);
}

.whapp-streamer-sitewide-download {
  display: inline-block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 620px) {
  .whapp-streamer-sitewide {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }

  .whapp-streamer-sitewide-image img {
    height: 58px;
  }
}

/* Guild requests and manager editor */
.whaccount-tabs {
  display: inline-flex;
  gap: 5px;
  width: max-content;
  max-width: 100%;
  padding: 5px;
  border: 1px solid var(--wh-line);
  border-radius: 12px;
  background: #0e131a;
}

.whaccount-tabs button {
  padding: 10px 15px;
  color: #aab5c5;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.whaccount-tabs button.is-active {
  color: #161109;
  background: var(--wh-accent);
}

.whaccount-guild-requests .whapp-shell {
  margin-top: 0;
}

.whapp-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: 20px;
}

.whapp-guild-list {
  display: grid;
  align-content: start;
  gap: 9px;
}

.whapp-guild-card {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  color: var(--wh-text) !important;
  border: 1px solid var(--wh-line);
  border-radius: 11px;
  background: var(--wh-card);
  text-decoration: none !important;
}

.whapp-guild-card:hover,
.whapp-guild-card.is-active {
  border-color: var(--wh-accent);
  background: #292315;
}

.whapp-guild-card span {
  color: var(--wh-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.whapp-guild-card small { color: var(--wh-muted); }
.whapp-editor { min-width: 0; }

.whapp-editor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wh-line);
}

.whapp-editor-head span {
  color: var(--wh-accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.whapp-editor-head h3 {
  margin: 2px 0 0;
  color: var(--wh-text);
  font-size: 24px;
}

.whapp-editor-head small {
  max-width: 280px;
  color: var(--wh-muted);
  text-align: right;
}

.whapp-current-logo {
  display: block;
  width: 92px;
  height: 92px;
  margin-bottom: 4px;
  border: 1px solid var(--wh-line);
  border-radius: 12px;
  object-fit: cover;
}

/* Guild page dock and modals */
.whapp-guild-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99980;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid #3a4555;
  border-radius: 14px;
  background: rgba(13, 18, 25, .94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .42);
  backdrop-filter: blur(14px);
}

.whapp-guild-dock button,
.whapp-guild-dock a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 14px;
  color: #eceff4 !important;
  border: 1px solid #303a49;
  border-radius: 9px;
  background: #171e28;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
}

.whapp-guild-dock button {
  color: #15110a !important;
  border-color: var(--wh-accent);
  background: var(--wh-accent);
}

.whapp-modal[hidden] { display: none !important; }

.whapp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.whapp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 11, .82);
  backdrop-filter: blur(7px);
}

.whapp-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid #354154;
  border-radius: 20px;
  background: #0f141c;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .62);
}

.whapp-modal-dialog .whapp-shell {
  margin: 0;
  border: 0;
  box-shadow: none;
}

html body .whapp-modal .whapp-modal-dialog > button.whapp-modal-close {
  position: sticky !important;
  top: 12px !important;
  z-index: 3 !important;
  display: grid !important;
  float: right !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 12px 12px -48px 0 !important;
  padding: 0 !important;
  place-items: center !important;
  color: #dce4ee !important;
  border: 1px solid #3a4658 !important;
  border-radius: 999px !important;
  background: #161e29 !important;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .34) !important;
  appearance: none !important;
  cursor: pointer !important;
}

html body .whapp-modal .whapp-modal-dialog > button.whapp-modal-close::before,
html body .whapp-modal .whapp-modal-dialog > button.whapp-modal-close::after {
  display: none !important;
  content: none !important;
}

html body .whapp-modal .whapp-modal-dialog > button.whapp-modal-close svg {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
}

html body .whapp-modal .whapp-modal-dialog > button.whapp-modal-close:hover {
  color: #fff !important;
  border-color: var(--wh-accent, #f0b429) !important;
  background: #202a37 !important;
}

html body .whapp-modal .whapp-modal-dialog > button.whapp-modal-close:focus-visible {
  outline: 2px solid var(--wh-accent, #f0b429) !important;
  outline-offset: 2px !important;
}

body.whapp-modal-open { overflow: hidden; }

.whapp-page-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100010;
  width: min(520px, calc(100vw - 30px));
  transform: translateX(-50%);
}

.whapp-page-toast .whapp-notice {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
}

.whapp-shell [hidden],
.whapp-dashboard [hidden],
.whaccount-page [hidden] {
  display: none !important;
}

.whapp-hp {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .whprofile-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .whprofile-nav {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .whprofile-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .whaccount-connections,
  .whapp-connections-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .whprofile-shell {
    margin: 24px 0;
  }

  .whprofile-top {
    align-items: flex-start;
  }

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

  .whaccount-progress {
    grid-column: 1 / -1;
    width: 100%;
    text-align: left;
  }

  .whaccount-actions,
  .whapp-grid,
  .whapp-grid-sub {
    grid-template-columns: 1fr;
  }

  .whapp-span-2,
  .whapp-grid-sub {
    grid-column: auto;
  }

  .whapp-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .whapp-guild-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whapp-editor-head {
    display: block;
  }

  .whapp-editor-head small {
    display: block;
    margin-top: 6px;
    text-align: left;
  }

  .whapp-guild-dock {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .whapp-guild-dock > * {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .whapp-shell,
  .whapp-dashboard,
  .whaccount-panel {
    padding: 16px;
    border-radius: 13px;
  }

  .whaccount-hero {
    padding: 18px;
  }

  .whaccount-avatar img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .whaccount-actions,
  .whapp-guild-list {
    grid-template-columns: 1fr;
  }

  .whaccount-application {
    grid-template-columns: 10px minmax(0, 1fr);
  }

  .whaccount-status {
    grid-column: 2;
    width: max-content;
  }

  .whaccount-tabs {
    display: grid;
    width: 100%;
  }

  .whapp-connection-status {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .whapp-connection-status > a {
    margin-left: 64px;
  }

  .whapp-guild-dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Compact standalone profile */
body.wowhub-profile-page #Content {
  padding-top: 0;
}

body.wowhub-profile-page #Content .section_wrapper {
  max-width: 1200px;
}

.wowhub-profile-page .whprofile-shell {
  margin: 8px 0 24px;
}

.wowhub-profile-page .whprofile-top {
  margin-bottom: 12px;
}

.wowhub-profile-page .whprofile-top strong {
  font-size: clamp(18px, 2vw, 22px);
}

.wowhub-profile-page .whprofile-top > a {
  font-size: 14px;
}

.wowhub-profile-page .whprofile-layout {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
}

.wowhub-profile-page .whprofile-nav {
  gap: 3px;
  padding: 8px;
  border-radius: 13px;
}

.wowhub-profile-page .whprofile-nav a {
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
}

.wowhub-profile-page .whaccount-dashboard,
.wowhub-profile-page .whaccount-page {
  gap: 14px;
}

.wowhub-profile-page .whaccount-page-head {
  padding-bottom: 12px;
}

.wowhub-profile-page .whaccount-page-head h1 {
  margin: 3px 0 5px;
  font-size: clamp(25px, 3vw, 30px);
}

.wowhub-profile-page .whaccount-page-head p,
.wowhub-profile-page .whapp-heading p,
.wowhub-profile-page .whaccount-hero p {
  max-width: 720px;
  font-size: 14px;
  line-height: 1.5;
}

.wowhub-profile-page .whapp-shell,
.wowhub-profile-page .whapp-dashboard {
  margin: 0;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .2);
}

.wowhub-profile-page .whapp-heading {
  margin-bottom: 15px;
}

.wowhub-profile-page .whapp-heading h2 {
  margin: 3px 0 5px;
  font-size: clamp(23px, 3vw, 28px);
}

.wowhub-profile-page .whapp-kicker {
  font-size: 10px;
}

.wowhub-profile-page .whapp-form {
  gap: 13px;
}

.wowhub-profile-page .whapp-grid,
.wowhub-profile-page .whapp-grid-sub {
  gap: 11px 13px;
}

.wowhub-profile-page .whapp-field {
  gap: 5px;
}

.wowhub-profile-page .whapp-field > span {
  font-size: 12px;
}

.wowhub-profile-page .whapp-field input[type=text],
.wowhub-profile-page .whapp-field input[type=email],
.wowhub-profile-page .whapp-field input[type=url],
.wowhub-profile-page .whapp-field input[type=number],
.wowhub-profile-page .whapp-field input[type=file],
.wowhub-profile-page .whapp-field select,
.wowhub-profile-page .whapp-field textarea,
.wowhub-profile-page .whapp-form > label textarea {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.wowhub-profile-page .whapp-field textarea {
  min-height: 86px;
}

.wowhub-profile-page .whapp-check {
  font-size: 12px;
}

.wowhub-profile-page .whapp-primary,
.wowhub-profile-page .whapp-twitch-button {
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14px;
}

.wowhub-profile-page .whaccount-tabs {
  padding: 4px;
  border-radius: 10px;
}

.wowhub-profile-page .whaccount-tabs button {
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
}

.wowhub-profile-page .whaccount-hero {
  gap: 14px;
  padding: 20px;
  border-radius: 15px;
}

.wowhub-profile-page .whaccount-avatar img {
  width: 58px;
  height: 58px;
  border-radius: 13px;
}

.wowhub-profile-page .whaccount-hero h1 {
  margin: 2px 0 5px;
  font-size: clamp(23px, 3vw, 29px);
}

.wowhub-profile-page .whaccount-progress {
  min-width: 110px;
}

.wowhub-profile-page .whaccount-progress strong {
  font-size: 24px;
}

.wowhub-profile-page .whaccount-actions {
  gap: 9px;
}

.wowhub-profile-page .whaccount-action {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 60px;
  padding: 10px;
  border-radius: 11px;
}

.wowhub-profile-page .whaccount-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 16px;
}

.wowhub-profile-page .whaccount-action strong {
  font-size: 14px;
}

.wowhub-profile-page .whaccount-action small {
  font-size: 12px;
}

.wowhub-profile-page .whaccount-panel {
  padding: 18px;
  border-radius: 14px;
}

.wowhub-profile-page .whaccount-panel-head {
  margin-bottom: 12px;
}

.wowhub-profile-page .whaccount-panel-head h2 {
  font-size: 20px;
}

.wowhub-profile-page .whaccount-empty {
  padding: 22px 16px;
}

.wowhub-profile-page .whaccount-connections {
  gap: 10px;
}

.wowhub-profile-page .whaccount-connection {
  gap: 12px;
  min-height: 150px;
  padding: 15px;
  border-radius: 12px;
}

.wowhub-profile-page .whaccount-service {
  padding-bottom: 10px;
}

.wowhub-profile-page .whaccount-service span {
  font-size: 17px;
}

.wowhub-profile-page .whapp-dashboard-grid {
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 16px;
}

.wowhub-profile-page .whapp-guild-card {
  padding: 10px 11px;
  border-radius: 9px;
}

.wowhub-profile-page .whapp-editor-head {
  padding-bottom: 10px;
}

.wowhub-profile-page .whapp-editor-head h3 {
  font-size: 20px;
}

.wowhub-profile-page .whapp-editor-head small {
  max-width: 240px;
  font-size: 12px;
}

.wowhub-profile-page .whapp-current-logo {
  width: 72px;
  height: 72px;
}

/* Clear Retail / Classic segmented switch */
.whapp-game-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(155px, 1fr));
  gap: 6px;
  width: min(100%, 430px);
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid #303b4c;
  border-radius: 13px;
  background: #0b1017;
}

.whapp-game-switch label {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  box-sizing: border-box;
  padding: 8px 10px;
  color: #c5cedb;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #151c26;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.whapp-game-switch label:hover {
  border-color: #59677b;
}

.whapp-game-switch label.is-selected,
.whapp-game-switch label:has(input:checked) {
  color: #17120a;
  border-color: #ffd166;
  background: linear-gradient(135deg, #ffd166, #f0b429);
  box-shadow: 0 7px 18px rgba(240, 180, 41, .22);
}

.whapp-game-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.whapp-game-switch label:focus-within {
  outline: 2px solid #82b7ff;
  outline-offset: 2px;
}

.whapp-game-check {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: transparent;
  border: 1px solid #536073;
  border-radius: 50%;
  background: #0e141d;
  font-size: 14px;
  font-weight: 900;
}

.whapp-game-switch label.is-selected .whapp-game-check,
.whapp-game-switch label:has(input:checked) .whapp-game-check {
  color: #ffd166;
  border-color: #17120a;
  background: #17120a;
}

.whapp-game-copy {
  display: grid;
  min-width: 0;
}

.whapp-game-copy strong {
  color: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.whapp-game-copy small {
  overflow: hidden;
  color: #8794a8;
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whapp-game-switch label.is-selected .whapp-game-copy small,
.whapp-game-switch label:has(input:checked) .whapp-game-copy small {
  color: rgba(23, 18, 10, .72);
}

.whapp-game-state {
  position: absolute;
  top: 5px;
  right: 7px;
  display: none;
  color: rgba(23, 18, 10, .68);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.whapp-game-switch label.is-selected .whapp-game-state,
.whapp-game-switch label:has(input:checked) .whapp-game-state {
  display: block;
}

@media (max-width: 980px) {
  .wowhub-profile-page .whprofile-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .wowhub-profile-page .whprofile-nav {
    padding: 6px;
  }

  .wowhub-profile-page .whapp-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .wowhub-profile-page .whprofile-shell {
    margin-top: 4px;
  }

  .wowhub-profile-page .whapp-shell,
  .wowhub-profile-page .whapp-dashboard,
  .wowhub-profile-page .whaccount-panel {
    padding: 14px;
  }

  .whapp-game-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whapp-game-switch label {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  .whapp-game-check {
    width: 22px;
    height: 22px;
  }

  .whapp-game-state {
    display: none !important;
  }
}

/* Guild manager workspace */
.wowhub-profile-page .whapp-dashboard > .whapp-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin-bottom: 16px;
}

.wowhub-profile-page .whapp-dashboard-grid {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.wowhub-profile-page .whapp-guild-sidebar {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--wh-line);
  border-radius: 12px;
  background: #0d131b;
}

.wowhub-profile-page .whapp-guild-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 2px 9px;
}

.wowhub-profile-page .whapp-guild-sidebar-head strong {
  color: var(--wh-text);
  font-size: 13px;
}

.wowhub-profile-page .whapp-guild-sidebar-head span {
  min-width: 24px;
  padding: 2px 7px;
  color: #17120a;
  border-radius: 999px;
  background: var(--wh-accent);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.wowhub-profile-page .whapp-guild-search {
  display: block;
  margin-bottom: 8px;
}

.wowhub-profile-page .whapp-guild-search .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wowhub-profile-page .whapp-guild-search input {
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
  padding: 7px 10px;
  color: var(--wh-text);
  border: 1px solid #334053;
  border-radius: 8px;
  outline: none;
  background: #111822;
  font-size: 12px;
}

.wowhub-profile-page .whapp-guild-search input:focus {
  border-color: var(--wh-accent);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, .12);
}

.wowhub-profile-page .whapp-guild-list {
  display: grid;
  align-content: start;
  gap: 6px;
  max-height: min(66vh, 590px);
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: #48566a transparent;
}

.wowhub-profile-page .whapp-guild-card {
  gap: 2px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 8px;
}

.wowhub-profile-page .whapp-guild-card strong,
.wowhub-profile-page .whapp-guild-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wowhub-profile-page .whapp-guild-card strong {
  font-size: 13px;
}

.wowhub-profile-page .whapp-guild-card small {
  font-size: 11px;
}

.wowhub-profile-page .whapp-guild-card.is-active {
  border-color: var(--wh-accent);
  background: linear-gradient(135deg, #302813, #251f12);
  box-shadow: inset 3px 0 var(--wh-accent);
}

.wowhub-profile-page .whapp-guild-list-empty {
  padding: 22px 10px;
  color: var(--wh-muted);
  font-size: 12px;
  text-align: center;
}

.wowhub-profile-page .whapp-editor {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--wh-line);
  border-radius: 14px;
  background: linear-gradient(145deg, #141b25, #10161f);
}

.wowhub-profile-page .whapp-editor-form {
  gap: 14px;
}

.wowhub-profile-page .whapp-editor-head {
  align-items: center;
  margin-bottom: 2px;
  padding-bottom: 12px;
}

.wowhub-profile-page .whapp-editor-head > div {
  min-width: 0;
}

.wowhub-profile-page .whapp-editor-head h3 {
  overflow: hidden;
  margin-top: 3px;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wowhub-profile-page .whapp-editor-head > small {
  display: inline-flex;
  align-items: center;
  max-width: 260px;
  padding: 6px 9px;
  color: #aeb9c9;
  border: 1px solid #303c4d;
  border-radius: 8px;
  background: #0d131b;
  font-size: 10px;
  line-height: 1.35;
  text-align: left;
}

.wowhub-profile-page .whapp-logo-field {
  padding: 11px;
  border: 1px solid #283445;
  border-radius: 10px;
  background: #0e151e;
}

.wowhub-profile-page .whapp-logo-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.wowhub-profile-page .whapp-current-logo,
.wowhub-profile-page .whapp-logo-placeholder {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0;
  place-items: center;
  color: var(--wh-accent);
  border: 1px solid #3a4657;
  border-radius: 10px;
  background: #151d28;
  object-fit: cover;
  font-size: 22px;
  font-weight: 900;
}

.wowhub-profile-page .whapp-logo-upload {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.wowhub-profile-page .whapp-logo-upload input[type=file] {
  min-width: 0;
  padding: 5px;
  font-size: 12px;
}

.wowhub-profile-page .whapp-logo-upload input[type=file]::file-selector-button {
  margin-right: 8px;
  padding: 6px 9px;
  color: #17120a;
  border: 0;
  border-radius: 6px;
  background: var(--wh-accent);
  font-weight: 800;
  cursor: pointer;
}

.wowhub-profile-page .whapp-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
  border: 1px solid #283445;
  border-radius: 10px;
  background: #0e151e;
}

.wowhub-profile-page .whapp-check-grid .whapp-check {
  min-height: 28px;
  align-items: center;
}

.wowhub-profile-page .whapp-editor-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 2px;
  padding-top: 13px;
  border-top: 1px solid var(--wh-line);
}

.wowhub-profile-page .whapp-editor-actions > span {
  margin-right: auto;
  color: var(--wh-muted);
  font-size: 10px;
  line-height: 1.4;
}

.wowhub-profile-page .whapp-editor-actions .whapp-primary {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .wowhub-profile-page .whapp-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wowhub-profile-page .whapp-guild-list {
    display: flex;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
  }

  .wowhub-profile-page .whapp-guild-card {
    flex: 0 0 180px;
  }
}

@media (max-width: 620px) {
  .wowhub-profile-page .whapp-editor {
    padding: 13px;
  }

  .wowhub-profile-page .whapp-editor-head {
    display: grid;
  }

  .wowhub-profile-page .whapp-editor-head > small {
    max-width: none;
  }

  .wowhub-profile-page .whapp-logo-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .wowhub-profile-page .whapp-check-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wowhub-profile-page .whapp-editor-actions {
    display: grid;
  }

  .wowhub-profile-page .whapp-editor-actions .whapp-primary {
    width: 100%;
  }
}

/* Guild promotion panel */
.wowhub-profile-page .whapp-promo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #4e4124;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(240, 180, 41, .12), #0e151e 48%);
}

.wowhub-profile-page .whapp-promo-panel.is-active {
  border-color: #99701d;
  box-shadow: inset 3px 0 var(--wh-accent);
}

.wowhub-profile-page .whapp-promo-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.wowhub-profile-page .whapp-promo-copy > span {
  color: var(--wh-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wowhub-profile-page .whapp-promo-copy > strong {
  color: var(--wh-text);
  font-size: 14px;
}

.wowhub-profile-page .whapp-promo-copy > small {
  max-width: 660px;
  color: var(--wh-muted);
  font-size: 10px;
  line-height: 1.45;
}

.wowhub-profile-page .whapp-promo-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.wowhub-profile-page .whapp-promo-status {
  color: #c4cedb;
  font-size: 10px;
  white-space: nowrap;
}

.wowhub-profile-page .whapp-promo-panel.is-active .whapp-promo-status {
  color: #a9eac5;
}

.wowhub-profile-page .whapp-promo-buy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.wowhub-profile-page .whapp-promo-buy small {
  padding-left: 7px;
  border-left: 1px solid rgba(23, 18, 10, .28);
  color: inherit;
  font-size: 10px;
}

.wowhub-profile-page .whapp-logo-upload small strong {
  color: var(--wh-accent);
}

@media (max-width: 760px) {
  .wowhub-profile-page .whapp-promo-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .wowhub-profile-page .whapp-promo-side {
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .wowhub-profile-page .whapp-promo-side {
    display: grid;
  }

  .wowhub-profile-page .whapp-promo-buy {
    justify-content: center;
    width: 100%;
  }
}

/* Compact WooCommerce orders */
.wowhub-profile-page .whprofile-woo-orders {
  min-height: 0;
  padding: 18px;
  overflow: hidden;
}

.wowhub-profile-page .whprofile-woo-orders h1 {
  margin: 3px 0 14px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.1;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table {
  width: 100%;
  margin: 0;
  border: 1px solid #2b3646;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #0d131b;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table th,
.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table td {
  box-sizing: border-box;
  padding: 10px 12px !important;
  color: #dce3ec !important;
  border: 0 !important;
  border-right: 1px solid #273140 !important;
  border-bottom: 1px solid #273140 !important;
  background: #111821 !important;
  font-size: 13px;
  line-height: 1.35;
  vertical-align: middle;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table thead th {
  color: #aebbd0 !important;
  background: #18212d !important;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table tbody tr:nth-child(even) td {
  background: #0f161f !important;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table tr > :last-child {
  border-right: 0 !important;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table__cell-order-number a {
  color: var(--wh-accent) !important;
  font-weight: 850;
  text-decoration: none !important;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table__cell-order-total {
  color: #c6d0dd !important;
  white-space: nowrap;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table__cell-order-actions {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-button,
.wowhub-profile-page .whprofile-woo-orders .woocommerce-Button,
.wowhub-profile-page .whprofile-woo-orders a.button {
  display: inline-flex;
  min-height: 34px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 7px 11px !important;
  color: #17120a !important;
  border: 1px solid #f4c651 !important;
  border-radius: 7px !important;
  background: linear-gradient(135deg, var(--wh-accent-soft), var(--wh-accent)) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-button::after,
.wowhub-profile-page .whprofile-woo-orders .woocommerce-Button::after,
.wowhub-profile-page .whprofile-woo-orders a.button::after {
  display: none !important;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.wowhub-profile-page .whprofile-woo-orders .woocommerce-pagination a {
  min-width: 82px;
}

@media (max-width: 768px) {
  .wowhub-profile-page .whprofile-woo-orders {
    padding: 14px;
  }

  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table,
  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table tbody,
  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table tr,
  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table td {
    display: block;
    width: 100%;
  }

  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table thead {
    display: none;
  }

  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table tr {
    border-bottom: 1px solid #2b3646;
  }

  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table tr:last-child {
    border-bottom: 0;
  }

  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table td {
    display: grid;
    grid-template-columns: minmax(105px, .7fr) minmax(0, 1fr);
    gap: 12px;
    text-align: right !important;
  }

  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table td::before {
    content: attr(data-title);
    color: #8795a8;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
  }

  .wowhub-profile-page .whprofile-woo-orders .woocommerce-orders-table__cell-order-actions {
    display: flex;
    justify-content: flex-end;
  }
}

/* Unified profile action icons and guild-role proof */
.wowhub-profile-page .whaccount-action-icon {
  color: var(--wh-accent);
  border: 1px solid rgba(240, 180, 41, .34);
  background: rgba(240, 180, 41, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.wowhub-profile-page .whaccount-action-icon.is-connect {
  color: #6db8ff;
  border-color: rgba(77, 163, 255, .38);
  background: rgba(77, 163, 255, .12);
}

.wowhub-profile-page .whaccount-action-icon.is-guild {
  color: #f6bf36;
  border-color: rgba(240, 180, 41, .38);
  background: rgba(240, 180, 41, .12);
}

.wowhub-profile-page .whaccount-action-icon.is-claim {
  color: #b6a3ff;
  border-color: rgba(165, 140, 255, .38);
  background: rgba(165, 140, 255, .12);
}

.wowhub-profile-page .whaccount-action-icon.is-edit {
  color: #63dca0;
  border-color: rgba(70, 209, 140, .38);
  background: rgba(70, 209, 140, .12);
}

.wowhub-profile-page .whaccount-action-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wowhub-profile-page .whaccount-action > b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #768399;
}

.wowhub-profile-page .whaccount-action > b svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wowhub-profile-page .whaccount-action:hover > b {
  color: var(--wh-accent);
  transform: translateX(2px);
}

.whapp-proof-field {
  padding: 12px;
  border: 1px dashed #3b485b;
  border-radius: 10px;
  background: #0e151e;
}

.whapp-proof-field input[type=file] {
  min-height: 42px;
  padding: 5px;
  font-size: 12px;
}

.whapp-proof-field input[type=file]::file-selector-button {
  margin-right: 9px;
  padding: 7px 10px;
  color: #17120a;
  border: 0;
  border-radius: 6px;
  background: var(--wh-accent);
  font-weight: 850;
  cursor: pointer;
}

.whapp-proof-field small {
  max-width: 780px;
  color: #9aa8ba;
  line-height: 1.45;
}

.whapp-proof-field small strong {
  color: var(--wh-accent);
}

