.hub.is-lives .stack-left,
.hub.is-lives .avatar-rail {
  display: none;
}

.hub.is-lives .hub-stage {
  grid-template-columns: minmax(0, 1fr);
  padding: 4px 10px 6px 4px;
}

.tab-panel[data-panel="lives"].is-on {
  display: flex;
}

#lives-root,
.lv {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
}

.lv-head span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.lv-head h2 {
  font-family: var(--font-brand);
  font-size: 36px;
  line-height: 0.95;
}

.lv-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lv-head b {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

#lv-refresh {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(12, 12, 16, 0.45);
  color: #fff;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lv-wall {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: auto;
}

.lv-card {
  position: relative;
  min-height: 150px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #fff;
  text-align: left;
  font-family: inherit;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.lv-banner {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  z-index: 0;
}

.lv-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.05), rgba(8, 8, 12, 0.82));
}

.lv-card > *:not(.lv-banner):not(.lv-live):not(.lv-x) {
  position: relative;
  z-index: 1;
}

.lv-empty {
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

.lv-empty span {
  font-size: 15px;
}

.lv-empty em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 6px;
}

.lv-on {
  cursor: pointer;
}

.lv-on:hover {
  border-color: rgba(3, 252, 182, 0.5);
  transform: translateY(-2px);
}

.lv-on b {
  font-size: 18px;
  text-shadow: 0 8px 18px #000;
}

.lv-on em,
.lv-on p {
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.lv-live {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: auto;
  align-self: flex-start;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  background: #e23;
  color: #fff;
  border-radius: 6px;
  padding: 4px 7px;
  box-shadow: 0 0 10px rgba(255, 40, 60, 0.45);
  pointer-events: none;
}

.lv-x {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: rgba(8, 8, 12, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
}

.lv-on:hover .lv-x,
.lv-x:focus {
  opacity: 1;
}

.lv-admin[hidden],
.tu-admin[hidden] {
  display: none !important;
}

.lv-admin {
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 16, 0.4);
  padding: 8px 12px;
}

.lv-admin summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--mute);
}

.lv-form {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.2fr auto;
  gap: 8px;
  margin-top: 10px;
}

.lv-form input,
.lv-form button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(12, 12, 16, 0.45);
  color: #fff;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 12px;
}

.lv-form button {
  background: #fff;
  color: #111;
  font-weight: 650;
  border: 0;
}

.lv-roster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.lv-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.lv-mini.on em {
  color: #ff4d62;
}

.lv-del {
  border: 0;
  background: none;
  color: #ff8aa0;
  cursor: pointer;
}

.lv-offline {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  color: var(--mute);
}
