/* Only what Zibby's stylesheet has no class for: the live game in the cover slot, the live tag, the list of changes, the play page. Zibby tokens only. */
[hidden] { display: none !important; }

.live-cover { position: relative; background: #0e0d14; }
.live-frames, .live-frames iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-frames iframe { opacity: 0; transition: opacity 500ms ease; background: #0e0d14; }
.live-frames iframe.on { opacity: 1; }
.live-soon { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: rgba(255, 255, 255, 0.72); font-weight: 600; }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--zb-ink-3); flex: none; }
.live-tag-on .live-dot { background: #ff3b5c; animation: live-pulse 1.8s ease-out infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(255, 59, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); } }

.live-run-row { flex-direction: row; flex-wrap: wrap; }
.live-run-row .zb-btn { flex: 1 1 200px; }
.live-now { min-height: 1.5em; }
.live-now b { color: var(--zb-brand); font-weight: 600; }
.live-now-idea { color: var(--zb-ink); font-weight: 600; }

.live-toast { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.94); color: var(--zb-ink); font-weight: 600; font-size: 14px; line-height: 1.35; box-shadow: 0 6px 24px rgba(2, 1, 17, 0.18); transform: translateY(12px); opacity: 0; transition: transform 380ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 380ms ease; pointer-events: none; }
.live-toast.show { transform: none; opacity: 1; }
.live-toast span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.live-changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.live-change { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--zb-divider); }
.live-change:first-child { border-top: 0; }
.live-change-shot { width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; background: var(--zb-brand-tint); display: block; }
.live-change-body { min-width: 0; display: grid; gap: 2px; }
.live-change-title { overflow-wrap: anywhere; }
.live-change-title b { font-weight: 600; color: var(--zb-brand); }

.live-make { display: flex; flex-direction: column; gap: 24px; }
.live-make-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) {
  .live-make { flex-direction: row; align-items: center; justify-content: space-between; }
  .live-make > div:first-child { max-width: 640px; }
}

/* Play page: Zibby's wordmark bar on top, the game fills the rest. */
.live-play-body { margin: 0; height: 100vh; overflow: hidden; background: var(--zb-bg); }
.live-play { height: 100vh; display: flex; flex-direction: column; }
.live-play-bar { flex: none; display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: var(--zb-surface); border-bottom: 1px solid var(--zb-divider); min-width: 0; }
.live-play-title { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-play-stage { position: relative; flex: 1; min-height: 0; background: #0e0d14; }
@media (max-width: 640px) {
  .live-play-bar { gap: 10px; padding: 8px 12px; }
  .live-play-bar .zb-wordmark-text, .live-play-title { display: none; }
  .live-change { grid-template-columns: 72px minmax(0, 1fr); }
  .live-change .zb-tag { display: none; }
  .live-change-shot { width: 72px; }
}
