:root {
  --bg: #0a0d14;
  --panel: #10141f;
  --border: #1f2637;
  --text: #e6e9f0;
  --dim: #8992a8;
  --accent: #34d399;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(ellipse at top, #121729 0%, #05070c 70%);
  color: var(--text);
  font-family: "SF Pro Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand h1 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.queue-badge {
  font-size: 0.8rem;
  color: var(--dim);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}

.floor {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.courier-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.desk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 130px;
  position: relative;
  z-index: 1;
}

.avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  background: hsl(var(--hue) 70% 18%);
  border: 2px solid hsl(var(--hue) 70% 40%);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.desk.working .avatar {
  border-color: hsl(var(--hue) 85% 62%);
  box-shadow: 0 0 24px hsl(var(--hue) 85% 45% / 0.55);
  animation: bob 0.9s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.desk-box {
  text-align: center;
}

.desk-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.desk-status {
  font-size: 0.72rem;
  color: var(--dim);
  margin-top: 2px;
  min-height: 1em;
}

.desk.working .desk-status {
  color: var(--accent);
}

.courier {
  fill: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.8));
}

.statusbar {
  border-top: 1px solid var(--border);
  padding: 16px 24px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.current-line {
  font-size: 0.9rem;
  color: var(--accent);
  min-height: 1.2em;
  margin-bottom: 14px;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--dim);
}

.feed-item {
  padding: 2px 0;
}

@media (max-width: 640px) {
  .floor { gap: 18px; padding: 40px 12px; }
  .desk { width: 88px; }
  .avatar { width: 56px; height: 56px; font-size: 1.4rem; }
  .desk-name { font-size: 0.7rem; }
  .desk-status { font-size: 0.62rem; }
}
