/* Never Have I Ever and Two Truths and a Lie: the room screens (never-room.js, twotruths-room.js) and the page pieces of
   /never-have-i-ever-questions/ and /two-truths-and-a-lie/. Page layout comes from /hubs.css, /question-pages.css and
   /classic-landing.css; this file adds the card, the private answer buttons, the show of hands and the vote. */
.tg{--tg-plum:#2b1530;--tg-berry:#8a2b56;--tg-cream:#fff8ef;--tg-mint:#e3f2ea;--tg-rose:#ffe3ec;--tg-gold:#f3c560;max-width:760px;margin:0 auto;color:var(--ink)}
.tg-stack{display:grid;gap:16px}
.tg-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.tg-bar-title{font-family:var(--display);font-weight:800;font-size:19px;letter-spacing:-.02em;margin-right:auto}
.tg-pill{display:inline-flex;align-items:center;min-height:30px;padding:4px 12px;border-radius:99px;background:#f1ecf8;font-size:13.5px;font-weight:700;color:#3c3352}
.tg-pill--you{background:var(--tg-cream);border:1px solid #ead8c0}
.tg-card{position:relative;border-radius:26px;padding:clamp(22px,5vw,38px) clamp(20px,5vw,40px);background:var(--tg-plum);color:#fff6fa;box-shadow:0 26px 50px -30px rgba(32,27,56,.6);overflow-wrap:anywhere}
.tg-ask{font-family:var(--display);font-weight:800;font-size:clamp(17px,2.4vw,21px);color:#ffb8d6;letter-spacing:-.01em;margin-bottom:10px}
.tg-text{font-family:var(--display);font-weight:800;font-size:clamp(27px,5.2vw,44px);line-height:1.1;letter-spacing:-.035em;text-wrap:balance}
.tg-card--small .tg-text{font-size:clamp(21px,3.6vw,30px)}
.tg-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tg-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:84px;padding:12px 8px;border:2px solid var(--ink);border-radius:20px;background:#fff;font-weight:800;font-size:17px;line-height:1.15;text-align:center;transition:transform .15s,background .15s}
.tg-choice svg{width:24px;height:24px}
.tg-choice:hover{transform:translateY(-2px)}
.tg-choice[aria-pressed=true]{background:var(--ink);color:#fff;box-shadow:0 0 0 4px var(--tg-gold)}
.tg-choice--have[aria-pressed=true]{background:var(--tg-berry);border-color:var(--tg-berry)}
.tg-choice--pass{border-style:dashed}
.tg-choice[aria-pressed=true]::after{content:'Your answer';position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:1px 8px;border-radius:99px;background:var(--tg-gold);color:var(--ink);font-size:11px;font-weight:800;white-space:nowrap}
.tg-note{font-size:15.5px;color:#4a4560;line-height:1.55}
.tg-small{font-size:14px;color:#5c566e;line-height:1.5}
.tg-panel .tg-note{margin-top:12px}
.tg-count{font-weight:800;font-size:15px}
.tg-error{color:#b3261e;font-weight:700;font-size:15px;min-height:0}
.tg-error:empty{display:none}
.tg-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.tg-tools .tg-small{flex-basis:100%}
.tg-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 20px;border:2px solid var(--ink);border-radius:99px;background:#fff;color:var(--ink);font-weight:800;font-size:15px;line-height:1.2}
.tg-btn svg{width:18px;height:18px}
.tg-btn--go{background:var(--ink);color:#fff}
.tg-btn--quiet{border-color:#cfc8dc}
.tg-btn--link{min-height:44px;padding:8px 4px;border:0;border-radius:0;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.tg-btn:disabled{opacity:.45;cursor:not-allowed}
.tg-result{display:grid;gap:14px;padding:22px clamp(18px,4vw,28px);border-radius:24px;background:var(--tg-cream);border:1px solid #efe1cf}
.tg-big{font-family:var(--display);font-weight:800;font-size:clamp(30px,6vw,50px);line-height:1.02;letter-spacing:-.04em}
.tg-big--small{font-size:clamp(22px,3.6vw,30px)}
.tg-hands{display:flex;flex-wrap:wrap;gap:8px}
.tg-hand{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:2px solid var(--ink);background:#fff;animation:tg-pop .45s cubic-bezier(.2,.9,.3,1.3) both}
.tg-hand.is-have{background:var(--tg-berry);border-color:var(--tg-berry);color:#fff}
.tg-hand.is-pass{border-style:dashed;border-color:#8d86a0;color:#6a6380}
@keyframes tg-pop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
.tg-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;list-style:none;font-weight:700;font-size:15px}
.tg-legend li{display:inline-flex;align-items:center;gap:6px}
.tg-legend .is-have svg{color:var(--tg-berry)}
.tg-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tg-names h4{margin:0 0 4px;font-size:15px}
.tg-names p{font-size:15px}
.tg-you{justify-self:start;padding:8px 14px;border-radius:14px;background:#f1ecf8;font-weight:700;font-size:15px}
.tg-tally{padding:18px 20px;border-radius:22px;border:1px solid var(--line);background:#fff}
.tg-tally h3{font-size:19px;margin-bottom:8px}
.tg-tally ol{margin:0;padding:0;list-style:none}
.tg-tally li{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #f0edf3;font-size:16px}
.tg-tally li:last-child{border-bottom:0}
.tg-tally li span{margin-right:auto}
.tg-tally li small{color:#5c566e;font-size:13.5px}
.tg-tally li b{font-family:var(--display);font-size:20px;min-width:2ch;text-align:right}
.tg-tally li.is-best{font-weight:800}
.tg-tally li.is-best svg{color:#c4891b}
.tg .tg-win{font-size:clamp(30px,5vw,46px);line-height:1.05;margin:4px 0}
.tg-log{border-top:1px solid var(--line);padding-top:12px}
.tg-log summary{min-height:44px;display:flex;align-items:center;font-weight:800;cursor:pointer}
.tg-log ol{margin:8px 0 0;padding-left:1.4em;display:grid;gap:8px;font-size:15px}
.tg-log li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}
.tg-awards{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.tg-awards li{padding:8px 14px;border-radius:99px;background:var(--tg-cream);border:1px solid #efe1cf;font-weight:700;font-size:15px}
/* Lobby set-up */
.tg-lobby{display:grid;gap:14px;margin-bottom:18px}
.tg-panel{padding:20px clamp(16px,3vw,24px);border-radius:22px;border:1px solid var(--line);background:#fff}
.tg-panel h3{font-size:18px;letter-spacing:-.02em;margin:4px 0 10px}
.tg-panel h3:not(:first-child){margin-top:18px}
.tg-decks{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.tg .tg-decks input,.tg .tg-seg input,.tg .tg-lie input{position:absolute;display:inline;opacity:0;width:1px;height:1px;margin:0;padding:0;border:0}
.tg label.tg-deck{position:relative;margin:0;display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:66px;padding:10px 14px;border:2px solid #dcd6e6;border-radius:16px;background:#fff;cursor:pointer;line-height:1.25}
.tg-deck b{font-size:15.5px}
.tg-deck small{font-size:13px;color:#5c566e}
.tg-deck svg{position:absolute;top:10px;right:10px;color:#6a6380}
.tg-deck.is-locked{background:#f7f4fa;border-style:dashed}
.tg-deck.is-locked b{padding-right:18px}
.tg-decks input:checked+.tg-deck{border-color:var(--ink);background:var(--ink);color:#fff}
.tg-decks input:checked+.tg-deck small{color:#e5def0}
.tg-decks input:focus-visible+.tg-deck,.tg-seg input:focus-visible+label,.tg-lie input:focus-visible+span{outline:3px solid var(--ink);outline-offset:3px}
.tg-seg{display:flex;flex-wrap:wrap;gap:8px}
.tg .tg-seg label{margin:0;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 16px;border:2px solid #dcd6e6;border-radius:99px;font-weight:700;font-size:15px;cursor:pointer}
.tg-seg label.is-locked{border-style:dashed;color:#5c566e}
.tg-seg input:checked+label{border-color:var(--ink);background:var(--ink);color:#fff}
.tg label.tg-toggle{margin:0;display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:8px 0;cursor:pointer}
.tg .tg-toggle input{display:block;width:22px;height:22px;margin:2px 0 0;padding:0;flex:0 0 auto;accent-color:var(--ink)}
.tg-toggle span{display:grid;gap:2px}
.tg-toggle small{font-size:14px;color:#5c566e;line-height:1.45}
.tg-offer:empty{display:none}
.tg-um{margin:0;scroll-margin:16px}
.tg-panel>.tg-offer{margin:14px 0 4px}
.tg-um .um-title:focus{outline:none}
.tg-um .um-title:focus-visible{outline:3px solid #e0a526;outline-offset:3px;border-radius:4px}
/* Two Truths and a Lie */
.tg-write{display:grid;gap:12px}
.tg-ideas{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:12px 14px;border-radius:16px;background:var(--tg-cream)}
.tg-ideas .tg-small{flex-basis:100%;font-weight:700;color:var(--ink)}
.tg-chips{display:flex;flex-wrap:wrap;gap:6px}
.tg-chip{padding:6px 12px;border-radius:99px;background:#fff;border:1px solid #ead8c0;font-size:14.5px;font-weight:600}
.tg-st{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center}
.tg .tg-st>label:first-child{margin:0;grid-column:1/-1;font-weight:800;font-size:15px}
.tg .tg-st input[type=text]{margin:0;width:100%;min-height:50px;padding:10px 14px;border:2px solid #cfc8dc;border-radius:14px;font-size:16px;background:#fff}
.tg-st input[type=text]:focus-visible{outline:3px solid var(--ink);outline-offset:2px;border-color:var(--ink)}
.tg label.tg-lie{margin:0;display:inline-flex;cursor:pointer}
.tg-lie span{display:inline-flex;align-items:center;min-height:46px;padding:8px 14px;border:2px solid #dcd6e6;border-radius:99px;font-weight:700;font-size:14px;white-space:nowrap}
.tg-lie input:checked+span{border-color:var(--tg-berry);background:var(--tg-berry);color:#fff}
.tg-lie input:checked+span::before{content:'✓ ';white-space:pre}
.tg-mine{margin:0 0 10px;padding:0;list-style:none;display:grid;gap:8px}
.tg-mine li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:14px;background:var(--tg-mint)}
.tg-mine li.is-lie{background:var(--tg-rose)}
.tg-mine b{font-size:13px;white-space:nowrap}
.tg-people{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:0;list-style:none}
.tg-people li{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:99px;border:1px dashed #cfc8dc;font-size:14.5px;color:#5c566e}
.tg-people li.is-done{border-style:solid;border-color:#9fcbb3;background:var(--tg-mint);color:var(--ink);font-weight:700}
.tg-options{display:grid;gap:10px}
.tg-option{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;width:100%;min-height:64px;padding:14px 16px;border:2px solid transparent;border-radius:18px;background:var(--tg-cream);color:var(--ink);font:inherit;font-weight:700;font-size:17px;line-height:1.35;text-align:left}
button.tg-option:hover:not(:disabled){transform:translateY(-1px);border-color:var(--tg-gold)}
.tg-option[aria-pressed=true]{border-color:var(--tg-gold);box-shadow:0 0 0 3px var(--tg-gold);background:#fff1d2}
.tg-option:disabled{cursor:default;opacity:1}
.tg-option-text{flex:1 1 200px;min-width:0}
.tg-letter{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:50%;border:2px solid var(--ink);font-family:var(--display);font-weight:800;font-size:16px}
.tg-tag{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:99px;background:var(--ink);color:#fff;font-size:12.5px;font-weight:800;white-space:nowrap}
.tg-option.is-own-lie{background:var(--tg-rose)}
.tg-option.is-lie{background:var(--tg-rose);border-color:var(--tg-berry)}
.tg-option.is-lie .tg-tag{background:var(--tg-berry)}
.tg-option.is-true{background:var(--tg-mint)}
.tg-option.is-true .tg-tag{background:#2f6b4f}
.tg-voters{flex-basis:100%;padding-left:46px;font-size:14px;font-weight:600;color:#4a4560}
@media (max-width:420px){.tg-choice{min-height:76px;font-size:15px;border-radius:16px}.tg-choice[aria-pressed=true]::after{font-size:10px}.tg-names{grid-template-columns:1fr}.tg-st{grid-template-columns:1fr}.tg-lie{justify-self:start}.tg-voters{padding-left:0}.tg-option{font-size:16px;padding:12px 14px}.tg-hand{width:40px;height:40px}}
@media (prefers-reduced-motion:reduce){.tg-hand{animation:none}.tg-choice,.tg-option{transition:none}.tg-choice:hover,button.tg-option:hover:not(:disabled){transform:none}}
/* Page pieces: the dealt card (works without JavaScript), deck tags, the room capture and the ideas page. */
.nh-draw-text{font-family:var(--display);font-weight:800;font-size:clamp(25px,2.8vw,34px);line-height:1.12;letter-spacing:-.03em;text-align:center;text-wrap:balance}
.nh-draw-ask{font-family:var(--display);font-weight:800;font-size:clamp(18px,1.8vw,22px);color:var(--tg-berry,#8a2b56);text-align:center;margin-bottom:12px}
.nh-draw-deck{margin-top:14px;text-align:center;font-size:14px;font-weight:700;color:#5a4e66}
.nh-tag{display:inline-flex;align-items:center;gap:5px;margin-left:10px;padding:3px 11px;border-radius:99px;font-family:var(--body);font-size:13px;font-weight:800;letter-spacing:0;vertical-align:middle;background:#e3f2ea;color:#1f5a3f}
.nh-tag--plus{background:#f1ecf8;color:#4a2b6b}
.nh-tag svg{width:14px;height:14px}
.nh-part-acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:14px}
.nh-part-acts a{display:inline-flex;align-items:center;min-height:44px;font-weight:800;border-bottom:1.5px solid currentColor;line-height:1.3}
.nh-play{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px 48px;align-items:center}
.nh-play figure{margin:0}
.nh-play img{width:100%;height:auto;border-radius:22px;box-shadow:0 30px 60px -34px rgba(32,27,56,.55);background:#f4eef6}
.nh-play figcaption{margin-top:10px;font-size:14px;color:#5c566e}
.nh-play h2{font-size:clamp(30px,3.4vw,46px);line-height:1.05;margin-bottom:14px}
.nh-play ol{margin:16px 0 22px;padding-left:1.3em;display:grid;gap:10px;font-size:16.5px}
.nh-play ol b{font-weight:800}
.tt-sets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tt-set{padding:20px 22px;border-radius:22px;border:1px solid var(--line);background:#fff}
.tt-set h3{font-size:20px;margin-bottom:12px}
.tt-set ol{margin:0 0 12px;padding:0;list-style:none;display:grid;gap:8px}
.tt-set li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;padding:10px 14px;border-radius:14px;background:#e3f2ea;font-weight:600;font-size:15.5px}
.tt-set li.is-lie{background:#ffe3ec}
.tt-set li b{font-size:12.5px;padding:2px 9px;border-radius:99px;background:#2f6b4f;color:#fff;white-space:nowrap}
.tt-set li.is-lie b{background:#8a2b56}
.tt-set p{font-size:15px;color:#4a4560}
.tt-tips{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin:0;padding:0;list-style:none;counter-reset:tip}
.tt-tips li{padding:18px 20px;border-radius:20px;background:#fff8ef;border:1px solid #efe1cf;counter-increment:tip}
.tt-tips h3{font-size:18px;margin-bottom:6px}
.tt-tips h3::before{content:counter(tip) '. ';color:#8a2b56}
.tt-tips p{font-size:15px;color:#4a4560}
.tt-list li{font-weight:600}
@media (max-width:860px){.nh-play{grid-template-columns:1fr}.tt-sets{grid-template-columns:1fr}}
/* The full printable deck set (At Yours Plus): printed from the page by /never-print.js; only the sheets show on paper. */
.nh-out{display:none}
@media print{body.nh-printing>*:not(.nh-out){display:none!important}body.nh-printing .nh-out{display:block}}
.nh-sheet{width:100%;page-break-after:always;break-after:page;padding:0;font-family:var(--body);color:#231a35}
.nh-sheet-head{display:flex;justify-content:space-between;gap:12px;font-size:10pt;margin-bottom:6pt}
.nh-sheet-grid{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:2.35in;border:1.2px dashed #9c8fa6}
.nh-c{display:flex;flex-direction:column;justify-content:space-between;padding:.16in .2in;border-right:1.2px dashed #9c8fa6;border-bottom:1.2px dashed #9c8fa6;break-inside:avoid}
.nh-c:nth-child(2n){border-right:0}
.nh-c b{font-family:var(--display);font-size:11pt;color:#8a2b56}
.nh-c p{font-family:var(--display);font-weight:800;font-size:15pt;line-height:1.2;margin:0}
.nh-c small{font-size:8pt;color:#6c6178;display:flex;justify-content:space-between}
.nh-c--cover{background:#2b1530;color:#fff6fa}
.nh-c--cover p{color:#fff6fa}
.nh-c--cover b{color:#ffb8d6}
