@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/safezone/Anton-Regular.ttf") format('truetype');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/safezone/Barlow-Regular.ttf") format('truetype');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/safezone/Barlow-SemiBold.ttf") format('truetype');
}
:root {
  --primary: #f5d90a;
  --primary-ink: #121014;
  --secondary: #f4512c;
  --paper: #e8e8e1;
  --paper-field: #f4f4f0;
  --paper-muted: #5b595a;
  --paper-raised: #d7d7d1;
  --paper-hover: #ccccc6;
  --paper-edge: #92928f;
  --paper-selection: #d3d2cd;
  --paper-tape: #b3b2ae;
  --paper-frame: #7d7c7b;
  --ground: #181719;
  --surface: #121014;
  --surface-raised: #25232b;
  --surface-hover: #35323c;
  --ink: var(--paper);
  --muted: #aaa7b0;
  --accent: var(--primary);
  --accent-hover: #ffeb50;
  --accent-ink: var(--primary-ink);
  --field: #19171e;
  --edge: #56515e;
  --edge-soft: #39333f;
  --selection: #393329;
  --selection-end: #24221c;
  --teal: #45e0ce;
  --display: 'Anton', Impact, sans-serif;
  --error: #ffbeb5;
  --error-ground: #33202b;
  --success: #b8dfcb;
  --success-ground: #112d29;
  --warning: #e2c797;
  --body: 'Barlow', Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}
html {
  overflow-x: clip;
}
.body-index,
.body-admin {
  position: relative;
  isolation: isolate;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100dvh;
  overflow-x: clip;
  color-scheme: dark;
}
.body-index .container-custom,
.body-admin .container-custom {
  max-width: 1184px;
  padding: 0 36px;
  margin: 0 auto !important;
}
.body-index h1,
.body-admin h1,
.body-index h2,
.body-admin h2,
.body-index h3,
.body-admin h3,
.body-index p,
.body-admin p {
  margin: 0;
}
.body-index strong,
.body-admin strong,
.body-index b,
.body-admin b {
  font-weight: 600;
}
.body-index h1,
.body-admin h1,
.body-index h2,
.body-admin h2,
.body-index h3,
.body-admin h3 {
  font-family: var(--display);
  font-weight: 400;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  min-width: 0;
}
.body-index h1,
.body-admin h1 {
  font-size: clamp(36px, 4vw, 52px);
}
.body-index h2,
.body-admin h2 {
  font-size: 30px;
}
.body-index h3,
.body-admin h3 {
  font-size: 25px;
}
.body-index a,
.body-admin a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.body-index a:hover,
.body-admin a:hover {
  color: var(--accent-hover);
}
.body-index button,
.body-admin button,
.body-index input,
.body-admin input,
.body-index select,
.body-admin select,
.body-index textarea,
.body-admin textarea {
  font: inherit;
}
.body-index button,
.body-admin button,
.body-index .btn,
.body-admin .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--edge);
  border-radius: 0;
  background: var(--surface-raised);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.body-index button:hover,
