/* Trang chờ mã trên TV, giá trị lấy từ TvWaiting.dc.html. Khung cố định 1280x720, app.js co giãn cho vừa màn hình. */
html, body { margin: 0; height: 100%; overflow: hidden; background: #0D0E11; }

.tv {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
  box-sizing: border-box;
  padding: 48px 72px 40px;
  background: #0D0E11;
  color: #F3F4F6;
  font-family: 'Google Sans', Roboto, system-ui, sans-serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.top { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo { width: 44px; height: 44px; border-radius: 12px; background: #CF4510; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.logo .i { width: 32px; height: 32px; stroke-width: 2.1; }
.logo .thin { stroke-width: 1.25; }
.name { flex-grow: 1; font-size: 26px; font-weight: 500; letter-spacing: -0.3px; }
.ready { font-size: 20px; color: #A9AFBA; }
.host { color: #F3F4F6; }

.main { flex-grow: 1; display: flex; align-items: center; gap: 72px; }
.left { flex-grow: 1; display: flex; flex-direction: column; gap: 28px; }
.lead { font-size: 26px; line-height: 34px; color: #A9AFBA; }

.code { display: flex; align-items: baseline; gap: 36px; font-size: 148px; line-height: 148px; font-weight: 500; letter-spacing: 10px; font-variant-numeric: tabular-nums; }
.code.off { color: #4A505C; font-variant-numeric: normal; }

.status { display: flex; align-items: center; gap: 14px; font-size: 22px; line-height: 30px; }
.status .dot { width: 12px; height: 12px; border-radius: 6px; background: #FF6B2C; flex-shrink: 0; -webkit-animation: pulse 1.4s ease-in-out infinite; animation: pulse 1.4s ease-in-out infinite; }
.status.bad { color: #FFB199; }
.status.bad .dot { display: none; }
.ttl { font-variant-numeric: tabular-nums; }

.steps { display: flex; gap: 40px; padding-top: 12px; border-top: 1px solid #2A2E36; }
.step { display: flex; flex-direction: column; gap: 6px; flex-basis: 0; flex-grow: 1; padding-top: 20px; }
.step .num { font-size: 18px; color: #FF8A57; font-weight: 500; }
.step .txt { font-size: 19px; line-height: 27px; }

.right { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.qr { width: 340px; height: 340px; box-sizing: border-box; padding: 26px; border-radius: 20px; background: #FFFFFF; display: flex; }
.qr svg { width: 288px; height: 288px; }
.qr-note { font-size: 20px; line-height: 28px; text-align: center; }
.qr-note .sub { color: #A9AFBA; font-size: 17px; }

.foot { display: flex; justify-content: space-between; align-items: center; font-size: 17px; color: #A9AFBA; flex-shrink: 0; }

@-webkit-keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { * { -webkit-animation: none !important; animation: none !important; } }
