/* GCH V19.16: secondary, opt-in vote controls on character profiles.
   The voting API, tokens, thresholds and database queries are unchanged. */
.gch-hybrid .gch-vote-compact {
  font:700 11px/1.35 'Trebuchet MS',Arial,sans-serif;
  color:#33475d;
  min-width:0;
}
.gch-hybrid .gch-vote-disclosure {position:relative;display:block;width:100%;min-width:0}
.gch-hybrid .gch-vote-disclosure > summary {
  display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;
  list-style:none;cursor:pointer;user-select:none;min-height:30px;
  padding:3px 5px;margin:0;border:1px solid transparent;border-radius:7px;
  color:#3d546a;background:transparent;box-shadow:none;
  font:750 11px/1.25 'Trebuchet MS',Arial,sans-serif;
}
.gch-hybrid .gch-vote-disclosure > summary::-webkit-details-marker {display:none}
.gch-hybrid .gch-vote-disclosure > summary::marker {content:''}
.gch-hybrid .gch-vote-disclosure > summary:hover,
.gch-hybrid .gch-vote-disclosure[open] > summary {background:#f4f1e9;border-color:#ccd1d7}
.gch-hybrid .gch-vote-disclosure > summary:focus-visible {
  outline:3px solid #356fba;outline-offset:2px;
}
.gch-hybrid .gch-vote-disclosure .gch-vote-pencil {
  display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;
  border:1px solid #b8c7d4;border-radius:7px;
  color:#42617d;background:#f5f8fa;
  font:900 17px/1 Arial,sans-serif;
}
.gch-hybrid .gch-vote-disclosure[open] .gch-vote-pencil,
.gch-hybrid .gch-vote-disclosure > summary:hover .gch-vote-pencil {background:#e5eef5;border-color:#85a4bd}
.gch-hybrid .gch-vote-own {display:none;color:#2a8060;font-size:12px;font-weight:900}
.gch-hybrid .gch-vote-compact:has(button[aria-pressed='true']) .gch-vote-own {display:inline}
.gch-hybrid .gch-vote-panel {
  display:flex;flex-direction:column;align-items:flex-start;gap:9px;
  padding:12px;margin:3px 0 7px;
  background:#fffdf6;color:#263a4e;
  border:1.5px solid #b7c4d0;border-radius:9px;
  box-shadow:2px 3px 0 rgba(28,46,68,.15);
  text-align:left;
}
.gch-hybrid .gch-vote-question {font-weight:900;font-size:12px;color:#243b55}
.gch-hybrid .gch-vote-label {font-weight:800;color:#4a6079}
.gch-hybrid .gch-vote-panel .gch-crv-feedback,
.gch-hybrid .gch-vote-panel .gch-cav-feedback {min-height:0;margin:0}
.gch-hybrid .gch-vote-panel .gch-crv-feedback:empty,
.gch-hybrid .gch-vote-panel .gch-cav-feedback:empty {display:none}
/* A character's overall community result is one subtle line above the identity card.
   The hero's large tier badge is never changed by community ratings. */
.gch-hybrid .gch-vote-character.gch-crv-character {
  padding:2px 5px;margin:0 0 9px;
  border:0;border-bottom:1px solid rgba(68,89,113,.24);border-radius:0;
  background:transparent;box-shadow:none;
}
.gch-hybrid .gch-vote-character .gch-vote-summary {justify-content:flex-start;gap:8px}
.gch-hybrid .gch-vote-character .gch-crv-average {font:900 14px/1.2 'Trebuchet MS',Arial,sans-serif;min-width:0}
.gch-hybrid .gch-vote-character .gch-vote-pencil {margin-left:auto}
.gch-hybrid .gch-vote-character [data-rec-count] {white-space:nowrap;color:#728093}
.gch-hybrid .gch-vote-character .gch-vote-panel {margin:6px 0 10px}
.gch-hybrid .gch-vote-character .gch-crv-character-body {display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:0}
/* Small summary at the end of each weapon/artifact recommendation. */
.gch-hybrid .gch-vote-artifact.gch-cav-widget,
.gch-hybrid .gch-vote-weapon.gch-crv-weapon-widget {
  display:block;flex:0 1 190px;min-width:105px;max-width:230px;
  padding:0;margin-left:auto;text-align:right;
}
.gch-hybrid .gch-vote-artifact .gch-vote-summary,
.gch-hybrid .gch-vote-weapon .gch-vote-summary {gap:6px}
.gch-hybrid .gch-vote-artifact .gch-cav-total,
.gch-hybrid .gch-vote-artifact .gch-cav-approval,
.gch-hybrid .gch-vote-weapon [data-rec-total],
.gch-hybrid .gch-vote-weapon [data-rec-approval] {
  color:#6a7888;font-size:10px;font-weight:750;white-space:nowrap;
}
.gch-hybrid .gch-vote-artifact .gch-cav-approval:not([hidden]),
.gch-hybrid .gch-vote-weapon [data-rec-approval]:not([hidden]) {color:#2e7161;font-weight:850}
.gch-hybrid .gch-vote-artifact .gch-vote-panel,
.gch-hybrid .gch-vote-weapon .gch-vote-panel {min-width:min(230px,100%);align-items:flex-start}
.gch-hybrid .gch-vote-artifact .gch-cav-actions,
.gch-hybrid .gch-vote-weapon .gch-crv-picks {justify-content:flex-start}
.gch-hybrid .gch-vote-artifact .gch-cav-side {align-items:stretch}
/* Team: concise ratings summary. One disclosure opens BOTH voting criteria. */
.gch-hybrid .gch-vote-team.gch-crv-team-ratings {
  display:block;padding:2px 0;margin:6px 0 5px;
  border:0;border-top:1px solid rgba(89,108,133,.25);
  border-radius:0;background:transparent;box-shadow:none;
}
.gch-hybrid .gch-vote-team .gch-vote-summary {justify-content:flex-start;gap:9px}
.gch-hybrid .gch-vote-team .gch-vote-summary strong {font-weight:950;color:#344b65;white-space:nowrap}
.gch-hybrid .gch-vote-team .gch-vote-pencil {margin-left:auto}
.gch-hybrid .gch-vote-team .gch-vote-panel {gap:13px;margin:4px 0 8px}
.gch-hybrid .gch-vote-team .gch-crv-team-metric {width:100%;max-width:550px}
.gch-hybrid .gch-vote-team .gch-crv-metric-heading small {font-size:10px}
.gch-hybrid .gch-vote-team .gch-vote-label {color:#6a7888}
/* Eliminate legacy vote containers' tall prompts: disclosure makes prompts opt-in. */
.gch-hybrid .gch-vote-compact .gch-crv-question,
.gch-hybrid .gch-vote-compact .gch-cav-question {display:block;text-align:left;font-size:12px}
.gch-hybrid .gch-vote-compact button[data-vote],
.gch-hybrid .gch-vote-compact button[data-rec-vote],
.gch-hybrid .gch-vote-compact button[data-rec-score] {min-height:34px}
@media(max-width:700px){
  .gch-hybrid .gch-vote-artifact.gch-cav-widget,
  .gch-hybrid .gch-vote-weapon.gch-crv-weapon-widget {max-width:none;min-width:0;flex:1 1 auto}
  .gch-hybrid .gch-vote-artifact .gch-vote-panel,
  .gch-hybrid .gch-vote-weapon .gch-vote-panel {min-width:0;width:100%}
  .gch-hybrid .gch-vote-team .gch-vote-summary {gap:6px}
}
@media(max-width:550px){
  .gch-hybrid .gch-rec-weapon .gch-vote-weapon.gch-crv-weapon-widget {flex-basis:100%;align-items:flex-end;padding:0}
  .gch-hybrid .gch-vote-artifact .gch-vote-summary,
  .gch-hybrid .gch-vote-weapon .gch-vote-summary {justify-content:flex-end}
  .gch-hybrid .gch-vote-character .gch-vote-summary {justify-content:flex-start}
  .gch-hybrid .gch-vote-character [data-rec-count] {font-size:10px}
  .gch-hybrid .gch-vote-team .gch-vote-summary {flex-wrap:wrap}
  .gch-hybrid .gch-vote-team .gch-crv-team-metric {grid-template-columns:minmax(0,1fr) auto}
}
@media(prefers-reduced-motion:reduce){.gch-hybrid .gch-vote-disclosure > summary {scroll-behavior:auto}}