.body-admin button:hover,
.body-index .btn:hover,
.body-admin .btn:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--ink);
}
.body-index button:active,
.body-admin button:active,
.body-index .btn:active,
.body-admin .btn:active {
  background: var(--selection);
  transform: translateY(1px);
}
.body-index button:disabled,
.body-admin button:disabled,
.body-index .btn:disabled,
.body-admin .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.body-index :focus-visible,
.body-admin :focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 4px;
}
.body-index input:not([type=radio]):not([type=range]),
.body-admin input:not([type=radio]):not([type=range]),
.body-index select,
.body-admin select,
.body-index textarea,
.body-admin textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--edge);
  border-radius: 0;
  padding: 12px 14px;
  background: var(--field);
  color: var(--ink);
  box-shadow: none;
}
.body-index input:not([type=radio]):not([type=range])::placeholder,
.body-admin input:not([type=radio]):not([type=range])::placeholder,
.body-index select::placeholder,
.body-admin select::placeholder,
.body-index textarea::placeholder,
.body-admin textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.body-index select,
.body-admin select {
  min-height: 48px;
  appearance: auto;
}
.body-index option,
.body-admin option {
  background: var(--surface);
  color: var(--ink);
}
.body-index input[type=range],
.body-admin input[type=range] {
  width: 100%;
  height: 48px;
  accent-color: var(--accent);
}
.body-index .field,
.body-admin .field {
  min-width: 0;
}
.body-index .field label,
.body-admin .field label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.body-index .field-note,
.body-admin .field-note,
.body-index .payment-note,
.body-admin .payment-note {
  color: var(--muted);
}
.body-index .field-note,
.body-admin .field-note {
  font-size: 15px;
}
.body-index .send-button,
.body-admin .send-button {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 4px 4px 0 var(--secondary);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.body-index .send-button:hover,
.body-admin .send-button:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
  box-shadow: 2px 2px 0 var(--secondary);
}
.body-index .send-button:active,
.body-admin .send-button:active {
  box-shadow: none;
}
.body-index .skip-link,
.body-admin .skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--accent-ink);
}
.body-index .skip-link:focus,
.body-admin .skip-link:focus {
  top: 12px;
}
.body-index .alert,
.body-admin .alert {
  border: 0;
  border-left: 3px solid currentColor;
  border-radius: 0;
  font-size: 16px;
  padding: 16px;
}
.body-index .alert-warning,
.body-admin .alert-warning,
.body-index #preview-alert,
.body-admin #preview-alert,
.body-index #admin-feedback[data-error=true],
.body-admin #admin-feedback[data-error=true] {
  color: var(--error);
  background: var(--error-ground);
}
.body-index .alert-success,
.body-admin .alert-success,
.body-index #admin-feedback,
.body-admin #admin-feedback {
  color: var(--success);
  background: var(--success-ground);
}
.body-index .alert .btn-close,
.body-admin .alert .btn-close {
  min-height: 44px;
  width: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  opacity: 1;
  box-shadow: none;
}
.body-index .alert .btn-close::before,
.body-admin .alert .btn-close::before {
  content: '×';
  font-size: 26px;
}
.body-index #preview-alert,
.body-admin #preview-alert,
.body-index #admin-feedback,
.body-admin #admin-feedback {
  margin-top: 20px;
  padding: 16px;
  border-left: 3px solid currentColor;
}
.body-index .text-danger,
.body-admin .text-danger {
  color: var(--warning) !important;
}
.site-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0 28px;
  margin-bottom: 48px;
  border-bottom: 2px solid var(--paper);
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 26%;
  height: 8px;
  background: var(--secondary);
  transform: rotate(-1deg);
}
.identity {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 24px;
  min-width: 0;
}
.body-index .palette-controls {
  display: flex;
  align-self: flex-start;
  flex-shrink: 0;
  gap: 12px;
}
.body-index .palette-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.body-index .palette-controls input[type=color] {
  width: 44px;
  height: 36px;
  padding: 3px;
  border: 1px solid var(--edge);
  background: var(--surface);
  cursor: pointer;
}
.body-index .palette-controls input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.body-index .palette-controls input[type=color]::-webkit-color-swatch {
  border: 0;
}
.body-index .palette-controls input[type=color]::-moz-color-swatch {
  border: 0;
}
.wordmark {
  font-family: var(--display);
  font-size: 68px;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 2px 0 0 var(--secondary);
}
.event-name {
  align-self: flex-end;
  margin-bottom: 6px;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-5deg);
  clip-path: polygon(2% 0, 100% 3%, 98% 100%, 0 96%);
}
.event-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  color: var(--muted);
}
.watch-link,
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  text-decoration: underline !important;
  text-underline-offset: 5px;
  color: var(--ink) !important;
}
.watch-link:hover,
.back-link:hover {
  color: var(--accent-hover) !important;
}
.workspace {
  display: grid;
  padding-bottom: 40px;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}
