:root{
  --bg1:#0b1220;
  --bg2:#0f1b33;
  --card:#0f172a;
  --muted:#94a3b8;
  --text:#e2e8f0;
  --accent:#38bdf8;
  --good:#22c55e;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin-inline:30px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 20% 10%, rgba(56,189,248,.25), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(34,197,94,.18), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

.logo img{
  width: 60px;
}

.screen{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  padding:24px;
  gap:18px;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.dot{
  width:12px;height:12px;border-radius:99px;background:var(--accent);
  box-shadow: 0 0 0 6px rgba(56,189,248,.12);
}
.title{font-size:22px;font-weight:800;letter-spacing:.2px}
.subtitle{font-size:18px;margin-top:2px;font-weight:500}

.meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 30px;
}

.timeInfo{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.pill{
  padding:10px 14px;
  border-radius:999px;
  background: rgba(148,163,184,.14);
  border:1px solid rgba(148,163,184,.18);
  color: var(--text);
  font-weight:700;
  font-size:14px;
}
.stage{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.card{
  width:min(960px, 100%);
  background: rgba(15,23,42,.78);
  border:1px solid rgba(148,163,184,.18);
  border-radius:24px;
  padding: 40px 50px 50px 50px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
  transform: translateY(0);
  opacity:1;
  transition: opacity .35s ease, transform .35s ease;
}

.card.hidden{
  opacity:0;
  transform: translateY(12px);
  pointer-events:none;
}

.label{
  padding:8px 12px;
  border-radius:999px;
  background: rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.25);
  color:#bbf7d0;
  font-weight:700;
  font-size:14px;
}

.name{
  font-size:44px;
  font-weight:900;
  letter-spacing:.3px;
  line-height:1.15;
  margin: 4px 0 18px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
}
.item{
  padding:14px 16px;
  border-radius:16px;
  background: rgba(148,163,184,.08);
  border:1px solid rgba(148,163,184,.14);
}
.k{color:var(--muted);font-size:18px;font-weight:500;margin-bottom:6px}
.v{font-size:22px;font-weight:800; font-variant-numeric: tabular-nums;}

.counter{
  position:absolute;
  right:18px;
  bottom:16px;
  color: var(--muted);
  font-size:14px;
}

.empty{
  text-align:center;
  padding:40px;
  border-radius:24px;
  background: rgba(15,23,42,.55);
  border:1px solid rgba(148,163,184,.16);
  width:min(760px, 100%);
}
.emptyTitle{
  font-size:22px;
  font-weight:900;
}
.emptySub{
  margin-top:8px;
  color:var(--muted);
}

.footer{
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
  gap:12px;
  flex-wrap:wrap;
}
.small{font-size:13px;color:var(--muted)}
.small code{
  padding:2px 6px;
  border-radius:8px;
  background: rgba(148,163,184,.12);
  border:1px solid rgba(148,163,184,.16);
  color:var(--text);
}
.dim{opacity:.9}

@media (max-width: 720px){
  .name{font-size:34px}
  .grid{grid-template-columns: 1fr}
}

.btn{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.22);
  background: rgba(148,163,184,.12);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.btn.primary{
  background: rgba(56,189,248,.18);
  border-color: rgba(56,189,248,.4);
}
.btn.danger{
  background: rgba(239,68,68,.14);
  border-color: rgba(239,68,68,.35);
}
.btn.ghost{
  background: transparent;
}

#login a{
  text-decoration: none;
  color: inherit;
  cursor: pointer;

}

/* footer{
  display: flex;
  justify-content: center;
} */

.qr img{
  width: 150px;
  
}


@media (max-width: 675px){
  .timeInfo{
    display: none;

  }

  .card{
    padding: 30px 30px 40px 30px;
    margin-top: 30px;
  }

 
}