.zhelp-page, .zhelp-widget {
  color: #f8efff;
  font: 400 15px/1.5 "DM Sans", system-ui, sans-serif;
}
.zhelp-page {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at top right, #2e1846, transparent 58%), #0d0918;
}
.zhelp-main { width: min(700px, calc(100% - 36px)); margin: auto; padding: 54px 0; }
.zhelp-main h1 { margin: 18px 0 4px; font-size: clamp(32px, 6vw, 54px); line-height: 1.1; }
.zhelp-main > p { color: #d5c6e5; margin: 10px 0 22px; }
.zhelp-back, .zhelp-center-link { color: #e6c6ff; text-decoration: underline; text-underline-offset: 3px; }
.zhelp-widget {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9000;
}
body:has(#zorvi-announcement:not([hidden])) .zhelp-widget { bottom: calc(96px + env(safe-area-inset-bottom)); }
body:has(.zpv-overlay) .zhelp-widget, .tv-playing .zhelp-widget { display: none; }
.zhelp-card {
  box-sizing: border-box;
  border: 1px solid #a97dd06b;
  border-radius: 19px;
  padding: 19px;
  background: #1d132d;
  box-shadow: 0 14px 38px #08050fb3;
}
.zhelp-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 9px);
  width: min(365px, calc(100vw - 32px));
  max-height: min(72dvh, calc(100dvh - 160px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.zhelp-panel[hidden] { display: none; }
.zhelp-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.zhelp-header h2 { margin: 0; font-size: 19px; }
.zhelp-card h3 { margin: 14px 0 7px; font-size: 14px; }
.zhelp-form { display: grid; gap: 8px; }
.zhelp-form label { color: #f8efff; font-weight: 650; }
.zhelp-form textarea {
  box-sizing: border-box;
  width: 100%;
  resize: vertical;
  border: 1px solid #9e78bd;
  border-radius: 10px;
  padding: 9px 10px;
  background: #130e20;
  color: #fff;
  font: inherit;
}
.zhelp-form textarea::placeholder { color: #bbaccb; }
.zhelp-toggle, .zhelp-submit, .zhelp-close, .zhelp-topics button {
  min-height: 34px;
  border: 1px solid #b88cde;
  border-radius: 10px;
  padding: 5px 10px;
  background: #302043;
  color: #fff1ff;
  font: inherit;
  cursor: pointer;
}
.zhelp-toggle, .zhelp-submit { background: #bf97ee; color: #1d112e; font-weight: 750; }
.zhelp-toggle { min-height: 44px; border-radius: 24px; padding: 5px 17px; box-shadow: 0 5px 20px #10091b99; }
.zhelp-submit { justify-self: start; }
.zhelp-close { min-width: 34px; padding: 0; font-size: 21px; }
.zhelp-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.zhelp-topics button { font-size: 12px; }
.zhelp-card button:hover, .zhelp-toggle:hover { filter: brightness(1.18); }
.zhelp-card :focus-visible, .zhelp-toggle:focus-visible { outline: 2px solid #f4cbff; outline-offset: 2px; }
.zhelp-result:not(:empty) { margin-top: 12px; padding: 1px 12px; border-left: 2px solid #c99aef; background: #251935; }
.zhelp-result ol { margin: 0 0 10px; padding-left: 19px; }
.zhelp-result li + li { margin-top: 4px; }
.zhelp-privacy { margin: 12px 0 6px; color: #c5b5d6; font-size: 12px; }
.zhelp-center-link { display: inline-block; margin-top: 3px; }
