.pt-help-controls {
  --hc-ink: #f2f7ff;
  --hc-muted: #b4c8e6;
  --hc-cyan: #8eeaff;
  --hc-blue: #203c78;
  --hc-deep: #101e42;
  --hc-line: #3d5688;
  --hc-focus: #ffdf85;
  color: var(--hc-ink);
  background: var(--hc-deep);
  font: calc(15px * var(--sq-ui-scale, 1))/1.5 "Trebuchet MS", sans-serif;
  text-align: left;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  container-type: inline-size;
}
.pt-help-controls *, .pt-help-controls *::before, .pt-help-controls *::after { box-sizing: border-box; }
.pt-help-controls [hidden] { display: none !important; }
.pt-help-controls h2, .pt-help-controls h3, .pt-help-controls h4, .pt-help-controls p, .pt-help-controls dl, .pt-help-controls dd { margin: 0; }
.pt-help-controls button, .pt-help-controls input, .pt-help-controls select { font: inherit; color: inherit; border-radius: 3px; }
.pt-help-controls button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--hc-line);
  background: #1a3060;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
}
.pt-help-controls button:hover { background: #28477f; border-color: var(--hc-cyan); }
.pt-help-controls button:disabled { opacity: .55; cursor: default; }
.pt-help-controls :is(button, input, select, summary):focus-visible { outline: 3px solid var(--hc-focus); outline-offset: 3px; }
.pt-help-controls .hc-eyebrow { color: var(--hc-cyan); font-size: 10px; font-weight: bold; letter-spacing: .14em; line-height: 1.6; }
.pt-help-controls .hc-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 28px 24px;
  overflow: hidden;
  border-bottom: 3px solid var(--hc-cyan);
  background: repeating-linear-gradient(120deg, transparent 0 58px, #83c5ff0c 59px 60px, transparent 61px 100px), linear-gradient(105deg, #233f80, #16284f);
}
.pt-help-controls .hc-header::after { content: ""; position: absolute; z-index: -1; width: 170px; height: 170px; right: 11%; top: -90px; border: 28px solid #8eeaff10; transform: rotate(32deg); pointer-events: none; }
.pt-help-controls .hc-header h2 { margin-top: 5px; font: 38px/1.1 ForcedSquare, "Trebuchet MS", sans-serif; letter-spacing: .01em; color: #fff; }
.pt-help-controls .hc-view-switch { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid #6984b1; background: #0e1e42; border-radius: 5px; }
.pt-help-controls .hc-view-switch button { min-height: 44px; background: transparent; border-color: transparent; font-size: 13px; text-align: center; }
.pt-help-controls .hc-view-switch button[aria-pressed="true"] { background: var(--hc-cyan); color: #102044; font-weight: bold; }
.pt-help-controls .hc-briefing { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding: 22px 28px; background: #192d57; border-bottom: 1px solid var(--hc-line); }
.pt-help-controls .hc-essentials { margin: 0 28px 24px; border: 1px solid var(--hc-line); border-radius: 4px; }
.pt-help-controls .hc-essentials > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-height: 52px; padding: 12px 16px; list-style: none; cursor: pointer; color: var(--hc-ink); background: #192d57; }
.pt-help-controls .hc-essentials > summary::-webkit-details-marker { display: none; }
.pt-help-controls .hc-essentials > summary > span:not(.hc-chevron) { flex: 1; color: var(--hc-muted); font-size: 12px; }
.pt-help-controls .hc-essentials .hc-chevron { margin-left: auto; }
.pt-help-controls .hc-essentials[open] .hc-chevron { transform: rotate(225deg); }
.pt-help-controls .hc-essentials .hc-briefing { border-bottom: 0; border-top: 1px solid var(--hc-line); }
.pt-help-controls .hc-briefing section { min-width: 0; padding: 0 18px; border-left: 1px solid var(--hc-line); }
.pt-help-controls .hc-briefing section:first-child { padding-left: 0; border-left: 0; }
.pt-help-controls .hc-briefing section:last-child { padding-right: 0; }
.pt-help-controls .hc-briefing h3 { color: #edf7ff; font-size: 14px; line-height: 1.3; }
.pt-help-controls .hc-briefing p { color: var(--hc-muted); margin-top: 7px; font-size: 12px; line-height: 1.6; }
.pt-help-controls .hc-briefing button, .pt-help-controls .hc-group-footer button { margin-top: 8px; padding: 6px 0; border: 0; background: transparent; color: var(--hc-cyan); font-size: 13px; font-weight: bold; }
.pt-help-controls .hc-briefing button span, .pt-help-controls .hc-group-footer button span { padding-left: 6px; }
.pt-help-controls .hc-search { padding: 24px 28px 20px; }
.pt-help-controls .hc-search label { display: block; margin-bottom: 8px; color: var(--hc-ink); font-size: 16px; font-weight: bold; }
.pt-help-controls .hc-search-field { display: flex; align-items: center; gap: 10px; padding: 4px 5px 4px 16px; border: 1px solid #7592bb; background: #0a1734; border-radius: 4px; }
.pt-help-controls .hc-search-field:focus-within { border-color: var(--hc-cyan); }
.pt-help-controls .hc-search input { min-width: 0; flex: 1; min-height: 44px; width: 100%; padding: 6px 2px; border: 0; background: transparent; font-size: 16px; appearance: none; }
.pt-help-controls .hc-search input::placeholder { color: #a2b6d7; opacity: 1; }
.pt-help-controls .hc-search button { flex-shrink: 0; font-size: 12px; }
.pt-help-controls .hc-search-icon { position: relative; flex: 0 0 14px; width: 14px; height: 14px; border: 2px solid var(--hc-cyan); border-radius: 50%; margin-right: 3px; }
.pt-help-controls .hc-search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; background: var(--hc-cyan); right: -6px; bottom: -3px; transform: rotate(45deg); }
.pt-help-controls .hc-search > p { margin-top: 9px; font-size: 12px; color: var(--hc-muted); }
.pt-help-controls .hc-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; padding: 0 28px 28px; align-items: start; }
.pt-help-controls .hc-count { flex-shrink: 0; min-width: 22px; font: 11px/1.4 Consolas, monospace; color: var(--hc-muted); text-align: center; }
.pt-help-controls .hc-results { min-width: 0; }
.pt-help-controls .hc-results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 2px 0 13px; }
.pt-help-controls .hc-results-head h3 { font-size: 15px; color: var(--hc-ink); }
.pt-help-controls .hc-results-head p { font-size: 11px; color: var(--hc-muted); }
.pt-help-controls .hc-group { min-width: 0; margin-bottom: 8px; border: 1px solid var(--hc-line); border-radius: 4px; background: #14264f; overflow: clip; }
.pt-help-controls .hc-group[open] { border-color: #5878ab; }
.pt-help-controls .hc-group summary { display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 68px; cursor: pointer; list-style: none; background: #1c3464; touch-action: manipulation; }
.pt-help-controls .hc-group summary::-webkit-details-marker { display: none; }
.pt-help-controls .hc-group summary:hover { background: #263f73; }
.pt-help-controls .hc-group summary:focus-visible { outline-offset: -4px; }
.pt-help-controls .hc-summary-copy { flex: 1; min-width: 0; }
.pt-help-controls .hc-summary-copy strong { display: block; color: #fff; font-size: 15px; line-height: 1.3; }
.pt-help-controls .hc-summary-copy small { display: block; color: var(--hc-muted); font-size: 11px; line-height: 1.5; margin-top: 4px; }
.pt-help-controls .hc-chevron { width: 7px; height: 7px; flex-shrink: 0; border-right: 2px solid var(--hc-cyan); border-bottom: 2px solid var(--hc-cyan); transform: rotate(45deg); margin: -3px 3px 0 1px; }
.pt-help-controls .hc-group[open] .hc-chevron { transform: rotate(225deg); margin-top: 3px; }
.pt-help-controls .hc-group dl { padding: 0 16px; }
.pt-help-controls .hc-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(100px,45%); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #344b75; min-width: 0; }
.pt-help-controls .hc-row:last-child { border-bottom: 0; }
.pt-help-controls .hc-row dt { min-width: 0; color: #f4f8ff; font-size: 13px; font-weight: bold; overflow-wrap: anywhere; }
.pt-help-controls .hc-row dt small { display: block; margin-top: 4px; color: var(--hc-muted); font-size: 11px; font-weight: normal; line-height: 1.5; }
.pt-help-controls .hc-custom { display: inline-block; vertical-align: middle; margin-left: 7px; border: 1px solid #5b929e; border-radius: 2px; padding: 0 4px; color: #a0f0dd; font-size: 9px; font-weight: normal; }
.pt-help-controls .hc-keycaps { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 5px; min-width: 0; }
.pt-help-controls .hc-chord { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; max-width: 100%; }
.pt-help-controls .hc-keycaps kbd { display: inline-block; max-width: 100%; padding: 3px 7px; border: 1px solid #9ab5db; border-bottom: 3px solid #58729b; border-radius: 4px; background: #e0ecff; color: #10244b; box-shadow: 0 2px 0 #07162e; font: bold 12px/1.5 Consolas, "Courier New", monospace; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.pt-help-controls .hc-key-separator, .pt-help-controls .hc-plus { font-size: 10px; color: var(--hc-muted); }
.pt-help-controls .hc-unbound { color: var(--hc-muted); font-size: 12px; font-style: italic; }
.pt-help-controls .hc-group-footer { padding: 0 16px 10px; border-top: 1px solid var(--hc-line); }
.pt-help-controls .hc-default-note { font-size: 11px; color: var(--hc-muted); margin-top: 16px; padding-left: 10px; border-left: 2px solid #7198c8; }
.pt-help-controls .hc-empty { padding: 32px 20px; border: 1px dashed #6d8bb9; background: #192d57; text-align: center; }
.pt-help-controls .hc-empty h3 { font-size: 18px; }
.pt-help-controls .hc-empty p { font-size: 13px; color: var(--hc-muted); margin: 8px 0 16px; }
.pt-help-controls .hc-empty button { text-align: center; }
.pt-help-controls .hc-release { padding: 30px 28px 40px; min-height: 300px; background: linear-gradient(135deg,#1a305c,#101e42); }
.pt-help-controls .hc-release h3 { font: 28px/1.2 ForcedSquare, "Trebuchet MS", sans-serif; margin: 8px 0 24px; }
.pt-help-controls .hc-release-meta { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 10px; }
.pt-help-controls .hc-release-meta > div { min-width: 0; padding: 18px; border: 1px solid #5276ac; background: #16294f; }
.pt-help-controls .hc-release-meta dt { color: var(--hc-muted); font-size: 11px; }
.pt-help-controls .hc-release-meta dd { color: var(--hc-cyan); font: 26px/1.3 ForcedSquare, "Trebuchet MS", sans-serif; margin-top: 7px; overflow-wrap: anywhere; }
.pt-help-controls .hc-release h4 { font-size: 15px; margin: 28px 0 10px; }
.pt-help-controls .hc-release ul { padding-left: 20px; font-size: 14px; color: #d3e1f6; }
.pt-help-controls .hc-release li { padding: 4px 0; overflow-wrap: anywhere; }
.pt-help-controls .hc-credits { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 16px 28px; border-top: 1px solid var(--hc-line); background: #0c1938; }
.pt-help-controls .hc-credits p { color: var(--hc-muted); font-size: 10px; }
.pt-help-controls .hc-credits strong { color: #e3edff; font-weight: normal; }
.pt-help-controls .hc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@container (max-width: 700px) {
  .pt-help-controls .hc-header { padding: 22px 18px; gap: 16px; }
  .pt-help-controls .hc-header h2 { font-size: 32px; }
  .pt-help-controls .hc-briefing { padding: 18px; grid-template-columns: 1fr; gap: 16px; }
  .pt-help-controls .hc-briefing section { padding: 0 0 0 12px; border-left: 2px solid var(--hc-line); }
  .pt-help-controls .hc-briefing section:first-child { padding-left: 12px; border-left: 2px solid var(--hc-line); }
  .pt-help-controls .hc-search { padding: 20px 18px; }
  .pt-help-controls .hc-layout { grid-template-columns: 1fr; padding: 0 18px 24px; gap: 22px; }
  .pt-help-controls .hc-essentials { margin-left: 18px; margin-right: 18px; }
  .pt-help-controls .hc-release, .pt-help-controls .hc-credits { padding-left: 18px; padding-right: 18px; }
}
@container (max-width: 400px) {
  .pt-help-controls .hc-header, .pt-help-controls .hc-search { padding-left: 12px; padding-right: 12px; }
  .pt-help-controls .hc-layout { padding-left: 12px; padding-right: 12px; }
  .pt-help-controls .hc-essentials { margin-left: 12px; margin-right: 12px; }
  .pt-help-controls .hc-search-field { gap: 8px; padding-left: 10px; }
  .pt-help-controls .hc-search input { font-size: 14px; }
  .pt-help-controls .hc-search button { padding: 6px 10px; }
  .pt-help-controls .hc-group summary { padding: 12px 10px; gap: 8px; }
  .pt-help-controls .hc-summary-copy strong { font-size: 14px; }
  .pt-help-controls .hc-group dl { padding: 0 12px; }
  .pt-help-controls .hc-row { grid-template-columns: 1fr; gap: 8px; }
  .pt-help-controls .hc-keycaps { justify-content: flex-start; }
  .pt-help-controls .hc-briefing { padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .pt-help-controls .hc-header { animation: hc-arrive .22s ease-out both; }
  @keyframes hc-arrive { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}
@media (forced-colors: active) {
  .pt-help-controls button[aria-pressed="true"] { outline: 2px solid Highlight; }
  .pt-help-controls .hc-search-icon, .pt-help-controls .hc-chevron { border-color: ButtonText; }
  .pt-help-controls .hc-keycaps kbd { border-color: ButtonText; }
}

/* The existing modal toolbar already supplies the heading and reachable Close. */
.overall-help-content .hc-header { padding: 12px 20px; align-items: center; }
.overall-help-content .hc-header h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* State only, no motion: visible feedback also works with reduced motion. */
.pt-help-controls .hc-keycaps kbd.is-pressed { background:#7de5f4; color:#07162e; border-color:#fff; border-bottom-color:#1e7892; box-shadow:inset 0 0 0 1px #14586d; }
@media (forced-colors:active) { .pt-help-controls .hc-keycaps kbd.is-pressed { background:Highlight; color:HighlightText; border-color:Highlight; } }


/* One topic selector replaces a second list of the same disclosure headings. */
.pt-help-controls .hc-search { padding-bottom: 12px; }
.pt-help-controls .hc-topic-picker { display: flex; align-items: center; gap: 12px; padding: 0 28px 22px; }
.pt-help-controls .hc-topic-picker label { flex-shrink: 0; color: var(--hc-muted); font-size: 13px; }
.pt-help-controls .hc-topic-picker select { min-height: 44px; min-width: 0; max-width: 100%; flex: 1; padding: 8px 12px; border: 1px solid var(--hc-line); background: #192d57; color: var(--hc-ink); }
.pt-help-controls .hc-release h3 { margin-top: 0; margin-bottom: 18px; }
.pt-help-controls .hc-release-age { margin-bottom: 20px; padding: 18px 20px; border-left: 3px solid var(--hc-cyan); background: #243f734d; }
.pt-help-controls .hc-age-value { font: 28px/1.3 ForcedSquare, 'Trebuchet MS', sans-serif; color: var(--hc-ink); margin: 6px 0; overflow-wrap: anywhere; }
.pt-help-controls .hc-prepared-date { font-size: 12px; color: var(--hc-muted); overflow-wrap: anywhere; }
@container (max-width:700px) { .pt-help-controls .hc-topic-picker { padding-left: 18px; padding-right: 18px; } }
@container (max-width:400px) {
  .pt-help-controls .hc-topic-picker { padding-left: 12px; padding-right: 12px; flex-wrap: wrap; gap: 6px; }
  .pt-help-controls .hc-topic-picker select { flex-basis: 100%; }
  .pt-help-controls .hc-view-switch { width: 100%; }
  .pt-help-controls .hc-view-switch button { flex: 1; }
  .pt-help-controls .hc-release-meta { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--hc-line); }
  .pt-help-controls .hc-release-meta > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--hc-line); background: transparent; }
  .pt-help-controls .hc-release-meta dd { margin-top: 0; }
}

/* Native Help presentation with readable text and responsive control rows. */
html body #overallLeaderboardPanel #overallHelpPopup { padding: 4px !important; }
html body #overallHelpPopup .overall-help-card { width: min(1200px,calc(var(--sq-available-width,100vw) - 8px)) !important; max-width: calc(var(--sq-available-width,100vw) - 8px) !important; }
html body #overallHelpPopup .overall-help-head { padding: 10px 16px !important; border-bottom-width: 1px; }
html body #overallHelpPopup .overall-help-head h3 { font-size: 28px !important; }
#overallHelpPopup .overall-help-content:has(> .pt-help-controls) { padding: 0 !important; }
.overall-help-content > .pt-help-controls { padding: 0; margin: 0; box-sizing: border-box; }
.overall-help-content .pt-help-controls p { margin-bottom: 0; font-size: inherit; line-height: 1.3 !important; }
.overall-help-content .pt-help-controls :is(.hc-release,.hc-release-age,.hc-briefing section) { margin-bottom: 0; }
.pt-help-controls * { font-style: normal; line-height: inherit; }
#overallHelpPopup .pt-help-controls .hc-age-value { font-size: 28px !important; }
.pt-help-controls {
  --hc-deep: #1d2c5c;
  --hc-muted: #c0d2ee;
  --hc-line: #4b6396;
  font: 22px/1.35 ForcedSquare, "Trebuchet MS", sans-serif;
}
.pt-help-controls :is(button,input,select), .pt-help-controls .hc-group, .pt-help-controls .hc-view-switch { border-radius: 0; }
.pt-help-controls .hc-header { padding: 12px 16px; gap: 10px; align-items: center; border-bottom-width: 1px; background: #253b75; }
.pt-help-controls .hc-header::after { display: none; }
.pt-help-controls .hc-header h2 { margin: 0; font-size: 30px; }
.pt-help-controls .hc-view-switch { gap: 2px; padding: 2px; }
.pt-help-controls .hc-view-switch button { font-size: 20px; font-weight: normal; padding: 6px 12px; }
.pt-help-controls .hc-view-switch button[aria-pressed="true"] { font-weight: normal; }
.pt-help-controls .hc-search { padding: 12px 16px 8px; }
.pt-help-controls .hc-search label { margin-bottom: 5px; font-size: 22px; font-weight: normal; }
.pt-help-controls .hc-search-field { padding: 0 0 0 12px; align-items: stretch; border-radius: 0; }
.pt-help-controls .hc-search-icon { align-self: center; }
.pt-help-controls .hc-search input { font-size: 22px; margin: 0; }
.pt-help-controls .hc-search input::-webkit-search-cancel-button { display: none; }
.pt-help-controls .hc-search button { font-size: 20px; margin: 0; border: 0; border-left: 1px solid var(--hc-line); align-self: stretch; }
.pt-help-controls .hc-search > p { margin-top: 6px; font-size: 19px; line-height: 1.3; }
.pt-help-controls .hc-topic-picker { padding: 0 16px 10px; gap: 10px; flex-wrap: nowrap; }
.pt-help-controls .hc-topic-picker label { font-size: 20px; }
.pt-help-controls .hc-topic-picker select { padding: 6px 10px; font-size: 22px; flex-basis: auto; }
.pt-help-controls .hc-layout { padding: 0 16px 14px; gap: 12px; }
.pt-help-controls .hc-results-head { padding-bottom: 7px; }
.pt-help-controls .hc-results-head h3 { font-size: 22px; font-weight: normal; }
.pt-help-controls .hc-results-head p, .pt-help-controls .hc-count { font: 17px/1.3 ForcedSquare, sans-serif; }
.pt-help-controls .hc-group { margin-bottom: 6px; background: #17264f; }
.pt-help-controls .hc-group summary { min-height: 54px; padding: 8px 12px; gap: 10px; background: #263d74; }
.pt-help-controls .hc-group[open] > summary { box-shadow: inset 3px 0 0 var(--hc-cyan); background: #304b85; }
.pt-help-controls .hc-summary-copy strong { font-size: 24px; font-weight: normal; }
.pt-help-controls .hc-summary-copy small { font-size: 19px; line-height: 1.3; margin-top: 2px; }
.pt-help-controls .hc-group dl { padding: 0 12px; }
.pt-help-controls .hc-row { grid-template-columns: minmax(0,1fr) minmax(90px,40%); gap: 10px; min-height: 44px; padding: 8px 0; }
.pt-help-controls .hc-row dt { font-size: 22px; font-weight: normal; }
.pt-help-controls .hc-row dt small { margin-top: 3px; font-size: 19px; line-height: 1.3; }
.pt-help-controls .hc-row[data-hc-row="overall-search"] { grid-column: 1 / -1; grid-template-columns: minmax(0,1fr) auto; }
.pt-help-controls .hc-query-guide { margin-top: 6px; }
.pt-help-controls .hc-query-guide > summary { display: list-item; min-height: 0; padding: 4px 0; background: transparent; border: 0; color: var(--hc-cyan); font: 19px/1.3 ForcedSquare,sans-serif; list-style-position: inside; }
.pt-help-controls .hc-query-guide p { margin: 6px 0; color: var(--hc-muted); font: 19px/1.3 ForcedSquare,sans-serif; }
.pt-help-controls .hc-custom { font-size: 15px; margin-left: 5px; }
.pt-help-controls .hc-keycaps { justify-content: flex-end; gap: 4px; }
.pt-help-controls .hc-keycaps kbd { padding: 2px 6px; border-radius: 0; font: 20px/1.3 ForcedSquare, sans-serif; }
.pt-help-controls .hc-key-separator, .pt-help-controls .hc-plus, .pt-help-controls .hc-unbound { font-size: 17px; }
.pt-help-controls .hc-group-footer { padding: 0 12px 6px; }
.pt-help-controls .hc-briefing button, .pt-help-controls .hc-group-footer button { margin-top: 4px; font-size: 20px; font-weight: normal; }
.pt-help-controls .hc-default-note { font-size: 19px; margin-top: 10px; }
.pt-help-controls .hc-essentials { margin: 0 16px 14px; border-radius: 0; }
.pt-help-controls .hc-essentials > summary { min-height: 48px; padding: 8px 12px; }
.pt-help-controls .hc-essentials > summary strong { font-weight: normal; }
.pt-help-controls .hc-essentials > summary > span:not(.hc-chevron) { font-size: 17px; }
.pt-help-controls .hc-briefing { padding: 12px; gap: 12px; }
.pt-help-controls .hc-briefing section { padding: 0 12px; }
.pt-help-controls .hc-briefing h3 { font-size: 22px; font-weight: normal; }
.pt-help-controls .hc-briefing p { font-size: 20px; line-height: 1.35; }
.pt-help-controls .hc-empty { padding: 18px 12px; }
.pt-help-controls .hc-empty h3 { font-size: 24px; font-weight: normal; }
.pt-help-controls .hc-empty p { font-size: 18px; }
.pt-help-controls .hc-release { min-height: 0; padding: 16px; background: transparent; }
.pt-help-controls .hc-release h3 { font-size: 26px; margin-bottom: 12px; }
.pt-help-controls .hc-release-age { margin-bottom: 12px; padding: 8px 12px; }
.pt-help-controls .hc-eyebrow { font-size: 17px; font-weight: normal; letter-spacing: .03em; }
.pt-help-controls .hc-age-value { font-size: 28px; margin: 4px 0; }
.pt-help-controls .hc-prepared-date { font-size: 20px; }
.pt-help-controls .hc-release-meta { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--hc-line); }
.pt-help-controls .hc-release-meta > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--hc-line); background: transparent; }
.pt-help-controls .hc-release-meta dt { font-size: 20px; }
.pt-help-controls .hc-release-meta dd { font-size: 24px; margin-top: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.pt-help-controls .hc-release-meta > div:first-child dd { color: var(--hc-cyan); }
.pt-help-controls .hc-release h4 { font-size: 24px; font-weight: normal; margin: 16px 0 6px; }
.pt-help-controls .hc-release ul { font-size: 22px; margin-top: 6px; margin-bottom: 12px; padding-left: 24px; }
.pt-help-controls .hc-release li { margin-bottom: 8px; }
.pt-help-controls .hc-release-technical { margin-top: 16px; border-top: 1px solid var(--hc-line); }
.pt-help-controls .hc-release-technical > summary { cursor: pointer; padding: 12px 0; font-size: 20px; color: var(--hc-muted); }
.pt-help-controls .hc-release-technical > summary:hover { color: var(--hc-cyan); }
.pt-help-controls .hc-release-technical > summary:focus-visible { outline: 2px solid var(--hc-cyan); outline-offset: 2px; }
.pt-help-controls .hc-release-technical > p { font-size: 18px; line-height: 1.4; }
.pt-help-controls .hc-credits { padding: 10px 16px; }
.pt-help-controls .hc-credits p { font-size: 17px; }
@container (min-width: 780px) {
  .pt-help-controls .hc-toolbar { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); }
  .pt-help-controls .hc-topic-picker { display: block; padding: 12px 16px 8px 0; }
  .pt-help-controls .hc-topic-picker label { display: block; margin-bottom: 5px; font-size: 22px; }
  .pt-help-controls .hc-topic-picker select { width: 100%; }
  .pt-help-controls .hc-group dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
}
@container (max-width: 700px) {
  .pt-help-controls .hc-briefing section { padding: 0 0 0 10px; }
  .pt-help-controls .hc-row:is([data-hc-row="page-offset"],[data-hc-row="track-tab-direct"]) { grid-template-columns: 1fr; gap: 6px; }
  .pt-help-controls .hc-row:is([data-hc-row="page-offset"],[data-hc-row="track-tab-direct"]) .hc-keycaps { justify-content: flex-start; }
}
@container (max-width: 400px) {
  .pt-help-controls .hc-header { gap: 8px; padding: 10px 12px; }
  .pt-help-controls .hc-header h2 { font-size: 28px; }
  .pt-help-controls .hc-search { padding: 10px 12px 8px; }
  .pt-help-controls .hc-search-field { gap: 6px; }
  .pt-help-controls .hc-search input { font-size: 20px; }
  .pt-help-controls .hc-topic-picker { padding: 0 12px 8px; }
  .pt-help-controls .hc-layout { padding: 0 12px 12px; }
  .pt-help-controls .hc-group summary { padding: 8px 10px; }
  .pt-help-controls .hc-group dl { padding: 0 10px; }
  .pt-help-controls .hc-row { grid-template-columns: minmax(0,1fr) minmax(80px,40%); gap: 6px; }
  .pt-help-controls .hc-row:is([data-hc-row="page-offset"],[data-hc-row="track-tab-direct"]) { grid-template-columns: 1fr; }
  .pt-help-controls .hc-row[data-hc-row="overall-search"] { grid-template-columns: 1fr; }
  .pt-help-controls .hc-row[data-hc-row="overall-search"] .hc-keycaps { justify-content: flex-start; }
  .pt-help-controls .hc-essentials { margin-left: 12px; margin-right: 12px; }
  .pt-help-controls .hc-release, .pt-help-controls .hc-credits { padding: 12px; }
}

/* The native dialog owns one toolbar; controls remain bound when moved into it. */
html body #overallHelpPopup .overall-help-head{min-height:56px;padding:8px 12px!important;box-sizing:border-box;gap:8px}
html body #overallHelpPopup .hc-header{display:none}
html body #overallHelpPopup .overall-help-head h3{flex:0 0 auto}
html body #overallHelpPopup .overall-help-head>.hc-view-switch{display:flex;flex:0 0 auto;align-items:center;position:static;transform:none;margin-inline:auto;padding:2px;gap:2px;border:1px solid #799bc8;background:#14234b;min-width:0}
html body #overallHelpPopup .overall-help-head>.hc-view-switch button{border:0;border-radius:0;background:transparent;color:#e8f4ff;font:22px/1.2 ForcedSquare,sans-serif;padding:6px 10px;min-height:36px;cursor:pointer}
html body #overallHelpPopup .overall-help-head>.hc-view-switch button[aria-pressed=true]{background:#8eeaff;color:#102440}
html body #overallHelpPopup .overall-help-head>.hc-view-switch button:focus-visible{outline:2px solid #ffdf85;outline-offset:2px}
html body #overallHelpPopup .hc-search>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body #overallHelpPopup .hc-search>p{font-size:19px;line-height:1.3!important;margin-top:4px}
@media(max-width:600px){
 html body #overallHelpPopup .overall-help-head h3{font-size:24px!important}
 html body #overallHelpPopup #overallHelpClose{font-size:16px!important;min-width:64px!important;min-height:36px!important;padding:4px 8px!important}
 html body #overallHelpPopup .overall-help-head>.hc-view-switch{padding:1px;gap:1px}
 html body #overallHelpPopup .overall-help-head>.hc-view-switch button{font-size:18px;padding:4px 6px}
}
@media(max-width:340px){
 html body #overallHelpPopup .overall-help-head{padding:8px 6px!important;gap:4px}
 html body #overallHelpPopup .overall-help-head h3{font-size:22px!important}
 html body #overallHelpPopup .overall-help-head>.hc-view-switch button{font-size:16px;padding:4px}
 html body #overallHelpPopup #overallHelpClose{font-size:14px!important;padding:4px!important;min-width:48px!important}
}

/* Local, bounded release archive shares the game's native disclosure/button language. */
.pt-help-controls .release-history { margin-top: 16px; border-top: 1px solid var(--hc-line); min-width: 0; }
.pt-help-controls .release-history > summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; cursor: pointer; color: var(--hc-cyan); font-size: 22px; }
.pt-help-controls .release-history summary:focus-visible { outline: 2px solid var(--hc-focus); outline-offset: 2px; }
.pt-help-controls .release-history small { color: var(--hc-muted); font-size: 18px; }
.pt-help-controls .release-history-body { padding: 0 0 12px; }
.pt-help-controls .release-history-coverage, .pt-help-controls .release-history-date { color: var(--hc-muted); font-size: 18px; line-height: 1.4; }
.pt-help-controls .release-history-body > ol { list-style: none; padding: 0; margin: 8px 0 12px; max-height: min(48dvh, 460px); overflow: auto; overscroll-behavior: contain; }
.pt-help-controls .release-history-body > ol > li { margin: 0; border-bottom: 1px solid var(--hc-line); }
.pt-help-controls [data-release-history-entry] > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; cursor: pointer; }
.pt-help-controls [data-release-history-entry] > summary strong { font-weight: normal; color: var(--hc-cyan); font-size: 22px; }
.pt-help-controls [data-release-history-entry] > summary > span { flex: 1 1 180px; font-size: 20px; overflow-wrap: anywhere; }
.pt-help-controls [data-release-history-entry] > summary > small { margin-left: auto; }
.pt-help-controls [data-release-history-entry] > ul { margin: 8px 0 14px; font-size: 20px; }
.pt-help-controls [data-release-history-entry] > p { margin-bottom: 8px; font-size: 18px; }
.pt-help-controls [data-release-history-close] { border-radius: 0; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); background: var(--button-color, #112052); min-height: 44px; font: 20px/1.25 ForcedSquare, sans-serif; }

.pt-help-controls .release-history summary::before { content: ">"; display: inline-block; flex: 0 0 auto; color: var(--hc-cyan); transition: transform .12s; }
.pt-help-controls .release-history details[open] > summary::before, .pt-help-controls .release-history[open] > summary::before { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .pt-help-controls .release-history summary::before { transition: none; } }
