:root {
  --bg: #020205;
  --line: rgba(255, 255, 255, 0.16);
  --line2: rgba(255, 255, 255, 0.38);
  --fg: rgba(255, 255, 255, 0.92);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.56);
  --faint: rgba(255, 255, 255, 0.28);
  --shadow: rgba(0, 0, 0, 0.65);
  --bg-dim: .35;
}

* { box-sizing: border-box; }

html,
body { min-height: 100%; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
}

.background-video,
.background-fallback,
.snow,
.scanlines,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background-video {
  z-index: -6;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.60;
  filter: brightness(0.55) contrast(1.14) saturate(0.28) blur(0.2px);
  background: #020205;
}

.background-fallback {
  z-index: -7;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.11), transparent 26%),
    radial-gradient(circle at 78% 8%, rgba(255,255,255,0.075), transparent 31%),
    radial-gradient(circle at 50% 120%, rgba(255,255,255,0.09), transparent 42%),
    linear-gradient(135deg, #010102 0%, #08080f 45%, #000 100%);
}

.snow {
  z-index: -3;
  opacity: 0.24;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.48) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,255,255,0.23) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,0.16) 0 1px, transparent 1.4px);
  background-size: 170px 170px, 260px 260px, 390px 390px;
  background-position: 0 0, 70px 100px, 160px 50px;
  animation: snowDrift 32s linear infinite;
}

.scanlines {
  z-index: -2;
  opacity: 0.13;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.06) 0,
    rgba(255,255,255,0.06) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: screen;
}

.vignette {
  z-index: -1;
  opacity: 0.82;
  background:
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.22) 48%, rgba(0,0,0,0.88) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.62), transparent 26%, rgba(0,0,0,0.88));
}

@keyframes snowDrift {
  from { transform: translate3d(0, -24px, 0); }
  to { transform: translate3d(-90px, 120px, 0); }
}

.wrap {
  position: relative;
  z-index: 5;
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
}

.fent-text-logo {
  display: block;
  width: clamp(260px, 34vw, 620px);
  max-width: 100%;
  height: auto;
  max-height: 118px;
  object-fit: contain;
  object-position: left center;

  filter:
    drop-shadow(0 0 22px rgba(255,255,255,0.20))
    drop-shadow(0 22px 70px rgba(0,0,0,0.70));
}
@media (max-width: 780px) {
  .fent-text-logo {
    width: min(100%, 420px);
    max-height: 90px;
  }
}
.subtitle {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.topRight {
  text-align: right;
  padding-top: 8px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.status,
.eyebrow,
.note label,
.postPill,
.mediaPill {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}

.status { color: rgba(255,255,255,0.78); }

.led {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  box-shadow:
    0 0 10px rgba(255,255,255,0.38),
    0 0 26px rgba(255,255,255,0.12);
}

.editor-shell {
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.02)),
    rgba(0,0,0,0.40);
  backdrop-filter: blur(24px);
  box-shadow:
    0 30px 90px var(--shadow),
    0 0 70px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.14);
  overflow: hidden;
  position: relative;
}

.editor-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.14), transparent 34%),
    linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,0.06) 50%, transparent 60%);
  opacity: 0.42;
  pointer-events: none;
}

.editor-shell > * {
  position: relative;
  z-index: 1;
}

.editor-head {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(0,0,0,0.14);
}

.eyebrow {
  color: var(--faint);
  margin: 0 0 8px;
}

.membersTitle {
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 0.92;
  font-weight: 250;
  letter-spacing: -0.06em;
  color: var(--fg);
  text-shadow: 0 0 22px rgba(255,255,255,0.14);
}

.membersActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 0;
}

.editor-sidebar {
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.12);
}

.editor-main {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.editor-section,
.preview,
.save-panel,
.postRow,
.mediaBox,
.helpCard,
.bgPreviewWrap,
.mediaPreview,
.mediaItem {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.30);
  backdrop-filter: blur(16px);
  box-shadow:
    0 18px 54px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.editor-section {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.section-head,
.membersHead,
.linksHead,
.postRowTop,
.mediaHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.section-head h2,
.disclosure summary strong {
  margin: 0;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.035em;
}

.section-head p,
.disclosure summary small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.disclosure {
  padding: 0;
  overflow: hidden;
}

.disclosure summary {
  list-style: none;
  cursor: pointer;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure summary::after {
  content: "+";
  color: var(--muted);
  font-size: 22px;
  font-weight: 200;
}

.disclosure[open] summary::after {
  content: "−";
}

.section-body {
  padding: 0 18px 18px;
  display: grid;
  gap: 14px;
}

.summary-btn {
  position: relative;
  z-index: 2;
}

.grid2,
.postGrid2 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.form {
  display: grid;
  gap: 14px;
}

label.note {
  display: block;
  margin-bottom: 7px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--faint);
}

.note,
.tiny {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tiny {
  font-size: 0.82rem;
  color: var(--faint);
}

.form input,
.form textarea,
.linkRow input,
.postRow input,
.postRow textarea,
.mediaBox input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.34);
  color: var(--fg);
  outline: none;
  font: inherit;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form input:focus,
.form textarea:focus,
.linkRow input:focus,
.postRow input:focus,
.postRow textarea:focus,
.mediaBox input:focus {
  border-color: rgba(255,255,255,0.42);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.022)),
    rgba(0,0,0,0.42);
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.06),
    0 0 30px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.11);
}

