/* Simulações do Totem (tela 540×960, TV 1280×720 e gestão). */
.sk-screen--totem { background: #fff; display: flex; flex-direction: column; }
.tt-top { display: flex; align-items: center; gap: 12px; padding: 22px 26px 16px; border-bottom: 1px solid #f1f5f9; }
.tt-top img { width: 42px; height: 42px; border-radius: 12px; }
.tt-top b { font-size: 21px; }
.tt-top span { margin-left: auto; font-size: 14px; color: #475569; background: #f1f5f9; border-radius: 999px; padding: 6px 12px; }
.tt-dica { color: #64748b; font-size: 16px; text-align: center; margin: 6px 0 0; }
.tt-dica b { color: #111827; }

.tt-descanso { position: relative; height: 100%; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.tt-descanso > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; animation: ttZoom 9s ease-in-out infinite alternate; }
.tt-descanso::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.88) 72%); z-index: 1; }
.tt-descanso > * { position: relative; z-index: 2; }
@keyframes ttZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.tt-descanso__v { padding: 0 34px 26px; }
.tt-tag { display: inline-block; background: #dc2626; border-radius: 999px; padding: 6px 14px; font-size: 16px; font-weight: 700; }
.tt-descanso h2 { font-size: 54px; line-height: 1.02; margin: 14px 0 8px; }
.tt-descanso__v b { font-size: 38px; }
.tt-faixa { display: flex; gap: 10px; padding: 0 34px 20px; }
.tt-faixa span { flex: 1; background: rgba(255,255,255,.14); border-radius: 14px; padding: 10px 14px; font-size: 15px; }
.tt-faixa b { display: block; font-size: 26px; letter-spacing: .04em; }
.tt-faixa b.ok { color: #86efac; }
.tt-toque { background: #dc2626; padding: 26px; text-align: center; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 12px; }
.tt-toque i { font-style: normal; animation: ttToque 1.4s ease-in-out infinite; }
@keyframes ttToque { 50% { transform: translateY(-8px); } }

.tt-modo { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 30px 40px; }
.tt-modo h2 { text-align: center; font-size: 36px; margin: 0 0 10px; }
.tt-modo__op { border: 3px solid #e2e8f0; border-radius: 26px; padding: 34px 24px; text-align: center; }
.tt-modo__op i { display: block; font-style: normal; font-size: 64px; }
.tt-modo__op b { display: block; font-size: 30px; margin-top: 8px; }
.tt-modo__op small { font-size: 17px; color: #64748b; }
.tt-modo__op.on { border-color: #dc2626; background: #fef2f2; box-shadow: 0 0 0 6px #fee2e2; }

.tt-cats { display: flex; gap: 8px; padding: 14px 22px; overflow: hidden; }
.tt-cats span { font-size: 16px; padding: 10px 16px; border-radius: 999px; background: #f1f5f9; white-space: nowrap; font-weight: 600; color: #334155; }
.tt-cats span.on { background: #111827; color: #fff; }
.tt-grade { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 4px 22px 14px; align-content: start; }
.tt-card { border: 1px solid #e5e7eb; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.tt-card img { width: 100%; height: 150px; object-fit: cover; }
.tt-card b { font-size: 17px; padding: 10px 12px 0; }
.tt-card small { font-size: 13px; color: #64748b; padding: 2px 12px; }
.tt-card div { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 12px; margin-top: auto; }
.tt-card strong { font-size: 18px; }
.tt-card div span { width: 38px; height: 38px; border-radius: 50%; background: #dc2626; color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 700; }
.tt-card.add { outline: 3px solid #dc2626; }
.tt-sacola { margin: 0 22px 22px; background: #dc2626; color: #fff; border-radius: 20px; padding: 18px 20px; display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; }
.tt-sacola b { margin-left: auto; }
.tt-qtd { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #dc2626; display: grid; place-items: center; }

.tt-carrinho, .tt-pagar { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px 26px 24px; }
.tt-carrinho h2, .tt-pagar h2 { font-size: 30px; margin: 0; }
.tt-linha { display: flex; align-items: center; gap: 14px; }
.tt-linha img { width: 74px; height: 74px; border-radius: 16px; object-fit: cover; }
.tt-linha div { flex: 1; min-width: 0; }
.tt-linha b { display: block; font-size: 18px; }
.tt-linha small { font-size: 14px; color: #64748b; }
.tt-linha strong { font-size: 18px; }
.tt-oferta { border: 2px dashed #f59e0b; background: #fffbeb; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tt-oferta > b { font-size: 19px; color: #92400e; }
.tt-oferta .tt-linha img { width: 60px; height: 60px; }
.tt-bt-mini { background: #dc2626; color: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.tt-tot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #e5e7eb; padding-top: 14px; font-size: 20px; }
.tt-tot b { font-size: 30px; }
.tt-bt { background: #dc2626; color: #fff; text-align: center; border-radius: 20px; padding: 20px; font-size: 22px; font-weight: 800; }

.tt-pagar .tt-dica { text-align: left; margin: -6px 0 4px; font-size: 18px; }
.tt-forma { border: 2px solid #e2e8f0; border-radius: 20px; padding: 16px 18px; display: flex; align-items: center; gap: 16px; }
.tt-forma i { font-style: normal; font-size: 30px; width: 54px; height: 54px; border-radius: 16px; background: #f1f5f9; display: grid; place-items: center; }
.tt-forma b { display: block; font-size: 20px; }
.tt-forma small { font-size: 14px; color: #64748b; }
.tt-forma.on { border-color: #dc2626; background: #fef2f2; }
.tt-qr { margin-top: auto; border-radius: 22px; background: #f8fafc; border: 1px solid #e2e8f0; padding: 18px; display: flex; gap: 18px; align-items: center; }
.tt-qr img { width: 150px; height: 150px; background: #fff; border-radius: 12px; padding: 8px; }
.tt-qr b { display: block; font-size: 19px; }
.tt-qr small { display: block; font-size: 14px; color: #64748b; margin: 4px 0 10px; }
.tt-esp { font-size: 14px; color: #b45309; font-weight: 700; animation: ttPisca 1.2s ease-in-out infinite; }
@keyframes ttPisca { 50% { opacity: .35; } }

.tt-senha { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 40px; text-align: center; background: linear-gradient(180deg, #ecfdf5, #fff 45%); }
.tt-ok { width: 92px; height: 92px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: 52px; font-weight: 800; }
.tt-ok-t { font-size: 26px; color: #065f46; margin-bottom: 14px; }
.tt-senha > small { font-size: 18px; letter-spacing: .14em; color: #475569; font-weight: 700; }
.tt-senha > strong { font-size: 150px; line-height: 1; letter-spacing: -.02em; }
.tt-modo-tag { background: #111827; color: #fff; border-radius: 999px; padding: 9px 18px; font-size: 17px; font-weight: 700; }
.tt-senha p { font-size: 18px; color: #334155; margin: 16px 0 6px; }
.tt-cupom { font-size: 15px; background: #f1f5f9; border-radius: 14px; padding: 10px 14px; }
.tt-volta { margin-top: 18px; font-size: 14px; color: #94a3b8; }

/* TV de senhas */
.tv { height: 100%; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 0% 0%, #035a62, #021f23 60%); position: relative; }
.tv-top { display: flex; align-items: center; gap: 22px; padding: 26px 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.tv-top img { height: 46px; }
.tv-top b { font-size: 30px; }
.tv-top span { margin-left: auto; font-size: 28px; opacity: .8; font-variant-numeric: tabular-nums; }
.tv-cols { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tv-col { padding: 26px 44px; display: flex; flex-direction: column; gap: 12px; }
.tv-col + .tv-col { border-left: 1px solid rgba(255,255,255,.12); }
.tv-col h3 { margin: 0; font-size: 32px; }
.tv-sub { font-size: 18px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: 8px; }
.tv-sub.ok { color: #86efac; opacity: 1; }
.tv-nums { display: flex; flex-wrap: wrap; gap: 14px; }
.tv-nums span { min-width: 120px; text-align: center; font-size: 56px; font-weight: 800; border-radius: 20px; padding: 10px 18px; background: rgba(255,255,255,.08); font-variant-numeric: tabular-nums; }
.tv-nums.ok span { background: #16a34a; }
.tv-nums span small { display: block; font-size: 15px; letter-spacing: .1em; }
.tv-nums span.novo { animation: tvNovo 1s ease-in-out infinite; box-shadow: 0 0 0 6px rgba(134,239,172,.5); }
@keyframes tvNovo { 50% { transform: scale(1.06); } }
.tv-chama { position: absolute; right: 44px; bottom: 34px; background: #fff; color: #021f23; border-radius: 28px; padding: 18px 34px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); animation: skIn .4s ease-out both; }
.tv-chama small { font-size: 20px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.tv-chama b { display: block; font-size: 96px; line-height: 1; }
.tv-chama span { font-size: 20px; font-weight: 700; color: #025e67; }

/* gestão */
.tg-kb { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tg-col { background: #f1f5f9; border-radius: 12px; display: flex; flex-direction: column; gap: 6px; padding: 0 0 8px; min-height: 0; overflow: hidden; }
.tg-col header { display: flex; justify-content: space-between; padding: 8px 10px; font-weight: 700; font-size: 11px; border-radius: 12px 12px 0 0; }
.tg-ped { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; margin: 0 7px; padding: 8px 9px; display: flex; flex-direction: column; gap: 2px; }
.tg-ped small { font-size: 10.5px; }
.tg-senha { font-size: 18px; }
.tg-tag { align-self: flex-start; margin-top: 4px; font-size: 9.5px; border-radius: 999px; padding: 2px 8px; font-weight: 700; }
.tg-tag.am { background: #fef3c7; color: #92400e; }
.tg-tag.te { background: #ccfbf1; color: #024a51; }
.tg-bt { margin-top: 5px; text-align: center; background: #16a34a; color: #fff; border-radius: 8px; padding: 5px; font-weight: 700; font-size: 10.5px; }
.tg-totens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tg-totem { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.tg-totem b { font-size: 13px; }
.tg-on { font-size: 10.5px; color: #15803d; font-weight: 700; }
.tg-on.off { color: #b45309; }
.tg-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tg-mini span { background: #f8fafc; border-radius: 8px; padding: 7px 8px; font-size: 10px; color: #64748b; }
.tg-mini b { display: block; font-size: 15px; color: #111827; }
.tg-sync { font-size: 10.5px; color: #15803d; }
.tg-sync.pend { color: #b45309; }
.tg-novo { background: #fff; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 11px 13px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11px; }
.tg-novo span { background: #f1f5f9; border-radius: 999px; padding: 4px 10px; }
.tg-regras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tg-regras .gp-card { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; }
.tg-ck { display: flex; align-items: center; gap: 7px; font-size: 11.5px; }
.tg-ck span { width: 16px; height: 16px; border-radius: 4px; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: 10px; }
@media (prefers-reduced-motion: reduce) {
  .tt-descanso > img, .tt-toque i, .tt-esp, .tv-nums span.novo { animation: none; }
}
.tg-horas { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 150px; margin: 10px 0 6px; }
.tg-horas div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tg-horas span { display: flex; gap: 3px; align-items: flex-end; }
.tg-horas i, .tg-leg { display: inline-block; width: 14px; border-radius: 4px 4px 0 0; background: #dc2626; }
.tg-horas i.b, .tg-leg.b { background: #0f766e; }
.tg-horas i.c, .tg-leg.c { background: #f59e0b; }
.tg-leg { width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.tg-horas small { font-size: 10px; color: #64748b; }
.tg-aviso { display: flex; gap: 10px; align-items: center; background: #fffbeb; border: 1px solid #fcd34d; color: #78350f; border-radius: 12px; padding: 10px 12px; font-size: 11.5px; }
.tg-aviso > b { white-space: nowrap; }
.tg-func { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.tg-func div { background: #f8fafc; border-radius: 8px; padding: 7px 9px; }
.tg-func small { display: block; font-size: 10px; color: #64748b; }
.tg-func b { font-size: 11.5px; }
