/* playBGT(TM) This or That v1.0. Loads after /quiz/table-type/tabletype.css and reuses its tt-* building blocks. */
.tt-other{font-size:.95rem;margin:.6rem 0 0;text-align:center}.tt-other a{font-weight:600}
.tt-otherquiz{border-top:5px solid #7b2cbf}
.tot .tot-btn-tt{background:linear-gradient(100deg,#7b2cbf,#4f46e5);color:#fff}
.tot-t2{font-size:clamp(2.9rem,16vw,4.6rem)!important;background:linear-gradient(90deg,#ff5fa2,#ff9f1c,#2ec4b6,#7c6cf2,#ff5fa2)!important;background-size:200% 100%!important;-webkit-background-clip:text!important;background-clip:text!important}
.tt-title .tot-or{display:inline;font-family:"Caveat",cursive;font-weight:600;font-size:.62em;vertical-align:.12em;padding:0 .08em}
.tot .tt-title .tt-t1{font-size:clamp(1.35rem,6.4vw,2rem);margin-top:.18em}
.tot-h-c{text-align:center;margin-top:22px}
/* question card */
.tot-qcard{padding:18px 14px 18px;text-align:center}
.tot-qkick{margin:0 0 2px;font:600 1.3rem "Caveat",cursive;color:#c2410c}
.tot-q{text-align:center;margin-bottom:16px!important}
.tot-pair{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch}
.tot-opt{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:178px;padding:18px 12px;border-radius:22px;border:3px solid transparent;cursor:pointer;color:#fff;text-align:center;
  box-shadow:0 6px 0 rgba(34,22,58,.22),0 12px 24px rgba(34,22,58,.14);transition:transform .12s,box-shadow .12s,opacity .2s;animation:tt-rise .4s calc(var(--i)*90ms + 80ms) both;-webkit-tap-highlight-color:transparent}
.tot-opt-a{background:linear-gradient(150deg,#ff7a59,#e63970);padding-right:22px}
.tot-opt-b{background:linear-gradient(150deg,#2ec4b6,#3b5bdb);padding-left:22px}
.tot-opt-l{display:block;max-width:100%;overflow-wrap:break-word;font:700 clamp(1.12rem,5.1vw,1.55rem)/1.1 "Fredoka","Trebuchet MS",sans-serif;text-shadow:0 2px 0 rgba(0,0,0,.15)}
.tot-opt-s{display:block;font:500 .94rem/1.25 "Source Sans 3",sans-serif;opacity:.95}
@media (hover:hover){.tot-opt:hover{transform:translateY(-3px) rotate(-.6deg)}.tot-opt-b:hover{transform:translateY(-3px) rotate(.6deg)}}
.tot-opt:active{transform:translateY(4px) scale(.97);box-shadow:0 2px 0 rgba(34,22,58,.22)}
.tot-opt:focus-visible{outline:3px solid #22163a;outline-offset:3px}
.tot-opt.picked{animation:tt-bounce .45s cubic-bezier(.2,1.6,.4,1) both;border-color:#fff;box-shadow:0 0 0 4px #22163a,0 10px 24px rgba(34,22,58,.2)}
.tot-opt.chosen::after{content:"\2713";position:absolute;top:8px;right:10px;width:28px;height:28px;border-radius:50%;background:#fff;color:#22163a;font:700 1rem/28px "Fredoka",sans-serif}
.tot-opt.dim{opacity:.45;transform:scale(.96)}
.tot-or-badge{position:absolute;left:50%;top:50%;z-index:2;transform:translate(-50%,-50%) rotate(-8deg);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#fff8ef;color:#22163a;
  font:700 1.35rem/1 "Caveat",cursive;box-shadow:0 4px 0 rgba(34,22,58,.18),0 0 0 4px #fff;pointer-events:none}
.tot-qcard .tt-hint{margin-top:10px}
/* result */
.tot-lines li{font-size:1.04rem}
.tot .tot-games li{padding:0;border:0;background:none}
.tot .tot-games li::before{z-index:1;pointer-events:none}
.tot-game{display:grid;gap:2px;padding:10px 12px 10px 46px;border-radius:12px;background:#fff;border:2px solid color-mix(in srgb,var(--c1) 30%,#fff);color:var(--ink);text-decoration:none;transition:transform .12s,border-color .15s}
.tot a.tot-game,.tot a.tot-game:visited{color:var(--ink);text-decoration:none}
.tot-game:hover{border-color:var(--c1);transform:translateY(-2px)}
.tot-game:focus-visible{outline:3px solid #22163a;outline-offset:2px}
.tot-game-go{font:600 .9rem "Fredoka",sans-serif;font-style:normal;color:var(--chd,var(--c2))}
.tot-share-lede{margin:-4px 0 12px!important}
.tot-cardh{margin:18px 0 10px;text-align:center;font-size:1.1rem}
.tot .tt-share .tt-cardbox{margin:8px 0 0}
/* compare */
.tot-compare{border:3px solid #22163a}
.tot-vs{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}
.tot-vs-side{display:grid;justify-items:center;gap:6px;padding:12px 8px;border-radius:16px;color:#fff;text-align:center;background:linear-gradient(140deg,var(--b1),var(--b2))}
.tot-vs-side small{font:600 .78rem "Fredoka",sans-serif;letter-spacing:.08em;text-transform:uppercase;opacity:.95}
.tot-vs-side strong{font:700 1.02rem/1.15 "Fredoka",sans-serif}
.tot-vs-mid{font:700 1.6rem "Caveat",cursive;color:#22163a}
.tot-vs-line{margin:12px 0 0;font:600 1.05rem/1.4 "Fredoka",sans-serif}
.tot .tot-compare .tt-small a{color:#3b2a8c}
/* focus-fix: no outline on script-focused headings */
#tt-r-name:focus,#tt-q:focus,.tot h2[tabindex="-1"]:focus{outline:none;box-shadow:none}
@media (max-width:359px){.tot-opt{min-height:150px}.tot-opt-s{font-size:.9rem}}
@media (prefers-reduced-motion:reduce){.tot-opt,.tot-opt.picked{animation:none}}
