:root {
  --bg: #10131e;
  --panel: #191e2c;
  --line: #ffffff16;
  --text: #f6f7fc;
  --muted: #9aabc0;
  --lime: #d8ff43;
  --purple: #aa8bff;
  --cyan: #72e6dd;
  --radius: 22px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a.primary {
  cursor: pointer;
}
button {
  color: var(--text);
  background: #262e40;
  border: 1px solid #ffffff15;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  background: #37425b;
}
button:active {
  transform: translateY(2px);
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
input,
textarea,
select {
  width: 100%;
  background: #0f1420;
  color: var(--text);
  border: 1px solid #ffffff25;
  border-radius: 12px;
  padding: 13px;
}
textarea {
  min-height: 125px;
  resize: vertical;
}
label {
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -3px;
  font-weight: 900;
}
h1 em {
  font-style: normal;
  color: var(--lime);
}
h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
}
p {
  line-height: 1.6;
  color: var(--muted);
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--lime);
  color: #151a13;
  border: 0;
  padding: 16px 23px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  border-radius: 12px;
}
.primary:hover {
  background: #e6ff88;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--muted);
  margin-bottom: 16px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand > span {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--lime);
  padding: 6px 8px;
  border: 1px solid #d8ff4360;
  border-radius: 5px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.brand i {
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
}
.connection {
  font-size: 10px;
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.4px;
}
.connection.offline {
  color: #ffbc67;
}
.loading {
  padding: 15vh 10vw;
  font-size: 50px;
  font-weight: 900;
}
.loading b {
  color: var(--lime);
}
.loading p {
  font-size: 18px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  max-width: 90vw;
  background: #f6f8ff;
  color: #151927;
  padding: 15px 24px;
  border-radius: 14px;
  z-index: 1000;
  box-shadow: 0 10px 50px #0006;
  transition:
    opacity 0.2s,
    transform 0.2s;
  font-weight: 650;
  font-size: 14px;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.landing {
  max-width: 1300px;
  margin: auto;
  min-height: 100vh;
  padding: 45px 6vw;
  position: relative;
  overflow: hidden;
}
.landing > .brand {
  margin-bottom: 90px;
}
.landing h1 {
  font-size: clamp(60px, 9vw, 130px);
}
.landing-links {
  margin: 35px 0;
}
.landing-star {
  position: absolute;
  right: 3vw;
  top: 18vh;
  font-size: 400px;
  line-height: 1;
  color: var(--purple);
  transform: rotate(12deg);
  z-index: -1;
  opacity: 0.65;
}
.event-cards {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.event-cards > a {
  padding: 25px;
  border: 1px solid var(--line);
  background: #191e2cf0;
  border-radius: 18px;
  min-width: 280px;
}
.event-cards h2 {
  font-size: 21px;
}
.event-cards > a > span:last-child {
  font-size: 12px;
  color: var(--lime);
}
.login-shell {
  min-height: 100vh;
  padding: 35px 7vw;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
.login-shell > .brand {
  grid-column: 1/-1;
}
.login-art {
  position: relative;
  isolation: isolate;
}
.login-art h1 {
  font-size: clamp(50px, 6vw, 84px);
}
.giant-star {
  position: absolute;
  font-size: 340px;
  right: 0;
  bottom: -140px;
  z-index: -1;
  color: #aa8bff20;
}
.login-card {
  max-width: 440px;
  padding: 38px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  gap: 17px;
  box-shadow: 0 30px 70px #0003;
}
.pill {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--lime);
  padding: 8px 10px;
  border: 1px solid #d8ff4330;
  border-radius: 30px;
  justify-self: start;
}
.login-card h2,
.login-card p {
  margin: 0;
}
#login-error {
  color: #ff9ca5;
  font-size: 13px;
}
.moderator-shell {
  display: grid;
  grid-template-columns: 215px 1fr;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #141925;
  border-right: 1px solid var(--line);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}
.sidebar > .brand {
  font-size: 19px;
  margin-bottom: 50px;
}
.sidebar > .eyebrow {
  font-size: 9px;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.sidebar nav a {
  padding: 15px 10px;
  font-size: 13px;
  color: #b4c2d6;
  border-radius: 10px;
}
.sidebar nav a:hover,
.sidebar nav a:first-child {
  background: #252e3e;
  color: var(--lime);
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 20px;
}
.sidebar-bottom button {
  font-size: 11px;
}
.dashboard {
  padding: 38px clamp(20px, 3vw, 50px);
  min-width: 0;
  max-width: 1600px;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
}
.dash-header h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 5px;
}
.event-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  min-width: 300px;
}
.event-tools select {
  grid-column: 1/-1;
}
.event-tools button {
  font-size: 11px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 35px 0;
}
.stats > div {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.stats span {
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: var(--muted);
}
.stats b {
  font-size: 39px;
  line-height: 1;
}
.stats small {
  font-size: 10px;
  color: var(--muted);
}
.stats .stat-live {
  background: linear-gradient(135deg, #323e1c, #222c24);
  border-color: #d8ff4330;
}
.stat-live b {
  color: var(--lime);
  font-size: 25px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.section-heading h2 {
  font-size: 21px;
}
.section-heading .eyebrow {
  font-size: 8px;
}
.section-heading h2 > span {
  font-size: 12px;
  vertical-align: middle;
  background: var(--lime);
  color: #171d12;
  border-radius: 5px;
  padding: 4px 7px;
  margin-left: 8px;
}
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
  margin: 15px 0 22px;
}
.tabs button {
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: 0.5px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  border-radius: 0;
  padding: 14px 10px;
  color: var(--muted);
}
.tabs button.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
.moderation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-height: 760px;
  overflow: auto;
  padding: 2px 2px 18px;
}
.social-card {
  border: 1px solid #ffffff23;
  background: #222a3bf5;
  border-radius: 18px;
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px #0001;
}
.card-top {
  display: flex;
  gap: 9px;
  align-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #b5a3ff;
  color: #221d36;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 900;
}
.card-top b {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.card-top small {
  margin-left: auto;
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
}
.social-card p {
  color: #f2f5ff;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  margin: 17px 0 8px;
  white-space: pre-wrap;
}
.social-card footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
}
.status {
  color: var(--lime);
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.card-actions button {
  padding: 8px 10px;
  font-size: 10px;
  background: #303a4f;
}
.card-actions .approve {
  background: var(--lime);
  color: #222;
}
.social-card > img {
  display: block;
  width: 100%;
  max-height: 310px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #0d1220;
}
.empty {
  grid-column: 1/-1;
  padding: 45px 25px;
  text-align: center;
  border: 1px dashed #ffffff25;
  border-radius: 20px;
  color: var(--muted);
}
.empty > span {
  font-size: 48px;
  color: var(--purple);
}
.empty h3 {
  margin: 12px 0;
  font-size: 18px;
  color: #dce6f7;
}
.empty p {
  font-size: 13px;
  margin: 0;
}
.control-section {
  background: #161c28;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  margin-top: 32px;
  scroll-margin-top: 25px;
}
.section-heading a {
  font-size: 12px;
  color: var(--lime);
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.scene-grid button {
  min-height: 80px;
  text-align: left;
  background: #222a3b;
}
.scene-grid span {
  font-size: 8px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.scene-grid b {
  font-size: 14px;
}
.scene-grid button.active {
  border-color: var(--lime);
  background: #354025;
  color: var(--lime);
}
.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0;
}
.control-row button {
  font-size: 11px;
}
.danger {
  color: #ff98a4;
}
.qr-setup {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.qr-setup > img {
  width: 135px;
  background: white;
  border-radius: 14px;
}
.qr-setup > div {
  display: grid;
  gap: 9px;
  min-width: 0;
}
.qr-setup a {
  color: var(--lime);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.qr-setup small {
  color: var(--muted);
  font-size: 11px;
}
.inline-form {
  display: flex;
  gap: 12px;
  align-items: end;
  margin: 20px 0;
}
.inline-form label {
  flex: 1;
  min-width: 0;
}
.inline-form button {
  font-size: 10px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
}
.dual-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.dual-forms form {
  display: grid;
  gap: 16px;
}
.dual-forms .control-row {
  margin: 0;
}
.dual-forms label textarea {
  height: 125px;
}
.check {
  display: flex;
  align-items: center;
}
.check input {
  width: 18px;
}
details summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}
details[open] summary {
  margin-bottom: 25px;
}
#technical {
  font-size: 12px;
  padding: 20px 0;
  color: var(--cyan);
}
dialog {
  max-width: min(520px, 94vw);
  width: 100%;
  border: 1px solid #ffffff25;
  border-radius: 24px;
  background: #1c2333;
  color: var(--text);
  padding: 28px;
  box-shadow: 0 30px 100px #000a;
}
dialog::backdrop {
  background: #070b16b8;
  backdrop-filter: blur(6px);
}
dialog form {
  display: grid;
  gap: 18px;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-head .eyebrow {
  margin: 0;
}
.dialog-head button {
  padding: 6px 13px;
  font-size: 25px;
  background: none;
}
.participant {
  max-width: 520px;
  margin: auto;
  padding: 25px 22px 20px;
  min-height: 100vh;
  background: radial-gradient(ellipse at 100% 15%, #66529530, transparent 40%);
}
.participant header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.participant .brand {
  font-size: 21px;
}
.participant .connection {
  font-size: 8px;
}
.mobile-hero {
  position: relative;
  padding: 48px 0 26px;
  overflow: hidden;
}
.mobile-hero h1 {
  font-size: 66px;
  letter-spacing: -3px;
  margin-bottom: 18px;
}
.mobile-hero p {
  font-size: 12px;
}
.mobile-hero p b {
  color: #d2d8e4;
}
.hero-orbit {
  position: absolute;
  right: -4px;
  top: 48px;
  color: var(--purple);
  font-size: 115px;
  transform: rotate(14deg);
  text-shadow: 0 0 70px #aa8bff4a;
}
.mobile-hero .eyebrow {
  font-size: 9px;
  max-width: 85%;
  color: #b8c5d8;
}
.nickname {
  font-size: 12px;
  grid-template-columns: 1fr auto;
  margin: 8px 0 23px;
}
.nickname input {
  grid-column: 1/-1;
  font-size: 14px;
}
.nickname span {
  font-size: 10px;
  opacity: 0.6;
}
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.action-grid button {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 9px;
  min-height: 135px;
  background: linear-gradient(135deg, #242c3e, #1d2534);
  text-align: left;
  padding: 18px;
  border-radius: 19px;
}
.action-grid button:first-child {
  background: var(--lime);
  color: #1b241a;
}
.action-grid button:nth-child(2) {
  background: #bba6fa;
  color: #241b3e;
}
.action-grid button > span {
  font-size: 26px;
  line-height: 1.1;
}
.action-grid b {
  font-size: 14px;
}
.action-grid small {
  font-size: 9px;
  font-weight: 500;
  opacity: 0.65;
}
.reaction-buttons {
  display: flex;
  gap: 6px;
  justify-content: space-between;
  padding: 25px 0;
}
.reaction-buttons button {
  font-size: 25px;
  padding: 10px 9px;
  border-radius: 13px;
  background: #212a3b;
}
.mobile-footer {
  font-size: 8px;
  letter-spacing: 2px;
  color: #738399;
  text-align: center;
  margin: 36px 0 12px;
}
.mobile-footer span {
  color: var(--lime);
  margin-left: 10px;
}
.moderation-note {
  font-size: 12px;
  margin: 0;
}
#photo-preview {
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  border-radius: 12px;
}
#char-count {
  color: var(--muted);
  text-align: right;
  font-size: 11px;
}
.sent-check {
  display: grid;
  place-items: center;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: var(--lime);
  color: #17201b;
  font-size: 42px;
  margin: 20px auto;
}
#sent-dialog {
  text-align: center;
}
#sent-dialog h2 {
  font-size: 32px;
}
#sent-dialog p {
  font-size: 15px;
}
.prompt-card {
  padding: 24px;
  border: 1px solid #bba6fa60;
  background: #342b51;
  border-radius: 22px;
  margin-top: 25px;
}
.prompt-card h2 {
  font-size: 22px;
}
.prompt-card .eyebrow {
  font-size: 8px;
  color: #cbbcff;
}
.poll-content {
  padding: 25px;
  background: #1b2332;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.poll-content h2 {
  line-height: 1.2;
}
.poll-options {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.poll-options button {
  text-align: left;
  display: flex;
  gap: 15px;
  align-items: center;
}
.poll-options button > span {
  background: #475470;
  border-radius: 7px;
  padding: 5px 9px;
}
.poll-result > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.poll-result b {
  font-size: 14px;
}
.poll-result strong {
  color: var(--lime);
  font-size: 16px;
}
.poll-track {
  height: 12px;
  background: #ffffff15;
  border-radius: 10px;
  margin-top: 9px;
  overflow: hidden;
}
.poll-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lime);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vote-sent {
  color: var(--lime);
  text-align: center;
  font-size: 13px;
}
.poll-content > p {
  font-size: 12px;
}
#event-closed {
  border: 1px solid #ffb970;
  padding: 15px;
  color: #ffcf92;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 15px;
}
/* Broadcast: a single 16:9 stage, scaled by viewport with container-relative typography. */
.screen-page {
  background: #080b12;
  overflow: hidden;
}
.screen-page #app {
  height: 100dvh;
  display: grid;
  place-items: center;
}
.broadcast {
  width: min(100vw, 177.7778vh);
  height: min(100vh, 56.25vw);
  aspect-ratio: 16/9;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container-type: size;
  background:
    radial-gradient(ellipse at 80% 20%, #302244, transparent 55%),
    linear-gradient(140deg, #101824, #111424);
}
.broadcast-header {
  position: absolute;
  top: 4%;
  left: 3%;
  right: 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}
.broadcast .brand {
  font-size: 2cqw;
}
.broadcast .brand > span {
  font-size: 0.7cqw;
}
.broadcast-header > div {
  display: flex;
  gap: 1.1cqw;
  align-items: center;
  font-size: 0.8cqw;
  letter-spacing: 1px;
}
.live-tag {
  color: var(--lime);
  font-weight: 800;
  font-size: 0.7cqw;
  padding: 0.5cqw 0.8cqw;
  background: #d8ff4312;
  border: 1px solid #d8ff4340;
  border-radius: 30px;
}
.screen-clock {
  font-size: 1cqw;
  color: #cbd7e7;
}
.broadcast-footer {
  position: absolute;
  bottom: 3%;
  left: 3%;
  right: 3%;
  display: flex;
  justify-content: space-between;
  font-size: 0.65cqw;
  letter-spacing: 0.12cqw;
  color: #8e9aaf;
  gap: 20px;
}
.broadcast-footer > span:last-child {
  color: var(--lime);
  max-width: 65%;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#central {
  position: absolute;
  inset: 18% 22% 17%;
  border-radius: 2cqw;
  overflow: hidden;
  border: 1px solid #ffffff15;
  background: #131d2a;
  z-index: 1;
}
.center-graphic {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 4cqw;
  isolation: isolate;
  background: radial-gradient(circle at 90% 80%, #83994420, transparent 60%);
}
.center-graphic .eyebrow {
  font-size: 0.65cqw;
  letter-spacing: 0.16cqw;
  margin-bottom: 2cqw;
}
.center-graphic h1 {
  font-size: 5.2cqw;
  letter-spacing: -0.2cqw;
  margin-bottom: 1.5cqw;
}
.center-graphic p {
  font-size: 0.95cqw;
  max-width: 75%;
}
.central-star {
  position: absolute;
  right: -2cqw;
  bottom: -3cqw;
  font-size: 20cqw;
  color: #b6a0ec22;
  z-index: -1;
}
.ambient {
  position: absolute;
  width: 50cqw;
  height: 50cqw;
  border: 1px solid #c6b1ff14;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.ambient-one {
  top: -35%;
  right: -12%;
  animation: drift 18s ease-in-out infinite;
}
.ambient-two {
  left: -25%;
  bottom: -60%;
  border-width: 6cqw;
  border-color: #d8ff4305;
  animation: drift 22s ease-in-out infinite reverse;
}
#central video,
#central iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}
.broadcast-qr {
  position: absolute;
  right: 3%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 0.9cqw;
  background: #eaf0e9;
  color: #14201a;
  padding: 1cqw;
  border-radius: 1.1cqw;
  z-index: 6;
  box-shadow: 0 15px 40px #0003;
  animation: qr-in 0.5s ease-out;
}
.broadcast-qr[hidden] {
  display: none;
}
.broadcast-qr img {
  width: 7cqw;
  height: 7cqw;
}
.broadcast-qr b {
  font-size: 0.85cqw;
  line-height: 1.25;
  display: block;
}
.broadcast-qr span {
  font-size: 0.5cqw;
  letter-spacing: 0.06cqw;
  display: block;
  margin: 0.8cqw 0 0.3cqw;
}
.broadcast-qr small {
  font-size: 0.55cqw;
  font-weight: 800;
}
#wall {
  position: absolute;
  inset: 18% 3% 10%;
  display: grid;
  grid-template-columns: 18% 18%;
  justify-content: space-between;
  grid-auto-rows: min-content;
  align-content: start;
  gap: 1.3cqw;
  z-index: 3;
  pointer-events: none;
}
#wall .social-card {
  padding: 1.15cqw;
  border-radius: 1.2cqw;
  box-shadow: 0 8px 35px #0003;
  align-self: start;
}
#wall .card-top {
  gap: 0.5cqw;
  flex-wrap: wrap;
}
#wall .avatar {
  width: 2.2cqw;
  height: 2.2cqw;
  font-size: 1cqw;
  border-radius: 0.7cqw;
}
#wall .card-top b {
  font-size: 0.95cqw;
}
#wall .card-top small {
  font-size: 0.4cqw;
  letter-spacing: 0.06cqw;
}
#wall p {
  font-size: 1.15cqw;
  line-height: 1.35;
  margin: 1cqw 0 0.25cqw;
}
#wall img {
  max-height: 17cqh;
  margin-bottom: 0.8cqw;
  border-radius: 0.7cqw;
}
#wall .tone-1 {
  background: #38304deb;
  border-color: #b197fa50;
}
#wall .tone-2 {
  background: #1c4242eb;
  border-color: #64d6c14a;
}
#wall .polaroid {
  background: #f3eee6;
  color: #202637;
  padding: 0.65cqw;
  transform: rotate(-2deg);
}
#wall .polaroid p {
  color: #202637;
}
#wall .polaroid .card-top {
  padding: 0.3cqw;
}
.broadcast[data-scene="CINEMA"] #central {
  inset: 14% 4% 27%;
}
.broadcast[data-scene="CINEMA"] #wall {
  inset: auto 26% 8% 4%;
  display: block;
}
.broadcast[data-scene="CINEMA"] #wall .social-card {
  display: flex;
  align-items: center;
  gap: 2cqw;
  min-height: 6cqw;
}
.broadcast[data-scene="CINEMA"] #wall p {
  font-size: 1.6cqw;
  margin: 0;
}
.broadcast[data-scene="CINEMA"] #wall img {
  height: 5cqw;
  width: 5cqw;
  margin: 0;
}
.broadcast[data-scene="FULL WALL"] #central,
.broadcast[data-scene="PHOTO WALL"] #central,
.broadcast[data-scene="QUESTIONS"] #central,
.broadcast[data-scene="SPOTLIGHT"] #central,
.broadcast[data-scene="POLL"] #central,
.broadcast[data-scene="INTERMISSION"] #central,
.broadcast[data-scene="WELCOME"] #central,
.broadcast[data-scene="COUNTDOWN"] #central {
  display: none;
}
.broadcast[data-scene="FULL WALL"] #wall,
.broadcast[data-scene="PHOTO WALL"] #wall {
  inset: 29% 4% 13%;
  grid-template-columns: repeat(4, 1fr);
  gap: 1cqw;
}
.broadcast[data-scene="PHOTO WALL"] #wall img {
  max-height: 19cqh;
}
.broadcast[data-scene="SPOTLIGHT"] #wall {
  inset: 22% 18% 20%;
  display: grid;
  grid-template-columns: 1fr;
}
.broadcast[data-scene="SPOTLIGHT"] #wall .social-card {
  padding: 3cqw;
  max-height: 100%;
  overflow: hidden;
}
.broadcast[data-scene="SPOTLIGHT"] #wall p {
  font-size: 3.4cqw;
}
.broadcast[data-scene="SPOTLIGHT"] #wall img {
  max-height: 36cqh;
}
.broadcast[data-scene="SPOTLIGHT"] #wall .card-top b {
  font-size: 1.5cqw;
}
.broadcast[data-scene="QUESTIONS"] #wall {
  inset: 32% 17% 18%;
  grid-template-columns: 1fr 1fr;
}
.broadcast[data-scene="QUESTIONS"] #wall p {
  font-size: 2cqw;
}
#scene-title {
  display: none;
  position: absolute;
  top: 19%;
  left: 4%;
  right: 4%;
  pointer-events: none;
}
#scene-title h1 {
  font-size: 3cqw;
  letter-spacing: -0.1cqw;
  margin: 0 0 0.8cqw;
}
#scene-title p {
  font-size: 1cqw;
}
#scene-title .eyebrow {
  font-size: 0.7cqw;
  letter-spacing: 0.15cqw;
  margin-bottom: 1cqw;
}
.broadcast:is(
    [data-scene="WELCOME"],
    [data-scene="INTERMISSION"],
    [data-scene="COUNTDOWN"],
    [data-scene="FULL WALL"],
    [data-scene="PHOTO WALL"],
    [data-scene="QUESTIONS"]
  )
  #scene-title {
  display: block;
}
.broadcast:is(
    [data-scene="WELCOME"],
    [data-scene="INTERMISSION"],
    [data-scene="COUNTDOWN"]
  )
  #scene-title {
  top: 30%;
  left: 13%;
  right: 13%;
  text-align: center;
}
.broadcast:is([data-scene="WELCOME"], [data-scene="INTERMISSION"])
  #scene-title
  h1 {
  font-size: 7cqw;
  letter-spacing: -0.3cqw;
  color: var(--lime);
}
.broadcast:is(
    [data-scene="WELCOME"],
    [data-scene="INTERMISSION"],
    [data-scene="COUNTDOWN"]
  )
  #wall {
  inset: auto 27% 10% 4%;
  grid-template-columns: 1fr 1fr;
}
.broadcast[data-scene="COUNTDOWN"] #countdown-clock {
  display: block;
  font-size: 9cqw;
  font-weight: 950;
  color: var(--lime);
  letter-spacing: -0.4cqw;
}
.broadcast:not([data-scene="COUNTDOWN"]) #countdown-clock {
  display: none;
}
#screen-poll {
  display: none;
  position: absolute;
  inset: 20% 23% 13%;
  z-index: 3;
}
.broadcast[data-scene="POLL"] #screen-poll {
  display: block;
}
.broadcast[data-scene="POLL"] #wall {
  display: none;
}
#screen-poll .poll-content {
  padding: 2cqw;
}
#screen-poll h2 {
  font-size: 2.5cqw;
}
#screen-poll .eyebrow {
  font-size: 0.7cqw;
}
#screen-poll .poll-result b,
#screen-poll .poll-result strong {
  font-size: 1.4cqw;
}
#screen-poll .poll-options {
  gap: 1.2cqw;
  margin: 1.8cqw 0;
}
#screen-poll .poll-track {
  height: 0.8cqw;
}
#screen-poll p {
  font-size: 0.9cqw;
}
#reactions-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.floating-reaction {
  position: absolute;
  bottom: 6%;
  font-size: 3cqw;
  filter: drop-shadow(0 6px 10px #0003);
}
.screen-tools {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: #080c15d9;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 50;
}
.screen-tools:hover,
.screen-tools:focus-within {
  opacity: 1;
}
.screen-tools button {
  font-size: 11px;
  padding: 8px;
}
.screen-tools .connection {
  align-self: center;
}
#screen-debug {
  position: fixed;
  top: 0;
  left: 0;
  background: #000b;
  font: 11px monospace;
  color: #e8ffac;
  z-index: 50;
  padding: 6px;
}
.overlay,
.overlay #app,
.overlay .broadcast {
  background: transparent !important;
}
.overlay .ambient,
.overlay #central,
.overlay #scene-title,
.overlay .screen-tools,
.overlay .broadcast-footer,
.overlay .broadcast-header {
  display: none !important;
}
.overlay .broadcast {
  isolation: auto;
}
.overlay #toast {
  display: none;
}
.screen-page #toast {
  bottom: 70px;
}
@keyframes drift {
  50% {
    transform: translate3d(3%, 3%, 0) rotate(12deg);
  }
}
@keyframes qr-in {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .moderator-shell {
    grid-template-columns: 175px 1fr;
  }
  .sidebar {
    padding: 25px 12px;
  }
  .sidebar .brand {
    font-size: 16px;
  }
  .moderation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scene-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-header {
    align-items: start;
    flex-direction: column;
  }
  .event-tools {
    width: 100%;
  }
  .dual-forms {
    gap: 15px;
  }
  .section-heading > .eyebrow {
    display: none;
  }
}
@media (max-width: 700px) {
  .moderator-shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 18px 20px;
  }
  .sidebar > .brand {
    margin-bottom: 0;
  }
  .sidebar nav,
  .sidebar > .eyebrow {
    display: none;
  }
  .sidebar-bottom {
    position: absolute;
    right: 15px;
    top: 18px;
    gap: 6px;
  }
  .sidebar-bottom button {
    padding: 5px;
    font-size: 9px;
    background: none;
  }
  .dashboard {
    padding: 25px 15px;
  }
  .moderation-grid {
    grid-template-columns: 1fr;
  }
  .control-section {
    padding: 20px 15px;
  }
  .dual-forms {
    grid-template-columns: 1fr;
  }
  .inline-form {
    flex-wrap: wrap;
  }
  .inline-form label {
    flex-basis: 100%;
  }
  .stats > div {
    padding: 16px;
  }
  .stats small {
    font-size: 9px;
  }
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qr-setup {
    gap: 12px;
  }
  .qr-setup img {
    width: 100px;
  }
  .qr-setup a {
    font-size: 10px;
  }
  .login-shell {
    grid-template-columns: 1fr;
    padding: 25px;
  }
  .login-card {
    max-width: none;
    padding: 25px;
  }
  .login-art {
    padding-top: 35px;
  }
  .login-art h1 {
    font-size: 50px;
  }
  .giant-star {
    font-size: 240px;
  }
  .landing {
    padding: 30px 25px;
  }
  .landing > .brand {
    margin-bottom: 65px;
  }
  .landing-star {
    font-size: 250px;
    opacity: 0.25;
  }
  .participant {
    padding-top: max(22px, env(safe-area-inset-top));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
[hidden] {
  display: none !important;
}

.broadcast:is([data-scene="LIVE"], [data-scene="SOCIAL"]) #central {
  left: 50%;
  right: auto;
  width: var(--center-width, 56%);
  transform: translateX(-50%);
}
.broadcast:is([data-scene="LIVE"], [data-scene="SOCIAL"]) #wall {
  grid-template-columns: calc((94% - var(--center-width, 56%)) / 2 - 1%) calc(
      (94% - var(--center-width, 56%)) / 2 - 1%
    );
}