.form input::placeholder,
.form textarea::placeholder,
.postRow input::placeholder,
.postRow textarea::placeholder {
  color: rgba(255,255,255,0.30);
}

.form textarea,
.postRow textarea {
  resize: vertical;
  min-height: 110px;
}

.createBtn,
.btn,
.miniBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.025)),
    rgba(0,0,0,0.34);
  color: rgba(255,255,255,0.84);
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 14px 42px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.10);
  transition: 160ms ease;
}

.createBtn:hover,
.btn:hover,
.miniBtn:hover {
  transform: translateY(-2px);
  color: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.42);
  box-shadow:
    0 22px 64px rgba(0,0,0,0.48),
    0 0 30px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
}

.danger {
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.70);
}

.actions,
.postActions,
.soft-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.soft-actions {
  margin-top: 10px;
}

.range-block {
  margin-top: 10px;
}

.compact-preview {
  padding: 16px;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.preview img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #050505;
  box-shadow: 0 18px 50px rgba(0,0,0,0.38);
}

.preview-name {
  margin: 0;
}

.preview-bio {
  margin: 0;
}

.save-panel {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.linksList {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.linkRow {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
}

audio {
  width: 100%;
  filter: grayscale(1);
}

.bgPreviewWrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.bgPreviewWrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(0,0,0,var(--bg-dim));
}

.bgPreviewWrap video {
  width: 100%;
  display: block;
}

.bgPreviewWrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

#bgDim {
  width: 100%;
  accent-color: #fff;
}

.postRow {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.postPill,
.mediaPill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--muted);
  background: rgba(0,0,0,0.18);
}

.postPill.live {
  color: var(--fg);
  border-color: rgba(255,255,255,0.34);
  box-shadow: 0 0 24px rgba(255,255,255,0.06);
}

.mediaBox {
  padding: 12px;
  display: grid;
  gap: 12px;
}

.mediaPreview {
  overflow: hidden;
  background: #000;
  display: none;
}

.mediaPreview img,
.mediaPreview video {
  width: 100%;
  height: auto;
  display: block;
}

.mediaList {
  display: grid;
  gap: 8px;
}

.mediaItem {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
}

.mediaItem a {
  color: var(--fg);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 68%;
}

.mediaItem .meta {
  color: var(--muted);
  font-size: .85rem;
}

.postMedia iframe,
.mediaPreview iframe {
  width: 100%;
  min-height: 620px;
  border: 0;
  display: block;
  background: #050505;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: rgba(255,255,255,0.80);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 2px 6px;
}

@media (max-width: 980px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }

  .editor-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .compact-preview {
    margin-bottom: 0;
  }
}

@media (max-width: 780px) {
  .wrap {
    width: min(100% - 28px, 1480px);
    padding-top: 24px;
  }

  .top {
    flex-direction: column;
    align-items: stretch;
  }

  .topRight {
    text-align: left;
    justify-content: flex-start;
  }

  .editor-head,
  .editor-main,
  .editor-sidebar {
    padding: 18px;
  }

  .editor-shell {
    border-radius: 24px;
  }

  .membersTitle {
    font-size: clamp(36px, 12vw, 68px);
  }

  .editor-sidebar,
  .grid2,
  .postGrid2,
  .linkRow {
    grid-template-columns: 1fr;
  }

  .disclosure summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-btn {
    width: 100%;
  }

  .postMedia iframe,
  .mediaPreview iframe {
    min-height: 360px;
  }
}
.subtitle,
.status,
.eyebrow,
.section-head,
.note,
.membersTitle {
  font-family: "Rubik Glitch", Impact, "Arial Black", sans-serif;
}


input::placeholder,
textarea::placeholder,
.miniBtn,
.btn,
.createBtn,
.dumbbfill,
.tiny {  font-family: "Rubik Mono One", Impact, "Arial Black", sans-serif;
}
