/* Hero games on the question pages (/question-heroes.js): one light game per page family, built on the plum game table of
   question-pages.css. Every state is written in words as well as shown, targets are at least 44px, and motion stops for
   prefers-reduced-motion. */
.qh-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.qh-hint{margin:14px 0 0;text-align:center;font-size:14.5px;font-weight:700;color:#5a4e66}
.qh-mine{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:auto;padding:4px 11px 4px 8px;border-radius:99px;background:#2c1d35;color:#fff;font-style:normal;font-weight:800;font-size:13px;line-height:1.3}
.qh-offer:empty{display:none}.qh-offer .um{margin-top:18px}
/* Would You Rather and This or That: the two options become buttons */
button.qp-opt{appearance:none;border:0;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;transition:transform .15s,box-shadow .15s,opacity .2s}
button.qp-opt:hover{transform:translateY(-2px) rotate(-.6deg)}button.qp-opt--b:hover{transform:translateY(-2px) rotate(.6deg)}
button.qp-opt:focus-visible{outline:3px solid #8a2b56;outline-offset:3px}
button.qp-opt.is-mine{box-shadow:0 0 0 3px #2c1d35,0 6px 0 #2c1d35}
button.qp-opt.is-other{opacity:.55}
.qh--pick .qp-draw-after{margin-top:14px}
.qh-dots{display:flex;justify-content:center;gap:8px;list-style:none;margin:-4px 0 14px;padding:0}
.qh-dots li{width:12px;height:12px;border-radius:50%;border:2px solid #8a2b56;transition:background .2s}.qh-dots li.is-done{background:#8a2b56}
.qh-sum{display:grid;gap:8px}
.qh-sum-title{font-family:var(--display);font-weight:800;font-size:clamp(20px,2vw,24px);line-height:1.2;letter-spacing:-.02em;text-align:center}
.qh-sum-line,.qh-sum-then{margin:0;text-align:center;font-size:15px;color:#4a3f55}.qh-sum-then{font-size:14.5px}
.qh-sum-list{list-style:none;margin:4px 0;padding:0;display:grid;gap:6px}
.qh-sum-list li{padding:9px 14px;border-radius:12px;background:#fff;box-shadow:0 2px 0 #e6d6cc;font-size:15px;line-height:1.4}
.qh-sum-list b{font-weight:800}
/* Get to know you: three cards face up, pick the one to ask (the server deals them, so they read without JavaScript) */
.ql-hand{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.ql-hand>li:not(:has(>.qh-card)),.qh-card{display:flex;flex-direction:column;gap:8px;width:100%;padding:16px 18px;border-radius:18px;background:var(--qp-cream);color:#2c1d35;box-shadow:3px 5px 0 #b49bbc,6px 11px 20px rgba(16,3,21,.3);text-align:left;font:inherit;transform:rotate(-.7deg)}
.ql-hand>li:nth-child(2)>.qh-card,.ql-hand>li:nth-child(2):not(:has(>.qh-card)){transform:rotate(.5deg)}
.ql-hand>li:nth-child(3)>.qh-card,.ql-hand>li:nth-child(3):not(:has(>.qh-card)){transform:rotate(-.3deg)}
.qh-card{appearance:none;border:0;cursor:pointer;transition:transform .15s,box-shadow .15s,opacity .2s}
.qh-card:hover{transform:translateY(-2px) rotate(0)!important}
.qh-card:focus-visible{outline:3px solid #f3c560;outline-offset:3px}
.qh-card.is-mine{box-shadow:0 0 0 3px #f3c560,6px 11px 20px rgba(16,3,21,.3);transform:none!important}
.qh-card.is-other{opacity:.6}
.ql-hand .ql-chip{align-self:flex-start;margin:0;font-size:13px;padding:3px 10px 3px 8px}
.ql-hand .ql-ask{display:block;font-size:clamp(18px,1.6vw,21px);line-height:1.25}
.qh-card-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 14px;font-size:14px;font-weight:700;color:#3b2f45}.qh-card-opts span{display:block}
.qh--three-live .qh-hint,.ql-three .qh-hint{color:#fff6fa}
/* Questions to ask friends: a five-question "how well do you know me?" quiz on one phone */
.qh-know{min-height:260px;padding:22px 20px 20px;border-radius:20px;background:var(--qp-cream);color:#2c1d35;box-shadow:3px 6px 0 #b49bbc,7px 13px 24px rgba(16,3,21,.35)}
.qh-know-title{margin:0 0 10px;font-family:var(--display);font-weight:800;font-size:clamp(21px,2.1vw,27px);line-height:1.18;letter-spacing:-.025em;text-wrap:balance;overflow-wrap:anywhere}
.qh-know-title:focus,.qh-know-title:focus-visible{outline:none}
.qh-know-step{margin:0 0 6px;font-size:14px;color:#5a4e66}
.qh-know-copy{margin:0 0 16px;font-size:15.5px;line-height:1.5;color:#3b2f45}
.qh-know-form{display:grid;gap:14px}
.qh-field{display:grid;gap:6px;font-weight:700;font-size:14.5px}
.qh-field input{width:100%;min-height:48px;padding:10px 14px;border-radius:12px;border:2px solid #b9a3b5;background:#fff;color:#2c1d35;font-size:17px}
.qh-field input:focus-visible{outline:3px solid #8a2b56;outline-offset:2px;border-color:#8a2b56}
.qh-know-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.qh-go{justify-self:start;min-height:48px;padding:12px 24px;border-radius:99px;background:#2c1d35;color:#fff;font-weight:800;font-size:15.5px;box-shadow:0 4px 0 #8a2b56;transition:transform .15s}
.qh-go:hover{transform:translateY(-2px)}.qh-go:disabled{opacity:.45;cursor:not-allowed;transform:none}
.qh-go:focus-visible,.qh-skip:focus-visible,.qh-mark:focus-visible,.qh-know-links a:focus-visible{outline:3px solid #8a2b56;outline-offset:3px}
.qh-skip{min-height:44px;padding:8px 4px;background:none;color:#2c1d35;font-weight:700;font-size:14.5px;text-decoration:underline;text-underline-offset:4px}
.qh-marks{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:12px}
.qh-marks li{display:grid;gap:4px;padding-top:12px;border-top:1px solid #e6d3dd}.qh-marks li:first-child{border-top:0;padding-top:0}
.qh-mark-q{margin:0;font-weight:800;font-size:15.5px;line-height:1.35}
.qh-pair{margin:0;font-size:14.5px;color:#4a3f55}.qh-pair b{color:#2c1d35;overflow-wrap:anywhere}
.qh-mark{min-height:44px;padding:8px 18px;border-radius:99px;border:2px solid #2c1d35;background:#fff;color:#2c1d35;font-weight:700;font-size:14.5px}
.qh-mark[aria-pressed=true]{background:#2c1d35;color:#fff}
.qh-know-links{display:flex;flex-wrap:wrap;gap:4px 20px;margin:14px 0 0}
.qh-know-links a{display:inline-flex;align-items:center;min-height:44px;font-weight:800;border-bottom:1.5px solid currentColor;line-height:1.3}
/* Never Have I Ever: ten fingers, ten cards */
.qh-hand{display:flex;justify-content:center;align-items:flex-end;gap:5px;height:52px;margin:0 0 6px;padding:0;list-style:none}
.qh-hand li{width:15px;height:var(--h,40px);border-radius:8px 8px 5px 5px;background:#f3c560;box-shadow:inset 0 -3px 0 #c9962f;transition:height .25s,background .25s}
.qh-hand li:nth-child(5){margin-right:18px}
.qh-hand li:nth-child(1),.qh-hand li:nth-child(10){--h:30px}.qh-hand li:nth-child(2),.qh-hand li:nth-child(9){--h:41px}.qh-hand li:nth-child(3),.qh-hand li:nth-child(8){--h:47px}.qh-hand li:nth-child(4),.qh-hand li:nth-child(7){--h:43px}.qh-hand li:nth-child(5),.qh-hand li:nth-child(6){--h:27px}
.qh-hand li.is-down{height:11px;background:rgba(255,246,250,.32);box-shadow:none}
.qh-count{margin:0 0 14px;text-align:center;font-weight:800;font-size:15px;color:#fff6fa}
.qh-step{margin:0 0 6px;text-align:center;font-size:13.5px;font-weight:700;color:#5a4e66}
.qh-answer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.qh-have,.qh-havent{min-height:52px;padding:10px 14px;border-radius:14px;font-weight:800;font-size:16px;transition:transform .15s}
.qh-have{background:#2c1d35;color:#fff;box-shadow:0 4px 0 #8a2b56}.qh-havent{background:#fff;color:#2c1d35;border:2px solid #2c1d35;box-shadow:0 4px 0 #cdb9c9}
.qh-have:hover,.qh-havent:hover{transform:translateY(-2px)}
.qh-have:focus-visible,.qh-havent:focus-visible{outline:3px solid #8a2b56;outline-offset:3px}
.qh--fingers .qp-draw-acts .qp-next{border:0;cursor:pointer;font-family:inherit}
@media (max-width:600px){
 button.qp-opt{flex-wrap:wrap}button.qp-opt b{flex:1 1 150px}button.qp-opt .qh-mine{margin:0 0 0 38px}
 .qh-card-opts{grid-template-columns:minmax(0,1fr)}
 .qh-know{padding:18px 14px 16px}
 .qh-answer{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){
 button.qp-opt,.qh-card,.qh-go,.qh-have,.qh-havent,.qh-hand li,.qh-dots li{transition:none}
 button.qp-opt:hover,button.qp-opt--b:hover,.qh-go:hover,.qh-have:hover,.qh-havent:hover{transform:none}.qh-card:hover{transform:none!important}
 .ql-hand>li:not(:has(>.qh-card)),.qh-card,.ql-hand>li:nth-child(n)>.qh-card{transform:none}
}