/* Cohete original IMPULSO LIVE: marca compartida y movimientos discretos. */
.brand-rocket{width:30px;height:37px;object-fit:contain;margin-left:-4px}.brand{gap:8px}.hero-orbit{transform:none;right:-5px;top:35px;font-size:0}.hero-rocket{width:112px;height:150px;filter:drop-shadow(0 10px 25px #aa8bff35);animation:rocket-float 4.5s ease-in-out infinite}.mobile-hero h1{position:relative;z-index:1}.footer-rocket{width:20px;height:24px;vertical-align:middle;margin-left:8px}.sent-check.rocket-sent{background:radial-gradient(circle,#d8ff4330,transparent 70%);width:125px;height:140px}.rocket-sent img{width:90px;height:115px;animation:rocket-launch-mini 1.1s cubic-bezier(.2,.7,.3,1) both}.message-rocket{width:25px!important;height:31px!important;max-height:none!important;margin:0!important;object-fit:contain;order:4;margin-left:auto!important}.broadcast .brand-rocket{width:2.3cqw;height:2.8cqw}.broadcast #wall .message-rocket{width:1.7cqw!important;height:2cqw!important;animation:rocket-arrive .7s ease-out both}.central-rocket{position:absolute;right:1.3cqw;bottom:1cqw;width:12cqw;height:15cqw;opacity:.92;z-index:-1;animation:rocket-float 6s ease-in-out infinite}.scene-rocket{position:absolute;width:9cqw;height:11cqw;right:0;top:-2cqw;animation:rocket-float 5s ease-in-out infinite}.broadcast:is([data-scene='WELCOME'],[data-scene='INTERMISSION']) #scene-title{left:8%;right:8%;padding-right:9cqw}.broadcast:is([data-scene='WELCOME'],[data-scene='INTERMISSION']) .scene-rocket{width:12cqw;height:15cqw;right:-2cqw;top:-2cqw}.landing-rocket{position:absolute;width:clamp(160px,25vw,350px);right:5%;top:17%;z-index:-1;opacity:.75;animation:rocket-float 6s ease-in-out infinite}.participant header .brand{font-size:20px}.participant header .brand-rocket{width:25px;height:30px}.sidebar .brand-rocket{width:22px;height:27px}.sidebar .brand{gap:4px;font-size:17px}@keyframes rocket-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-10px) rotate(3deg)}}@keyframes rocket-launch-mini{0%{transform:translate(-20px,65px) scale(.5);opacity:0}65%{transform:translate(3px,-8px) scale(1.06);opacity:1}100%{transform:translate(0,0) scale(1);opacity:1}}@keyframes rocket-arrive{from{transform:translate(-18px,25px) rotate(-15deg);opacity:0}to{transform:translate(0,0) rotate(0);opacity:1}}@media(max-width:400px){.hero-rocket{width:88px;height:125px}.hero-orbit{top:51px;right:-10px}.mobile-hero h1{font-size:60px}.participant header .brand{gap:5px;font-size:18px}.participant header .connection{font-size:7px}}

html.overlay-root{background:transparent!important}

.event-cheer{display:flex;gap:24px;padding:24px;margin:20px 0 30px;border:1px solid #c6ff5266;border-radius:24px;background:linear-gradient(120deg,#c6ff5215,#ae95ff12)}.event-cheer>img{width:72px;align-self:flex-start}.event-cheer h3{font-size:24px;margin:8px 0}.event-cheer p{max-width:720px;line-height:1.6}.event-cheer li{margin:8px 0}@media(max-width:600px){.event-cheer{padding:16px;gap:12px}.event-cheer>img{width:36px}}