.composer {
  --ink: #121014;
  --muted: var(--paper-muted);
  --field: var(--paper-field);
  --surface: var(--paper);
  --surface-raised: var(--paper-raised);
  --surface-hover: var(--paper-hover);
  --edge: var(--paper-edge);
  --accent: #121014;
  --accent-hover: #35303a;
  --selection: var(--paper-selection);
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 0 32px 36px;
  color: var(--ink);
  color-scheme: light;
  filter: drop-shadow(5px 7px 0 rgba(0,0,0,0.35));
}
.composer::before {
  content: '';
  position: absolute;
  inset: 12px 0 0;
  z-index: -1;
  background-color: var(--paper);
  background-image: url("/images/safezone-paper-light.svg");
  clip-path: polygon(0 0, 100% 0, 99.8% 34%, 100% 68%, 99.5% 100%, 97% 99.3%, 94% 99.8%, 91% 99.1%, 88% 100%, 83% 99.5%, 79% 100%, 74% 99.2%, 70% 99.8%, 66% 99.4%, 62% 100%, 57% 99.4%, 53% 99.8%, 49% 99.1%, 44% 100%, 40% 99.5%, 35% 100%, 31% 99.2%, 26% 99.7%, 22% 99.3%, 17% 100%, 13% 99.4%, 9% 100%, 4% 99.3%, 0 99.8%, 0.4% 63%, 0 31%);
}
.composer .tab-content {
  padding-top: 32px;
}
.composer .tab-pane > h1 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: 0;
}
.composer .pane-description {
  font-size: 18px;
  color: var(--muted);
  margin-top: 14px;
  margin-bottom: 28px;
  max-width: 38ch;
}
.composer .message-field {
  margin-bottom: 24px;
  background: var(--field);
  border: 0;
  border-top: 3px solid #121014;
  border-bottom: 1px solid var(--edge);
  border-radius: 0;
  transition: border-color 140ms var(--ease);
}
.composer .message-field:focus-within {
  border-color: var(--accent);
}
.composer textarea {
  background: transparent !important;
  border: 0 !important;
  resize: vertical;
  min-height: 112px;
  font-size: 20px;
  line-height: 1.4;
  padding: 20px !important;
}
.composer .field-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--muted);
}
.composer .field-bottom small {
  font-size: inherit;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.composer #tts-pane .message-field {
  position: relative;
}
.composer #tts-pane textarea {
  display: block;
  height: 104px;
  min-height: 104px;
  padding: 12px 14px 28px !important;
}
.composer #tts-pane .field-bottom {
  position: absolute;
  right: 14px;
  bottom: 8px;
  padding: 0;
  pointer-events: none;
}
.composer .voice-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.composer .preview-controls {
  display: grid;
  gap: 8px;
}
.composer .pane-price {
  margin: -12px 0 20px;
}
.composer .sfx-price {
  margin-top: 16px;
}
.composer #sfx-duration-text {
  float: right;
  font-variant-numeric: tabular-nums;
}
.composer .preview-usage {
  margin-top: 12px;
}
.composer .preview-button {
  background: #121014;
  color: var(--paper);
  border-color: #121014;
}
.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 0;
  margin: 0 -32px;
  background: #181719;
  list-style: none;
  border-bottom: 4px solid #121014;
}
.mode-tabs li {
  flex: 1 0 auto;
}
.mode-tabs button {
  position: relative;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: #35323c;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mode-tabs button:hover {
  background: #35303a;
  color: var(--paper);
  border-color: transparent;
}
.mode-tabs button.active {
  color: var(--primary-ink);
  background: linear-gradient(to bottom, #fff 0%, var(--primary) 20%, var(--primary) 100%);
  box-shadow: none;
}
.checkout-panel {
  position: relative;
  isolation: isolate;
  padding: 28px 28px 36px;
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-top: 16px;
  min-width: 0;
}
.checkout-panel::before {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -1;
  background: var(--surface) url("/images/safezone-paper.svg");
  border: 2px solid var(--paper-frame);
  transform: rotate(1deg);
  box-shadow: 5px 7px 0 rgba(0,0,0,0.3);
}
.checkout-panel::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 30px;
  width: 88px;
  height: 28px;
  background: var(--paper-tape) url("/images/safezone-paper.svg");
  opacity: 0.8;
  transform: rotate(8deg);
  clip-path: polygon(0 5%, 98% 0, 96% 20%, 100% 36%, 97% 55%, 100% 73%, 97% 100%, 0 95%, 3% 73%, 0 54%, 3% 30%);
  pointer-events: none;
}
.checkout-panel .amount-label {
  display: inline-block;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 2px 8px;
  transform: rotate(-2deg);
}
.checkout-panel .amount-control {
  display: flex;
  align-items: baseline;
  font-size: 86px;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.1;
  margin: 18px 0 8px;
  color: var(--ink);
}
.checkout-panel .amount-control input {
  background: transparent !important;
  border: 0 !important;
  padding: 0 8px !important;
  font: inherit !important;
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums;
}
.checkout-panel .amount-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 20px 0 28px;
}
.checkout-panel .amount-presets button {
  padding: 10px 4px;
  background: transparent;
  font-variant-numeric: tabular-nums;
}
.checkout-panel .amount-presets button[aria-pressed=true] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.checkout-panel #checkout {
  min-height: 48px;
  margin-bottom: 24px;
}
.checkout-panel .receipt-field {
  margin-bottom: 24px;
}
.checkout-panel .send-button,
.checkout-panel .admin-free-button {
  width: 100%;
  min-height: 56px;
}
.checkout-panel .admin-free-button {
  margin-top: 12px;
  font-size: 16px;
}
.checkout-panel .payment-note {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 16px;
}
.checkout-panel .payment-provider {
  display: block;
}
.checkout-panel .payment-provider img {
  width: 34px;
  height: 14px;
  vertical-align: -3px;
  filter: brightness(0) invert(0.67);
}
.checkout-panel .payment-support {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.checkout-panel #checkout-idle {
  padding: 16px 0;
}
.checkout-panel #checkout-idle .field-note {
  margin-top: 24px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 32px 0 40px;
  margin-top: 40px;
  border-top: 1px solid var(--paper-muted);
  color: var(--muted);
  font-size: 15px;
}
.site-footer .footer-links {
  display: flex;
  gap: 24px;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
#connection-status {
  color: var(--teal);
}
#connection-status[data-connected=false] {
  color: var(--warning);
}
.empty-state {
  padding: 36px 0 64px;
}
.empty-state p {
  margin-top: 14px;
  color: var(--muted);
}
.empty-state a {
  display: inline-block;
  margin-top: 24px;
}
#interactions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}
#interactions .col {
  width: auto;
  padding: 0 !important;
}
#interactions label {
  white-space: normal;
  text-align: left;
  background: var(--surface);
  color: var(--ink);
}
#interactions .btn-check:checked + label {
  background: var(--selection);
  color: var(--accent-hover);
  border-color: var(--accent);
}
#poll-options {
  margin-bottom: 20px;
  display: grid;
  gap: 10px;
}
#poll-options .poll-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  width: 100%;
  white-space: normal;
  text-align: left;
  overflow: hidden;
  background: var(--field);
  isolation: isolate;
}
#poll-options .poll-option::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--result-width, 0%);
  background: var(--paper-selection);
  z-index: -1;
}
#poll-options .poll-option .poll-count {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
#poll-options .btn-check:checked + .poll-option {
  color: var(--primary-ink);
  background: var(--primary);
  border: 2px solid #121014;
}
#poll-options .btn-check:checked + .poll-option::before {
  display: none;
}
#poll-total {
  margin: -8px 0 16px;
}
#poll-total,
#queue-count {
  font-variant-numeric: tabular-nums;
}
#sound-effects {
  display: grid;
  gap: 10px;
}
#sound-effects .sound-effect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
#sound-effects label {
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
}
#sound-effects .btn-check:checked + label {
  background: var(--primary);
  border-color: #121014;
  color: var(--primary-ink);
}
.body-admin .container-custom {
  max-width: 840px;
}
.body-admin .site-header {
  padding: 32px 0 24px;
  margin-bottom: 36px;
}
.body-admin .event-name {
  font-size: 16px;
}
.body-admin .speaker-panel {
  background: var(--surface) url("/images/safezone-paper.svg");
  border: 2px solid var(--paper-frame);
  padding: 28px;
  border-radius: 0;
}
.body-admin .speaker-heading,
.body-admin .queue-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.body-admin .speaker-heading {
  margin-bottom: 16px;
}
.body-admin .speaker-heading h1 {
  font-size: 44px;
}
.body-admin .speaker-heading #connection-status {
  font-size: 15px;
}
.body-admin .speaker-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 20px;
}
.body-admin .speaker-controls button {
  min-height: 58px;
}
.body-admin .queue-section {
  position: relative;
  isolation: isolate;
  margin-top: 36px;
  padding: 28px;
  color: #121014;
}
.body-admin .queue-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper) url("/images/safezone-paper.svg");
  transform: rotate(-0.6deg);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.35);
}
.body-admin .queue-heading {
  margin-bottom: 20px;
}
.body-admin .queue-heading span {
  color: var(--paper-muted);
}
.body-admin #admin-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: auto;
  max-height: 65dvh;
  overflow-y: auto;
  padding: 0;
  border: 0;
  box-shadow: none;
  font-size: 16px;
}
.body-admin #admin-actions .card {
  border: 0 !important;
  border-left: 2px solid var(--accent) !important;
  border-radius: 0;
  background: var(--surface) !important;
  color: var(--ink);
  margin: 0 !important;
  flex-shrink: 0;
}
.body-admin #admin-actions .card-header {
  background: transparent;
  border: 0;
  padding: 16px 20px 0;
  gap: 8px;
  align-items: baseline !important;
  flex-wrap: wrap;
}
.body-admin #admin-actions .card-header strong {
  font-weight: 600;
}
.body-admin #admin-actions .card-body {
  padding: 12px 20px 20px;
  overflow-wrap: anywhere;
}
.body-admin #admin-actions .border-light {
  background: transparent !important;
  border-left-color: var(--paper-frame) !important;
  color: var(--paper-muted);
}
.body-admin #admin-actions .border-light .text-muted {
  color: var(--paper-muted) !important;
}
.body-admin #admin-actions .text-muted {
  color: var(--muted) !important;
}
.body-admin #admin-actions .border-top {
  border: 0 !important;
}
.body-admin #admin-actions .btn {
  min-width: 80px;
  margin-right: 8px;
}
.body-admin #queue-empty {
  padding: 24px 0 36px;
}
.body-admin .settings-panel {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--edge-soft);
  border-radius: 0;
  padding: 0 20px;
}
.body-admin .settings-panel summary {
  padding: 18px 0;
  font-size: 20px;
  cursor: pointer;
}
.body-admin .settings-panel .settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
}
.body-admin #admin-json {
  color-scheme: light;
  background: #fff;
  border-radius: 2px;
  overflow: auto;
}
.body-admin #admin-json div.jsoneditor {
  border: 0;
}
.body-admin #admin-json div.jsoneditor-menu {
  background: var(--surface-raised);
  border: 0;
}
.body-admin #admin-json div.jsoneditor-tree {
  min-height: 200px;
}
.body-admin #admin-json button {
  min-height: 0;
  border-radius: 0;
  padding: 0;
  color: initial;
  transition: none;
}
.body-admin #admin-json input:not([type=radio]):not([type=range]),
.body-admin #admin-json textarea {
  width: auto;
  padding: 2px;
  color: #222;
  background: #fff;
}
@media (max-width: 900px) {
  .identity {
    align-items: center;
    gap: 12px;
  }
  .event-name {
    align-self: center;
    margin-bottom: 0;
  }
  .body-index .container-custom,
  .body-admin .container-custom {
    padding: 0 24px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px;
  }
  .checkout-panel {
    padding: 24px 20px;
  }
  .mode-tabs button {
    padding: 12px 18px;
    font-size: 22px;
  }
  .composer .voice-controls {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
  }
  .composer {
    padding: 0 24px 32px;
  }
  .mode-tabs {
    margin: 0 -24px;
  }
  .composer .preview-button {
    padding: 10px 12px;
  }
}
@media (max-width: 680px) {
  .body-index .identity {
    width: 100%;
    justify-content: space-between;
  }
  .body-index .container-custom,
  .body-admin .container-custom {
    padding: 0 20px;
  }
  .body-index h1,
  .body-admin h1 {
    font-size: 38px;
  }
  .site-header {
    align-items: flex-end;
    padding: 28px 0 20px;
    margin-bottom: 32px;
    gap: 16px;
  }
  .wordmark {
    font-size: 44px;
  }
  .event-name {
    font-size: 14px;
  }
  .event-links {
    font-size: 14px;
    gap: 2px;
    padding-bottom: 3px;
  }
  .watch-link {
    font-size: 14px;
    white-space: nowrap;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .composer {
    padding: 0 20px 28px;
  }
  .composer .tab-content {
    padding-top: 28px;
  }
  .composer .pane-description {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .composer textarea {
    min-height: 112px;
    font-size: 20px;
  }
  .composer .field-bottom {
    padding: 0 16px 16px;
  }
  .mode-tabs button {
    padding: 12px 14px;
    font-size: 21px;
  }
  .mode-tabs {
    margin: 0 -20px;
  }
  .checkout-panel {
    padding: 24px;
    margin: 12px 6px 0;
  }
  .checkout-panel .amount-control {
    font-size: 76px;
  }
  .site-footer {
    align-items: flex-start;
    padding: 24px 0 32px;
    font-size: 14px;
    gap: 12px;
  }
  .site-footer .footer-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }
  #connection-status {
    max-width: 16ch;
  }
  .body-admin .site-header {
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 32px 0;
  }
  .body-admin .back-link {
    font-size: 14px;
  }
  .body-admin .speaker-panel {
    padding: 24px 20px;
  }
  .body-admin .speaker-heading {
    align-items: baseline;
    flex-wrap: wrap;
  }
  .body-admin .speaker-heading h1 {
    font-size: 38px;
  }
  .body-admin .speaker-controls {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 360px) {
  .body-index .container-custom,
  .body-admin .container-custom {
    padding: 0 16px;
  }
  .event-links {
    font-size: 13px;
  }
  .watch-link {
    font-size: 14px;
  }
  .composer .preview-button {
    font-size: 14px;
    padding: 10px;
  }
  .checkout-panel {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .body-index *,
  .body-admin * {
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-contrast: more), (forced-colors: active) {
  .body-index::before,
  .body-admin::before,
  .body-index::after,
  .body-admin::after {
    display: none;
  }
  .body-index h1,
  .body-admin h1,
  .body-index .wordmark,
  .body-admin .wordmark,
  .body-index button,
  .body-admin button {
    text-shadow: none;
    box-shadow: none;
  }
}
