/* GKZiD Live studio — calm dark layout, single accent */

.live-studio-body {
  margin: 0;
  min-height: 100%;
  font-family: "Outfit", system-ui, sans-serif;
  background: #050608;
  color: rgba(244, 248, 251, 0.92);
  -webkit-font-smoothing: antialiased;
}

.live-studio {
  max-width: 52rem;
  margin: 0 auto;
  padding: calc(1.25rem + env(safe-area-inset-top)) 1.25rem calc(2.5rem + env(safe-area-inset-bottom));
}

.live-studio__hero {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 255, 157, 0.12);
}

.live-studio__kicker {
  margin: 0 0 0.35rem;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00ff9d;
}

.live-studio__title {
  margin: 0 0 0.75rem;
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.live-studio__lead {
  margin: 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(234, 240, 255, 0.62);
}

.live-studio__lead strong {
  color: rgba(244, 248, 251, 0.88);
  font-weight: 600;
}

.live-studio__shortcut {
  margin: 1rem 0 0;
  max-width: 42ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(234, 240, 255, 0.48);
}

.live-studio__shortcut strong {
  color: rgba(244, 248, 251, 0.72);
  font-weight: 600;
}

.live-studio__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 720px) {
  .live-studio__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.live-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.live-panel--tight {
  margin-bottom: 0;
}

.live-panel--accent {
  border-color: rgba(0, 255, 157, 0.2);
  background: linear-gradient(145deg, rgba(0, 255, 157, 0.06) 0%, rgba(255, 255, 255, 0.02) 55%);
}

.live-panel__head {
  margin-bottom: 1rem;
}

.live-panel__title {
  margin: 0 0 0.5rem;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.live-panel__sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(234, 240, 255, 0.55);
}

.live-panel__text {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(244, 248, 251, 0.78);
}

.live-panel__text:last-child {
  margin-bottom: 0;
}

.live-panel__text--dim {
  color: rgba(234, 240, 255, 0.48);
  font-size: 0.875rem;
}

.live-panel__note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(234, 240, 255, 0.5);
}

.live-panel__note code {
  font-size: 0.8em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #9cf5d0;
}

.live-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(244, 248, 251, 0.75);
}

.live-list li {
  margin-bottom: 0.65rem;
}

.live-list li:last-child {
  margin-bottom: 0;
}

.live-list strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.live-inline-link {
  color: #00ff9d;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.live-inline-link:hover,
.live-inline-link:focus-visible {
  text-decoration: underline;
}

.live-inline-link:focus-visible {
  outline: 2px solid #00ff9d;
  outline-offset: 2px;
  border-radius: 2px;
}

.live-preview-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.live-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-preview-frame__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.live-preview-frame.is-live .live-preview-frame__iframe {
  opacity: 1;
  pointer-events: auto;
}

.live-preview-frame__empty {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: rgba(234, 240, 255, 0.45);
  font-size: 0.875rem;
  line-height: 1.45;
}

.live-preview-frame__empty p {
  margin: 0;
  max-width: 22ch;
}

.live-preview-frame__empty-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.live-preview-frame.is-live .live-preview-frame__empty {
  display: none;
}

.live-preview-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.live-field {
  display: block;
  margin-bottom: 0.75rem;
}

.live-field__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(234, 240, 255, 0.45);
}

.live-field__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
}

.live-field__input::placeholder {
  color: rgba(234, 240, 255, 0.3);
}

.live-field__input:focus {
  outline: none;
  border-color: rgba(0, 255, 157, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.12);
}

.live-btn {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.live-btn--primary {
  background: #00ff9d;
  color: #050608;
}

.live-btn--primary:hover {
  filter: brightness(1.05);
}

.live-btn--primary:focus-visible {
  outline: 2px solid #00ff9d;
  outline-offset: 2px;
}

.live-btn--ghost {
  background: transparent;
  color: rgba(244, 248, 251, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.live-btn--ghost:hover {
  border-color: rgba(0, 255, 157, 0.35);
  color: #fff;
}

.live-btn--ghost:focus-visible {
  outline: 2px solid rgba(0, 255, 157, 0.5);
  outline-offset: 2px;
}

.live-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.live-table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.live-table th,
.live-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.live-table th {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 255, 157, 0.85);
}

.live-table td {
  color: rgba(244, 248, 251, 0.72);
}

.live-table tbody tr:last-child th,
.live-table tbody tr:last-child td {
  border-bottom: none;
}

.live-steps {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(244, 248, 251, 0.78);
}

.live-steps li {
  margin-bottom: 0.6rem;
}

.live-steps code {
  font-size: 0.85em;
  padding: 0.12em 0.4em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #b8ffe0;
}

.live-studio__footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.live-studio__footer-nav a {
  color: rgba(234, 240, 255, 0.55);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.live-studio__footer-nav a:hover,
.live-studio__footer-nav a:focus-visible {
  color: #00ff9d;
}

.live-studio__footer-nav a:focus-visible {
  outline: 2px solid #00ff9d;
  outline-offset: 3px;
  border-radius: 4px;
}
