/* TAKE A NUMBER! - Big Barb's deli counter cabinet beside G.L.A.M. SLAM! at Quarter Castle. Its own marquee (a lit deli
   ticket off the roll), the card after a game and the WORK THIS RUSH card; the rest is cabinet.css. */
.tk .marquee{background:
    radial-gradient(circle at 0 50%,var(--deep) 0 7px,transparent 7.5px),radial-gradient(circle at 100% 50%,var(--deep) 0 7px,transparent 7.5px),
    linear-gradient(180deg,transparent 0 7px,#e4002b 7px 10px,transparent 10px calc(100% - 10px),#e4002b calc(100% - 10px) calc(100% - 7px),transparent calc(100% - 7px)),
    radial-gradient(ellipse 85% 130% at 50% 40%,#fffaf0 0%,#f8efd6 45%,#ecdcb4 100%);
  box-shadow:0 0 0 3px var(--deep),0 0 26px rgba(255,230,180,.75),inset 0 0 16px rgba(255,255,255,.7)}
.tk .logo{font-size:50px;letter-spacing:.03em;color:#e4002b;white-space:nowrap;text-shadow:3px 3px 0 #5a0012,0 0 10px rgba(255,255,255,.9)}
.tk .qca{letter-spacing:.24em;color:var(--deep)}
/* the ticket machine, where the home's marquee has Holly: the ticket's tongue clicks out */
.tmach{position:relative;flex:none;width:52px;height:50px;display:flex;align-items:center;justify-content:center}
.tm{display:block;width:44px;height:48px;overflow:visible;filter:drop-shadow(0 0 6px rgba(228,0,43,.5))}
.tm-body{fill:#c8102e;stroke:var(--deep);stroke-width:1.5}
.tm-face{fill:#e4002b;stroke:#7a0016;stroke-width:1}
.tm-tkp{fill:#f4ecd2;stroke:#b8ac88;stroke-width:.8}
@media (prefers-reduced-motion:no-preference){
  .tm-tk{animation:tmClick 2.8s steps(1,end) infinite}
  @keyframes tmClick{0%,60%{transform:translateY(-5px)}61%,100%{transform:translateY(0)}}
}
.tk .new{width:66px;border-color:#e4002b}
@media (min-width:721px) and (max-height:940px){.tk .logo{font-size:42px}.tmach{width:44px;height:44px}.tm{width:38px;height:42px}}
@media (max-width:720px){
  .tk .logo{font-size:30px}
  .tmach{width:30px;height:34px}.tm{width:27px;height:30px}
  .tk .new{display:none}
}
@media (max-width:360px){
  .tk .logo{font-size:24px}
  .tmach{width:24px;height:28px}.tm{width:22px;height:25px}
}
.cab.k1 .tmach{width:30px;height:34px}
.cab.k1 .tm{width:27px;height:30px}
.tk .cab.k1 .logo{font-size:30px}

/* RING UP reads inside C at every width: two short lines */
.tk .bt.bc span{width:min-content;line-height:1;text-align:center}
@media (max-width:360px){.tk .bt.bc span{font-size:6.5px;letter-spacing:0}}

/* the card after a game: Big Barb's counter (her face and her doors), the orders up, YOUR BEST CUSTOMER (the lady served
   fastest, her face, her order and her doors), SHARE IT and AGAIN; under the cabinet (beside it from 1220 px). Never on
   the game screen */
.tkpass{flex:1 0 100%;position:relative;overflow-x:clip;display:grid;grid-template-columns:1fr;justify-items:center;gap:4px;max-width:420px;margin:2px auto 4px;padding:30px 16px 14px;
  border-radius:12px;background:linear-gradient(180deg,#fffaf0,#f4e6c4);color:var(--deep);text-align:center;
  box-shadow:0 0 0 3px #e4002b,0 0 0 6px var(--deep),0 0 22px rgba(228,0,43,.4),5px 7px 0 6px rgba(0,0,0,.35)}
.tkpass[hidden]{display:none}
.tkpass::before{content:"";position:absolute;left:50%;top:9px;width:38px;height:8px;margin-left:-19px;border-radius:4px;background:var(--ink);box-shadow:inset 0 1px 2px rgba(0,0,0,.8)}
.tk-h{width:calc(100% + 32px);margin:0 -16px 4px;padding:4px 0;background:#c8102e;color:#fff;font-family:var(--bg);font-weight:400;font-size:15px;letter-spacing:.12em;word-spacing:.3em}
.tk-word{margin:0;font-family:var(--lg);font-size:28px;line-height:1.05;letter-spacing:.03em;color:#c8102e;transform:rotate(-3deg)}
.tk-barb,.tk-who{display:flex;align-items:center;gap:12px;width:100%;margin-top:4px;text-align:left}
.tk-bface,.tk-face{flex:none;width:60px;height:72px;border-radius:3px;background:#000 url(/portraits2.png) no-repeat;background-size:480px 360px;image-rendering:pixelated;box-shadow:0 0 0 3px #e4002b,0 0 0 5px var(--deep)}
.tk-face{box-shadow:0 0 0 3px var(--pink),0 0 0 5px var(--deep)}
.tk-btxt,.tk-txt{margin:0;display:flex;flex-direction:column;gap:3px;min-width:0}
.tk-bname,.tk-name{font-family:var(--lg);font-size:19px;line-height:1.05;letter-spacing:.02em;overflow-wrap:break-word}
.tk-bsay{font:700 13px/1.3 var(--ar);color:#3a3440}
.tk-secs{font-family:var(--bg);font-size:11px;letter-spacing:.08em;color:#c8102e}
.tk-said{font:700 13px/1.3 var(--ar);color:#3a3440}
.tk-up{margin:4px 0 0;font-family:var(--bg);font-size:12px;letter-spacing:.1em}
.tk-up b{font-family:var(--lg);font-weight:400;font-size:22px;color:#c8102e}
.tk-reach{margin:0;font-family:var(--bg);font-size:10.5px;letter-spacing:.08em;color:#4a4a58}
.tk-her{display:grid;justify-items:center;gap:4px;width:100%;margin-top:6px;padding-top:8px;border-top:2px dashed #c8b898}
.tk-her[hidden]{display:none}
.tk-hh{margin:0;font-family:var(--bg);font-weight:400;font-size:12px;letter-spacing:.12em;color:#c8102e}
.tk-bgo,.tk-hgo,.tk-go{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin-top:6px}
.tk-bgo a,.tk-hgo a,.tk-go button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:5px 8px;border-radius:10px;border:2px solid #e4002b;background:#0a0c3a;color:var(--yellow);
  font-family:var(--bg);font-size:12px;line-height:1.15;letter-spacing:.04em;word-spacing:.15em;text-decoration:none;cursor:pointer;box-shadow:0 0 10px rgba(228,0,43,.3)}
.tk-go button[hidden]{display:none}
.tk-bgo a:hover,.tk-hgo a:hover,.tk-go button:hover{background:#151a66;color:#fff}
.tk-bhear,.tk-hgo .tk-hear{border-color:var(--cyan)!important;color:#fff!important}
.tk-go .tk-share{border-color:var(--yellow)}
.tk-go .tk-again{border-color:var(--yellow);background:var(--yellow);color:var(--deep);box-shadow:0 0 10px rgba(255,212,0,.45)}
.tk-go .tk-again:hover{background:#ffe45a;color:var(--deep)}
.tk-go .tk-share[hidden]+.tk-again{grid-column:1 / -1}
.tk-say{margin:0;min-height:1.3em;font-size:12px;font-weight:700;color:var(--deep)}
.tk-map{margin:0;font:400 12px/1.35 var(--ar);color:#4a4a58}
.tk-map a{font-weight:900;color:#c8102e;text-underline-offset:2px}
.tk-map a:hover{color:var(--deep)}
@media (prefers-reduced-motion:no-preference){
  .tkpass.stamping .tk-word{animation:tkStamp .35s cubic-bezier(.2,1.4,.5,1) both}
  @keyframes tkStamp{0%{transform:rotate(-3deg) scale(2.2);opacity:0}100%{transform:rotate(-3deg) scale(1);opacity:1}}
}
@media (min-width:1220px){
  .tkpass{position:absolute;top:var(--cabtop,40px);left:calc(50% + 414px);width:min(240px,calc(50% - 430px));max-width:none;margin:0;padding:28px 12px 12px}
  body:has(.cab.k1) .tkpass{left:calc(50% + 224px);width:min(240px,calc(50% - 240px))}
  .tk-h{width:calc(100% + 24px);margin:0 -12px 4px;font-size:13px}
  .tk-word{font-size:23px}
  .tk-barb,.tk-who{flex-direction:column;text-align:center}
  .tk-bname,.tk-name{font-size:16px}
  .tk-bgo,.tk-hgo,.tk-go{grid-template-columns:1fr}
}
.gdoors .gd-home{border-color:var(--yellow);color:#fff;box-shadow:0 0 12px rgba(255,212,0,.4)}
.gdoors .gd-more{border-color:var(--cyan);color:#fff;box-shadow:0 0 12px rgba(0,194,224,.4)}

/* WORK THIS RUSH: a shared rush's card (the counter's card, as SHE'S WAITING is): Big Barb's face, the rush and its
   target, and what the friend who shared it did */
.tk .tonight.waiting .tn-a{font-size:18px;line-height:22px}
.tk .tonight.waiting .tn-b{display:block;font:700 12.5px/22px var(--ar);letter-spacing:.02em;color:#c8102e}
.tk .tn-fa{background-position:-30px 0}
@media (min-width:1220px){.tk .tonight.waiting .tn-a{font-size:17px;line-height:22px}.tk .tonight.waiting .tn-b{line-height:17px;margin-top:3px}}

/* the high scores on this machine */
#tkboard{margin:0;padding:0;list-style:none;counter-reset:rk}
#tkboard li{counter-increment:rk;display:flex;align-items:baseline;gap:10px;padding:3px 0;font-family:var(--bg);font-size:15px;letter-spacing:.04em;color:var(--yellow)}
#tkboard li::before{content:counter(rk) ".";width:2.2em;flex:none;text-align:right;color:#9aa2c0;font-size:13px}
#tkboard li:nth-child(n+4){color:var(--cyan)}
.tkb-ini{width:3.2em;flex:none}
.tkb-n{flex:1;min-width:0;font-size:12px;color:#fff;letter-spacing:.06em}
.tkb-st{font-size:11px;color:#c8cce0;letter-spacing:.1em;white-space:nowrap}
.tkb-sc{margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}
.tkb-fast{margin:10px 0 0;color:#c8cce0;font-size:14px}
.tkb-fast b{color:var(--yellow);font-family:var(--bg);font-weight:400;letter-spacing:.04em}
@media (max-width:560px){
  #tkboard li{flex-wrap:wrap;gap:2px 8px;font-size:13px}
  .tkb-st{order:3;flex:1 0 100%;padding-left:calc(2.2em + 10px)}
}
