/* Game covers (ttc-game-covers.js) and the Games page cards that hold them. Every cover is a 16:9 box of layers. */
.tgc{position:relative;display:block;overflow:hidden;aspect-ratio:16/9;border-radius:16px;background:#0E191D;border:2px solid #12202B;box-sizing:border-box;isolation:isolate}
.tgc>svg{position:absolute;display:block;max-width:none}
.tgc>.tgc-art,.tgc>.thg-scene{left:0;top:0;width:100%;height:100%}
.tgc>.tgc-me{height:112%;width:auto;top:-9%;left:47%}
.tgc>.tgc-bot{height:80%;width:auto;top:15%;left:76%}
.tgc>.tgc-drone{width:12%;height:auto;top:5%;left:85%}
.tgc>.tgc-host{height:68%;width:auto;left:4%;top:42%}
.tgc>.tgc-elf{height:53%;width:auto;left:4%;top:49%}
.tgc>.tgc-pop{height:56%;width:auto;left:46.75%;top:13%}

.tgc-spark{transform-box:fill-box;transform-origin:center;animation:tgc-twinkle 2.6s ease-in-out infinite}
.tgc-spark.s2{animation-delay:-.9s}
.tgc-spark.s3{animation-delay:-1.7s}
@keyframes tgc-twinkle{0%,100%{transform:scale(.55);opacity:.5}50%{transform:scale(1.1);opacity:1}}
.tgc-star,.tgc-glow{animation:tgc-blink 3.2s ease-in-out infinite}
.tgc-star.s1{animation-delay:-1.1s}
.tgc-star.s2{animation-delay:-2.2s}
@keyframes tgc-blink{0%,100%{opacity:.45}50%{opacity:1}}
.tgc-bulb{animation:tgc-blink 1.8s ease-in-out infinite}
.tgc-bulb.b1{animation-delay:-.45s}
.tgc-bulb.b2{animation-delay:-.9s}
.tgc-bulb.b3{animation-delay:-1.35s}
.tgc-flake{animation:tgc-fall 8s linear infinite}
.tgc-flake.f1{animation-duration:10s;animation-delay:-3s}
.tgc-flake.f2{animation-duration:12s;animation-delay:-7s}
.tgc-flake.f3{animation-duration:9s;animation-delay:-5s}
@keyframes tgc-fall{from{transform:translate(0,-380px)}to{transform:translate(26px,380px)}}
.tgc-rays{transform-origin:400px 226px;animation:tgc-spin 80s linear infinite}
@keyframes tgc-spin{to{transform:rotate(360deg)}}
.tgc-coin{transform-box:fill-box;transform-origin:center;animation:tgc-bob 3.4s ease-in-out infinite}
.tgc-coin.c2{animation-delay:-1.1s}
.tgc-coin.c3{animation-delay:-2.2s}
@keyframes tgc-bob{0%,100%{transform:translateY(-4px) rotate(-5deg)}50%{transform:translateY(5px) rotate(6deg)}}
.tgc-right{transform-box:fill-box;transform-origin:center;animation:tgc-pulse 2.2s ease-in-out infinite}
@keyframes tgc-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
.tgc-beam{transform-origin:60px -20px;animation:tgc-sweep 6s ease-in-out infinite alternate}
.tgc-beam.b2{transform-origin:580px -20px;animation-direction:alternate-reverse}
@keyframes tgc-sweep{from{transform:rotate(-5deg)}to{transform:rotate(7deg)}}
@media(prefers-reduced-motion:reduce){.tgc *{animation:none!important}}
body.ttc-calm .tgc *{animation:none!important}

/* The Games page shelf: Hang Time across the top, the daily games under it. */
.tg-shelf{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.tg-game2{grid-column:span 2;display:flex;flex-direction:column;padding:10px;min-width:0}
.tg-shelf.two .tg-game2{grid-column:span 3}
.tg-shelf .tg-game2.feature{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:0 20px;align-items:center}
.tg-cover{position:relative;display:block;border-radius:16px;text-decoration:none}
.tg-cover .tgc{transition:transform .25s ease}
a.tg-cover:hover .tgc,a.tg-cover:focus-visible .tgc{transform:scale(1.012)}
.tg-pill{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;background:#16262D;color:#B9CBD5;font:700 11.5px Inter,sans-serif;letter-spacing:.02em;border:1.5px solid #27414F}
.tg-pill.ready{color:#7BE6F5;background:#3FD2E81F;border-color:#3FD2E866}
.tg-pill.ready i{width:7px;height:7px;border-radius:50%;background:#3FD2E8;animation:tgc-blink 1.4s ease-in-out infinite}
.tg-pill.done{color:#9FE7B5;border-color:#2E5A41}
.tg-pill.go{background:#FFD23F;color:#2A1A00;border-color:#FFD23F}
.tg-game2-body{display:flex;flex-direction:column;gap:6px;padding:12px 6px 6px;flex:1;min-width:0}
#ttc-feed-app .tg-game2 h2{margin:0;font-size:18px}
.tg-game2 p{margin:0!important;font-size:14px}
.tg-game2 .tg-btns{margin-top:auto;padding-top:6px}
#ttc-feed-app .tg-game2.feature h2{font-size:28px}
.tg-game2.feature .tg-game2-body{padding:8px 10px 8px 0;gap:10px;flex:none}
.tg-game2.feature p{font-size:15px}
@media(max-width:759px){
  .tg-shelf{gap:10px}
  .tg-shelf .tg-game2{grid-column:span 3;padding:8px}
  .tg-shelf .tg-game2.wide{grid-column:1/-1}
  .tg-shelf .tg-game2.feature{grid-column:1/-1;display:flex;align-items:stretch}
  .tg-game2.feature .tg-game2-body{padding:12px 6px 6px}
  #ttc-feed-app .tg-game2.feature h2{font-size:22px}
  #ttc-feed-app .tg-shelf .tg-game2:not(.wide):not(.feature) h2{font-size:16px}
  .tg-shelf .tg-game2:not(.wide):not(.feature) p{font-size:12.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .tg-shelf .tg-game2:not(.wide):not(.feature) .ta-btn{width:100%;justify-content:center}
  .tg-pill{font-size:11px;padding:2px 8px}
}
#ttc-feed-app .tg-game2 p.tg-note{color:#7BE6F5;font-weight:600;font-size:13.5px}
