/* Daily Trivia (ttc-trivia.js) */
.ttv-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.ttv-col{display:flex;flex-direction:column;gap:12px;min-width:0}
.ttv-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.ttv-manage{margin-left:auto}
.ttv-stage{padding:22px;display:flex;flex-direction:column;gap:14px;min-height:420px;position:relative;overflow:hidden;
  background:radial-gradient(110% 70% at 50% 0%,#1E2A4A 0%,#111D22 65%)}
.ttv-stage.done{min-height:0}
.ttv-intro{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;margin:auto 0}
#ttc-feed-app .ttv-intro h2{margin:0;font:800 24px 'Space Grotesk',Inter,sans-serif}
.ttv-intro p{margin:0;max-width:420px}
.ttv-big-q{width:96px;height:96px;border-radius:28px;display:flex;align-items:center;justify-content:center;font:800 64px/1 'Space Grotesk',Inter,sans-serif;color:#1B1030;
  background:linear-gradient(135deg,#C9A6F5,#7F5AD6);box-shadow:0 12px 40px #7F5AD666;transform:rotate(-6deg)}
.ttv-cats{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.ttv-cat{display:inline-flex;align-items:center;gap:4px;padding:5px 11px;border-radius:999px;background:#FFFFFF12;font-size:13px;font-weight:600;color:#E8F1F3;align-self:flex-start}
.ttv-intro .ttv-cat{align-self:auto}
.ttv-start{min-width:180px;justify-content:center;font-size:16px!important;padding:12px 24px!important}
.ttv-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ttv-steps{display:flex;gap:6px}
.ttv-step{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 13px Inter,sans-serif;background:#FFFFFF10;color:#8FA6AD}
.ttv-step.now{background:#3FD2E8;color:#052A31}
.ttv-step.right{background:#A6E3B5;color:#0E2A17}
.ttv-step.wrong{background:#FF8A8A;color:#2A0C0C}
.ttv-score{font:800 22px 'Space Grotesk',Inter,sans-serif}
.ttv-score small{font:600 13px Inter,sans-serif;color:#8FA6AD}
.ttv-time{display:flex;align-items:center;gap:10px}
.ttv-time-track{flex:1;height:10px;border-radius:999px;background:#FFFFFF14;overflow:hidden}
.ttv-time-bar{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3FD2E8,#A6E3B5);transition:width .1s linear}
.ttv-time-bar.low{background:linear-gradient(90deg,#FF8A8A,#F5C97F)}
.ttv-time-left{font:700 16px 'Space Grotesk',Inter,sans-serif;min-width:34px;text-align:right}
#ttc-feed-app .ttv-question{margin:4px 0 6px;font:700 24px/1.3 'Space Grotesk',Inter,sans-serif}
.ttv-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ttv-choice{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;border:2px solid #2A3D45;background:#0E191D;color:#E8F1F3;font:600 16px Inter,sans-serif;text-align:left;cursor:pointer;
  transition:transform .12s,border-color .12s,background .12s;min-height:64px}
@media(hover:hover){.ttv-choice:not(:disabled):hover{border-color:#3FD2E8;transform:translateY(-1px)}}
.ttv-choice:disabled{cursor:default}
.ttv-letter{flex:none;width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#FFFFFF12;font:800 15px Inter,sans-serif}
.ttv-choice.picked{border-color:#3FD2E8}
.ttv-choice.right{border-color:#A6E3B5;background:#1B3A26;animation:ttv-pop .3s ease-out}
.ttv-choice.right .ttv-letter{background:#A6E3B5;color:#0E2A17}
.ttv-choice.wrong{border-color:#FF8A8A;background:#3A1B1B;animation:ttv-shake .3s ease-out}
.ttv-choice.wrong .ttv-letter{background:#FF8A8A;color:#2A0C0C}
@keyframes ttv-pop{50%{transform:scale(1.03)}}
@keyframes ttv-shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.ttv-result{margin:0;min-height:24px;font-size:16px;font-weight:700}
.ttv-result.good{color:#A6E3B5}.ttv-result.bad{color:#FF8A8A}
.ttv-result small{color:#8FA6AD;font-weight:600}
.ttv-plus{display:inline-block;color:#F5C97F;animation:ttv-pop .5s ease-out}
.ttv-next{display:flex;justify-content:flex-end}
.ttv-final{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.ttv-grid{font-size:30px;letter-spacing:4px}
.ttv-final-score{font:800 52px/1.1 'Space Grotesk',Inter,sans-serif}
.ttv-earned{color:#A6E3B5;font-weight:700}
.ttv-share{justify-content:center;margin-top:6px}
.ttv-next-day{margin-top:2px}
#ttc-feed-app .ttv-sub{margin:10px 0 0;font-size:16px}
.ttv-review{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ttv-review li{padding:12px;border-radius:14px;background:#0E191D;border:1px solid #1E2F36;display:flex;flex-direction:column;gap:8px}
.ttv-review-q{display:flex;gap:10px;align-items:flex-start}
.ttv-review-q>span:last-child{display:flex;flex-direction:column;gap:2px}
.ttv-review-q small{color:#8FA6AD;font-size:12px}
.ttv-mark{flex:none;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;background:#FF8A8A;color:#2A0C0C}
.ttv-mark.ok{background:#A6E3B5;color:#0E2A17}
.ttv-review-c,.ttv-qans{display:flex;flex-wrap:wrap;gap:6px}
.ttv-rc{padding:4px 10px;border-radius:999px;background:#FFFFFF0D;font-size:13px;color:#C9D7DB}
.ttv-rc.right{background:#A6E3B526;color:#A6E3B5;font-weight:700}
.ttv-rc.wrong{background:#FF8A8A26;color:#FF8A8A;text-decoration:line-through}
.ttv-card{padding:16px 18px;display:flex;flex-direction:column;gap:10px}
#ttc-feed-app .ttv-card h2{margin:0;font-size:17px}
.ttv-board{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.ttv-board li{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px}
.ttv-board li.you{background:#3FD2E814}
.ttv-board li:nth-child(-n+3) .ttv-rank{color:#F5C97F}
.ttv-rank{width:18px;text-align:center;font:700 14px 'Space Grotesk',Inter,sans-serif;color:#8FA6AD}
.ttv-board a{display:flex}
.ttv-name{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ttv-right{font-size:12px;color:#8FA6AD}
.ttv-board strong{font:700 15px 'Space Grotesk',Inter,sans-serif;min-width:48px;text-align:right}
.ttv-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;text-align:center}
.ttv-stats div{display:flex;flex-direction:column}
.ttv-stats strong{font:700 20px 'Space Grotesk',Inter,sans-serif}
.ttv-stats small{font-size:11px;color:#8FA6AD}
.ttv-dist{display:flex;flex-direction:column;gap:3px}
.ttv-dist-row{display:flex;align-items:center;gap:8px;font-size:12px;color:#8FA6AD}
.ttv-dist-row small{width:26px}
.ttv-track{flex:1;height:14px}
.ttv-bar{display:block;height:100%;border-radius:4px;background:#2A3D45}
.ttv-dist-row.today .ttv-bar{background:#3FD2E8}
.ttv-dist-row b{width:20px;text-align:right;color:#E8F1F3}
.ttv-how{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:13px;color:#C9D7DB}
/* Hub card art */
.tg-game-art.ttv-art{flex-direction:column;gap:8px;background:radial-gradient(circle at 50% 30%,#2C2240,#0E191D)}
.ttv-q{font:800 48px/1 'Space Grotesk',Inter,sans-serif;color:#C9A6F5;text-shadow:0 4px 18px #7F5AD6}
.ttv-dots{display:flex;gap:4px}
.ttv-dots i{width:10px;height:10px;border-radius:50%;background:#A6E3B5}
.ttv-dots i:nth-child(3){background:#FF8A8A}
/* The office's questions */
.ttv-form{padding:18px;display:flex;flex-direction:column;gap:10px}
#ttc-feed-app .ttv-form h2{margin:0;font-size:17px}
.ttv-wrongs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ttv-right-field input{border-color:#A6E3B566!important}
.ttv-small{font-size:13px;margin:0}
.ttv-qlist{display:flex;flex-direction:column;gap:10px}
.ttv-qitem{padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.ttv-qitem.off{opacity:.55}
.ttv-qhead{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8FA6AD}
.ttv-qtext{font-size:15px}
.ttv-qfoot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.ttv-switch{display:inline-flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}
.ttv-switch input{width:18px;height:18px;accent-color:#3FD2E8;margin:0}
.ttv-today{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:10px}
.ttv-today li>span{display:flex;flex-direction:column;gap:2px}
.ttv-today small{font-size:12px;color:#8FA6AD}
.ttv-today strong{font-size:14px}
.ttv-ans{color:#A6E3B5;font-size:13px;font-weight:700}
@media(max-width:1099px){.ttv-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:899px){.ttv-layout{grid-template-columns:1fr}}
@media(max-width:759px){
  .ttv-stage{padding:16px 14px;min-height:0;border-radius:0}
  .ttv-choices{grid-template-columns:1fr}
  #ttc-feed-app .ttv-question{font-size:21px}
  .ttv-wrongs{grid-template-columns:1fr}
  .ttv-step{width:26px;height:26px}
}
@media(prefers-reduced-motion:reduce){.ttv-choice,.ttv-plus{animation:none!important}.ttv-time-bar{transition:none}}
body.ttc-calm .ttv-choice,body.ttc-calm .ttv-plus{animation:none!important}
