/* Thanksgiving table games page (tg-): the six games as calm cards, the phone deck, the printables and the host-pays band.
   Uses the hub visual language (/hubs.css, data-hub=harvest). The printed pages themselves are styled by /table-games-print.css. */
.tg-game-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tg-game{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;border:1px solid var(--line);border-radius:24px;padding:24px;background:#fff}
.tg-game-art{width:120px;height:120px;border-radius:22px;background:var(--hb-tint);display:grid;place-items:center}
.tg-game-pic{width:86px;height:86px}
.tg-game-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:12px}
.tg-tier{font-size:13px;font-weight:800;color:#6a5446}.tg-tier.is-free{color:#17703f}
.tg-game h3{font-size:24px;margin:0 0 6px}
.tg-line{margin:0 0 12px;font-size:16.5px;color:#3b3650}
.tg-facts{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;font-weight:700;color:#4a4560}
.tg-facts li{display:inline-flex;align-items:center;gap:6px}.tg-facts svg{color:var(--hb-accent)}
.tg-game h4{font-size:15px;margin:0 0 6px;letter-spacing:0}
.tg-how{margin:0 0 12px;padding-left:20px;display:grid;gap:6px;font-size:15.5px;line-height:1.5}
.tg-score{margin:0 0 8px;padding:10px 14px;border-radius:14px;background:var(--hb-tint);font-size:15px}
.tg-tip{margin:0;font-size:14.5px;color:#4a4560}
.tg-play-link{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;font-weight:800;color:var(--hb-accent);border-bottom:2px solid currentColor;align-self:flex-start}
/* The phone deck */
.tg-deck{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px 56px;align-items:center}
.tg-deck-copy h2{margin:0 0 12px}.tg-deck-copy p{font-size:17px;color:#4a4560;max-width:460px}
.tg-deck-free{font-weight:700;color:var(--hb-deep)!important}
.tg-deck-play{border-radius:30px;padding:clamp(16px,2.6vw,30px);background:radial-gradient(ellipse at 14% 0%,rgba(226,140,52,.45),transparent 55%),radial-gradient(ellipse at 100% 100%,rgba(168,48,74,.3),transparent 50%),linear-gradient(160deg,#4d2715,#2c160c 70%);color:#fff6e8}
.tg-deck-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.tg-tab{min-height:44px;padding:8px 16px;border-radius:99px;border:1px solid rgba(255,246,232,.35);background:rgba(255,255,255,.06);color:inherit;font:inherit;font-weight:800;cursor:pointer}
.tg-tab[aria-pressed=true]{background:#f2b04a;border-color:#f2b04a;color:#2a1a12}
.tg-tab:focus-visible,.tg-deck-play .button:focus-visible{outline:3px solid #f2b04a;outline-offset:3px}
.tg-card{min-height:230px;border-radius:22px;background:#fffaf2;color:#2a1a12;padding:22px 26px;display:flex;flex-direction:column;text-align:center;box-shadow:0 0 0 4px rgba(242,176,74,.32),0 26px 50px -24px rgba(0,0,0,.7)}
.tg-card-label{margin:0;font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#8a3b12}
.tg-card-text{margin:auto 0;padding:14px 0;font-family:var(--display);font-weight:800;font-size:clamp(24px,2.6vw,34px);line-height:1.15;letter-spacing:-.02em}
.tg-card-foot{margin:0;font-size:14px;color:#5b4638}
.tg-deck-acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:18px}
.tg-deck-play .button{background:#b4441a;border-color:#b4441a;color:#fff;min-height:52px;padding-left:26px;padding-right:26px}
.tg-deck-count{margin:0;font-size:14px;color:#f1d9bf}
.tg-deck-note{margin:14px 0 0;font-size:14.5px;color:#f1d9bf}
.tg-deck-play .um{margin-top:18px}
/* Printables */
.tg-print-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:20px}
.tg-print-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff}
.tg-print-figs{display:flex;justify-content:center;gap:16px;padding:26px 24px 0;background:var(--hb-tint2);min-height:250px;align-items:flex-end}
.tg-print-figs figure{margin:0;flex:0 1 46%;max-width:210px}
.tg-print-figs img{display:block;width:100%;height:auto;border-radius:4px 4px 0 0;box-shadow:0 -2px 24px -10px rgba(32,27,56,.45)}
.tg-print-figs figure:nth-child(2){transform:translateY(14px) rotate(2deg)}
.tg-print-copy{padding:22px 24px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.tg-print-copy h3{margin:4px 0 0;font-size:22px}.tg-print-copy p{margin:0;font-size:15.5px}
.tg-print-copy .hb-kind{align-self:flex-start}
.tg-dl{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto!important}
.tg-dl a{display:inline-flex;align-items:center;min-height:48px;padding:10px 18px;border-radius:14px;background:var(--hb-accent);color:#fff;font-weight:800}
.tg-print-acts{margin-top:auto;display:grid;gap:10px}.tg-print-acts .button{justify-self:start}
.tg-small{font-size:14px!important;color:#4a4560}.tg-small a{border-bottom:1px solid currentColor}
.tg-print .paper-choice{margin-bottom:8px}
@media (max-width:960px){.tg-game-list,.tg-print-grid,.tg-deck{grid-template-columns:1fr}}
@media (max-width:640px){.tg-game{grid-template-columns:1fr;padding:20px;gap:12px}.tg-game-art{width:76px;height:76px;border-radius:18px}.tg-game-pic{width:56px;height:56px}.tg-game h3{font-size:22px}
 .tg-card{min-height:200px;padding:18px}.tg-deck-acts .button{width:100%;justify-content:center}.tg-print-figs{min-height:0;padding:18px 16px 0}}
/* Printing the full pack from the browser: only the pack's pages print. */
.tgp-print-root{display:none}
@media print{html.tg-printing body>*:not(.tgp-print-root){display:none!important}html.tg-printing .tgp-print-root{display:block}html.tg-printing,html.tg-printing body{background:#fff!important;margin:0!important;padding:0!important}}
