/* Focused overrides for the high-resolution home hero and live editor surfaces. */
html { color-scheme: dark; }
.skip-link {
  position: fixed;
  z-index: 200;
  top: .75rem;
  left: .75rem;
  padding: .65rem .85rem;
  color: #11120e;
  background: #d4cc6e;
  border-radius: .35rem;
  transform: translateY(-180%);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); }
.crew-home .cine-hero-bg {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center 32%;
  transform: none !important;
  will-change: auto;
}

.crew-home .cine-connect {
  border: 1px solid color-mix(in oklab, var(--hero-accent) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in oklab, var(--hero-accent) 11%, transparent);
  padding: .48rem .85rem;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.crew-home .cine-connect:hover,
.crew-home .cine-connect:focus-visible {
  color: #080908;
  background: var(--hero-accent-bright);
  border-color: var(--hero-accent-bright);
  outline: none;
}
.crew-home .cine-live.is-unavailable .cine-live-dot { background: #8d8f87; animation: none; }

@media (max-width: 768px) {
  .crew-home .cine-connect {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
}

.legal-page { color: #eee; background: #070807; }
.legal-hero {
  min-height: 72dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(7rem, 14vw, 11rem) max(5vw, calc((100vw - 92rem) / 2)) 5rem;
  background:
    linear-gradient(180deg, rgba(7, 8, 7, .25), #070807 93%),
    radial-gradient(circle at 72% 20%, rgba(200, 192, 97, .14), transparent 32%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(16.66% - 1px), rgba(255,255,255,.035) 16.66%);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.legal-kicker,
.legal-hero > span,
.legal-nav p,
.legal-document section > span {
  font: 500 .68rem/1.2 "JetBrains Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c8c061;
}

.legal-hero h1 {
  max-width: 13ch;
  margin: 1.15rem 0 1.5rem;
  font: 500 clamp(3.8rem, 9vw, 8rem)/.88 "Oswald", sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.legal-hero > p:not(.legal-kicker) {
  max-width: 44rem;
  color: rgba(255, 255, 255, .62);
  font: 400 1rem/1.7 Inter, sans-serif;
}

.legal-hero > span { margin-top: 2rem; color: rgba(255,255,255,.4); }
.legal-layout {
  display: grid;
  grid-template-columns: 14rem minmax(0, 49rem);
  justify-content: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: 6rem 5vw 10rem;
}

.legal-nav {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,.12);
}

.legal-nav p { margin: 0 0 1.25rem; }
.legal-nav a {
  padding: .48rem 0;
  color: rgba(255,255,255,.48);
  font: 500 .82rem/1.3 Inter, sans-serif;
  text-decoration: none;
}
.legal-nav a:hover,
.legal-nav a:focus-visible { color: #fff; }

.legal-document section {
  scroll-margin-top: 7rem;
  padding: 0 0 4.75rem;
  margin-bottom: 4.75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.legal-document h2 {
  margin: .85rem 0 1.5rem;
  font: 500 clamp(2.1rem, 5vw, 3.7rem)/.98 "Clash Display", sans-serif;
  letter-spacing: -.04em;
}
.legal-document p {
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,.67);
  font: 400 .98rem/1.8 Inter, sans-serif;
}
.legal-document p a { color: #d4cc6e; }
.legal-contact {
  display: inline-flex;
  margin-top: .75rem;
  padding: .78rem 1.1rem;
  color: #0b0c09;
  background: #d4cc6e;
  border-radius: 999px;
  font: 600 .75rem/1 Inter, sans-serif;
  text-decoration: none;
}
.legal-note {
  padding: 1.25rem;
  color: rgba(255,255,255,.52);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  font: 400 .8rem/1.6 Inter, sans-serif;
}
.cookie-preferences {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.1);
}
.cookie-preferences > span { color: rgba(255,255,255,.48); font: 500 .72rem/1.4 Inter,sans-serif; }
.cookie-preferences > div { display: flex; flex-wrap: wrap; gap: .45rem; }
.cookie-preferences button {
  min-height: 2rem;
  padding: .5rem .65rem;
  color: rgba(255,255,255,.58);
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  cursor: pointer;
  font: 600 .62rem/1 Inter,sans-serif;
}
.cookie-preferences button[data-active="true"] { color: #11120e; background: #d4cc6e; border-color: #d4cc6e; }

@media (max-width: 760px) {
  .legal-layout { grid-template-columns: 1fr; padding-top: 3rem; }
  .legal-nav { position: static; flex-flow: row wrap; gap: 0 .9rem; }
  .legal-nav p { flex-basis: 100%; }
  .legal-hero { min-height: 62dvh; }
  .cookie-preferences { align-items: flex-start; flex-direction: column; }
}

/* In-context CMS. The public page remains the editing canvas. */
.live-editor-bar {
  position: sticky;
  z-index: 48;
  top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 4.25rem;
  padding: .65rem max(1rem, calc((100vw - 92rem) / 2));
  color: #eee;
  background: rgba(11, 12, 10, .96);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 42px rgba(0,0,0,.3);
  backdrop-filter: blur(20px);
}

.live-editor-identity,
.live-editor-actions,
.live-editor-identity > div,
.live-editor-exit,
.live-editor-save,
.live-editor-add,
.live-item-tools,
.live-category-tools { display: flex; align-items: center; }
.live-editor-identity { gap: .72rem; }
.live-editor-identity > div { align-items: flex-start; flex-direction: column; gap: .16rem; }
.live-editor-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #15160f;
  background: #d4cc6e;
  border-radius: 50%;
  font: 700 .78rem/1 "Clash Display", sans-serif;
}
.live-editor-identity strong { font: 600 .78rem/1.2 Inter, sans-serif; }
.live-editor-identity div span { color: rgba(255,255,255,.45); font: 500 .65rem/1.2 Inter, sans-serif; }
.live-editor-actions { gap: .55rem; }
.live-editor-exit,
.live-editor-save,
.live-editor-add {
  justify-content: center;
  gap: .4rem;
  min-height: 2.35rem;
  padding: .62rem .85rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font: 600 .7rem/1 Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.live-editor-exit { color: rgba(255,255,255,.7); }
.live-editor-save { color: #11120d; background: #d4cc6e; border-color: #d4cc6e; }
.live-editor-save:disabled { color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); cursor: default; }
.live-editor-add { width: fit-content; margin: 1.1rem 0; color: #e9e8df; background: rgba(255,255,255,.04); }
.live-editor-add:hover { border-color: #c8c061; color: #d4cc6e; }
.is-spinning { animation: live-editor-spin .8s linear infinite; }
@keyframes live-editor-spin { to { transform: rotate(360deg); } }

.live-editable-text {
  border-radius: .25rem;
  outline: 1px dashed transparent;
  outline-offset: .28rem;
  transition: outline-color .16s ease, background-color .16s ease;
}
.live-editable-text:hover { outline-color: rgba(212,204,110,.45); }
.live-editable-text:focus {
  background: rgba(212,204,110,.06);
  outline: 1px solid #d4cc6e;
}
.live-editable-text:empty::before { color: rgba(255,255,255,.3); content: attr(data-placeholder); }
.live-editable-cta { position: relative; gap: .5rem; cursor: text; }
.live-link-editor {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 1.55rem;
  padding: .3rem .42rem;
  color: #11120e;
  background: #d4cc6e;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 650 .55rem/1 Inter,sans-serif;
  text-transform: uppercase;
}
.live-image-editor {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: .8rem;
  pointer-events: none;
}
.live-image-editor input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.live-image-editor > span {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .5rem .68rem;
  color: #f5f5ef;
  background: rgba(10,11,9,.86);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  box-shadow: 0 5px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  font: 600 .62rem/1 Inter,sans-serif;
  cursor: pointer;
  pointer-events: auto;
}
.live-image-editor:hover > span,
.live-image-editor:focus-within > span { color: #11120e; background: #d4cc6e; border-color: #d4cc6e; }
.live-image-editor > em { position: absolute; right: .8rem; top: 3.5rem; max-width: 14rem; color: #ffd0d0; background: rgba(80,12,12,.9); padding: .35rem .5rem; font: 500 .62rem/1.3 Inter,sans-serif; }
.is-live-editing .cine-hero-inner,
.is-live-editing .about-hero-content { z-index: 5; }

/* Focused Viridia home sections */
.crew-home .cine-hero-logo-wrap {
  width: 58px;
  height: 58px;
  margin: 1.15rem 0 .9rem;
  position: relative;
}

.crew-home .cine-hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45));
}

.crew-home .subscriptions-section {
  position: relative;
  z-index: 10;
  padding: 7rem 12vw 9rem;
  background: linear-gradient(180deg, transparent, rgba(200, 192, 97, .035));
}

.crew-home .subscriptions-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 4rem;
  margin-bottom: 4rem;
}

.crew-home .subscriptions-intro h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-clash);
  font-size: clamp(56px, 8vw, 118px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .88;
  text-transform: uppercase;
}

.crew-home .subscriptions-intro > p {
  color: #aaa;
  font-size: 17px;
  line-height: 1.65;
}

.crew-home .subscription-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.crew-home .subscription-card,
.crew-home .subscriptions-placeholder {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .035);
  overflow: hidden;
}

.crew-home .subscription-card {
  padding: 1rem;
}

.crew-home .subscription-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.4rem;
  border-radius: 13px;
  background: #0d0d0b;
  color: var(--brand);
  font: 600 64px/1 var(--font-clash);
  overflow: hidden;
}

.crew-home .subscription-media img { width: 100%; height: 100%; object-fit: cover; }
.crew-home .subscription-kicker { color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.crew-home .subscription-card h3 { margin: .55rem 0; color: #fff; font: 600 26px/1.1 var(--font-clash); text-transform: uppercase; }
.crew-home .subscription-description { min-height: 3.5rem; color: #999; font-size: 14px; line-height: 1.55; }
.crew-home .subscription-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.crew-home .subscription-card-footer strong { color: #fff; font-size: 20px; }
.crew-home .subscription-card-footer button,
.crew-home .subscriptions-placeholder a {
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #0b0b08;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  padding: .75rem 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
}

.crew-home .subscriptions-placeholder {
  padding: clamp(2.5rem, 7vw, 6rem);
  text-align: center;
}
.crew-home .subscriptions-placeholder > span { color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.crew-home .subscriptions-placeholder h3 { margin: .8rem 0; color: #fff; font: 600 clamp(28px, 4vw, 48px)/1 var(--font-clash); text-transform: uppercase; }
.crew-home .subscriptions-placeholder p { max-width: 560px; margin: 0 auto 2rem; color: #999; line-height: 1.65; }
.crew-home .subscriptions-status, .crew-home .subscriptions-error { padding: 2rem; color: #aaa; text-align: center; }

.crew-home .professional-footer {
  position: relative;
  z-index: 10;
  padding: 5rem max(4vw, 3rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: #070806;
}
.crew-home .professional-footer-grid { display: grid; grid-template-columns: minmax(280px, 1.7fr) repeat(3, minmax(130px, 1fr)); gap: 4rem; max-width: 1480px; margin: 0 auto 5rem; }
.crew-home .professional-footer-lockup { display: flex; align-items: center; gap: 1rem; }
.crew-home .professional-footer-logo-wrap { width: 54px; height: 54px; position: relative; flex: none; }
.crew-home .professional-footer-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.crew-home .professional-footer-lockup strong { color: #fff; font: 600 18px/1 var(--font-clash); letter-spacing: .06em; }
.crew-home .professional-footer-lockup p { margin: .45rem 0 0; color: #777; font-size: 12px; }
.crew-home .professional-footer-socials { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.crew-home .professional-footer-social { padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #bbb; font-size: 11px; font-weight: 650; text-decoration: none; text-transform: uppercase; }
.crew-home .professional-footer-column h3 { margin: 0 0 1.2rem; color: #fff; font: 600 13px/1 var(--font-clash); letter-spacing: .1em; text-transform: uppercase; }
.crew-home .professional-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.crew-home .professional-footer-link { color: #888; font-size: 13px; text-decoration: none; transition: color .18s ease; }
.crew-home .professional-footer-link:hover { color: var(--brand-bright); }
.crew-home .professional-footer-bottom { display: flex; justify-content: space-between; gap: 2rem; max-width: 1480px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); color: #666; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.crew-home .professional-footer-bottom button { border: 0; background: none; color: #aaa; cursor: pointer; font: inherit; text-transform: inherit; }

@media (max-width: 900px) {
  .crew-home .subscriptions-section { padding: 5rem 5vw; }
  .crew-home .subscriptions-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .crew-home .subscription-grid { grid-template-columns: 1fr; }
  .crew-home .professional-footer { padding-inline: 5vw; }
  .crew-home .professional-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
  .crew-home .professional-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .crew-home .professional-footer-grid { grid-template-columns: 1fr; }
  .crew-home .professional-footer-brand { grid-column: auto; }
  .crew-home .professional-footer-bottom { flex-direction: column; }
  .crew-home .cine-hero-logo-wrap { width: 44px; height: 44px; }
}
.is-live-editing .gallery-card-bottom { position: relative; z-index: 6; }
.is-live-editing .sliding-image-container,
.is-live-editing .image-break-container,
.is-live-editing .msg-col { position: relative; }
.home-editor-error { position: fixed; z-index: 70; top: 9rem; left: 50%; transform: translateX(-50%); }
.live-editor-error {
  margin: 1rem auto 2rem;
  padding: .8rem 1rem;
  color: #ffd4d4;
  background: rgba(155,45,45,.16);
  border: 1px solid rgba(255,100,100,.22);
  font: 500 .78rem/1.5 Inter, sans-serif;
}

.live-category { position: relative; }
.live-category-copy { flex: 1; }
.live-category-summary {
  max-width: 44rem;
  margin: .65rem 0 0;
  color: rgba(255,255,255,.48);
  font: 400 .86rem/1.6 Inter, sans-serif;
}
.live-category-tools { gap: .35rem; margin-left: auto; }
.live-category-tools button,
.live-item-tools button,
.wiki-editor-icon,
.wiki-editor-twist,
.wiki-editor-delete-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: .42rem .55rem;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .45rem;
  cursor: pointer;
  font: 550 .65rem/1 Inter, sans-serif;
}
.live-category-tools button:hover,
.live-item-tools button:hover,
.wiki-editor-icon:hover,
.wiki-editor-delete-page:hover { color: #fff; border-color: rgba(255,255,255,.28); }
.live-category-tools button:disabled { opacity: .25; cursor: default; }
.live-category-tools .is-danger,
.live-item-tools .is-danger,
.wiki-editor-icon.is-danger,
.wiki-editor-delete-page { color: #ff9a9a; }
.live-rule-item { position: relative; }
.live-rule-item .rules-item-head { cursor: text; }
.live-rule-item .rules-item-copy { padding-right: 1rem; }
.live-item-tools {
  align-self: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .32rem;
  min-width: 13.5rem;
  opacity: .25;
  transition: opacity .15s ease;
}
.live-rule-item:hover > .rules-item-head .live-item-tools,
.faq-editor-item:hover > .live-item-tools,
.live-item-tools:focus-within { opacity: 1; }

.faq-editor-category { margin: 0 0 5rem; }
.faq-editor-category-head {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.faq-editor-category-head > span { color: #c8c061; font: 500 .65rem/1 "JetBrains Mono", monospace; }
.faq-editor-category-head h2 { margin: 0; color: #fff; font: 600 clamp(1.5rem,3vw,2.4rem)/1.1 "Clash Display", sans-serif; }
.faq-editor-list { margin-top: .5rem; }
.faq-editor-item {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: .35rem 1.25rem;
  padding: 1.4rem .5rem;
}
.faq-editor-item-number { grid-row: 1 / 3; color: rgba(255,255,255,.28); font: 500 .65rem/1.5 "JetBrains Mono", monospace; }
.faq-editor-item .faq-row-question { grid-column: 2; }
.faq-editor-item .faq-row-answer { grid-column: 2; margin: .5rem 0 0; color: rgba(255,255,255,.56); line-height: 1.65; }
.faq-editor-item .live-item-tools { grid-column: 3; grid-row: 1 / 3; }

.wiki-editor-page .wiki-middle { padding-top: 2rem; }
.wiki-editor-app { min-height: min(76rem, calc(100dvh - 8rem)); }
.wiki-editor-sidebar { align-self: stretch; }
.wiki-editor-sidebar .wiki-sidebar-brand { gap: .65rem; }
.wiki-editor-sidebar .wiki-sidebar-brand .wiki-editor-icon { margin-left: auto; }
.wiki-editor-tree { padding: .45rem; }
.wiki-editor-group { margin-bottom: .35rem; }
.wiki-editor-group-head {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr) 1.9rem 1.9rem;
  align-items: center;
  gap: .25rem;
  padding: .35rem;
}
.wiki-editor-twist,
.wiki-editor-icon { min-height: 1.8rem; padding: .28rem; border-color: transparent; background: transparent; }
.wiki-editor-category-title { min-width: 0; color: rgba(255,255,255,.7); font: 600 .75rem/1.4 Inter, sans-serif; }
.wiki-editor-pages { padding: 0 .35rem .35rem 2.2rem; }
.wiki-editor-pages .wiki-nav-article { width: 100%; }
.wiki-editor-main { min-height: 58rem; }
.wiki-editor-document { display: flex; flex-direction: column; min-height: 100%; padding: clamp(2rem,5vw,5rem); }
.wiki-editor-title-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: start; margin: 2rem 0; }
.wiki-editor-summary { max-width: 47rem; margin: .7rem 0 0; color: rgba(255,255,255,.48); font: 400 .9rem/1.55 Inter,sans-serif; }
.wiki-editor-delete-page { gap: .4rem; }
.wiki-editor-document .admin-md { flex: 1; min-height: 42rem; }
.admin-md-toolbar { position: relative; }
.admin-md-insert { position: relative; }
.admin-md-toolbar .admin-gitbook-ghost { display: inline-flex; align-items: center; gap: .4rem; }
.admin-md-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + .45rem);
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem,1fr));
  width: 23rem;
  padding: .45rem;
  background: #161714;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .65rem;
  box-shadow: 0 18px 45px rgba(0,0,0,.42);
}
.admin-md-menu button {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .72rem;
  color: rgba(255,255,255,.72);
  background: transparent;
  border: 0;
  border-radius: .4rem;
  cursor: pointer;
  font: 500 .72rem/1 Inter,sans-serif;
  text-align: left;
}
.admin-md-menu button:hover,
.admin-md-menu button:focus-visible { color: #fff; background: rgba(255,255,255,.07); }
.admin-md-single .w-md-editor { border: 0 !important; border-top: 1px solid rgba(255,255,255,.09) !important; border-radius: 0 !important; }
.admin-md-single .w-md-editor-toolbar { background: transparent !important; }
.admin-md-single .w-md-editor-text-pre,
.admin-md-single .w-md-editor-text-input { font-size: 1rem !important; line-height: 1.75 !important; }
.wiki-editor-empty { display: grid; place-items: center; align-content: center; min-height: 38rem; color: rgba(255,255,255,.35); text-align: center; }
.wiki-editor-empty h2 { margin: 1rem 0 .4rem; color: rgba(255,255,255,.78); }
.wiki-editor-empty p { margin: 0; }
.wiki-video { margin: 1.25rem 0 1.5rem; }
.wiki-video video { display: block; width: 100%; max-height: 38rem; background: #050505; border: 1px solid rgba(255,255,255,.12); }
.wiki-video figcaption { margin-top: .55rem; color: rgba(255,255,255,.4); font: 500 .7rem/1.4 Inter,sans-serif; }

@media (max-width: 860px) {
  .live-editor-bar { top: 4rem; align-items: flex-start; }
  .live-editor-identity div span { display: none; }
  .live-editor-exit { font-size: 0; gap: 0; }
  .live-editor-save { padding-inline: .7rem; }
  .live-rule-item .rules-item-head { flex-wrap: wrap; }
  .live-item-tools { width: 100%; min-width: 0; justify-content: flex-start; opacity: 1; }
  .faq-editor-item { grid-template-columns: 2.2rem minmax(0,1fr); }
  .faq-editor-item .live-item-tools { grid-column: 2; grid-row: auto; }
  .wiki-editor-app { grid-template-columns: 1fr; }
  .wiki-editor-sidebar { position: static; max-height: 24rem; }
  .wiki-editor-title-row { grid-template-columns: 1fr; }
}

/* Admin workspace: profile-like header, focused tools, and page-editor launchpad. */
.admin-app {
  display: block !important;
  min-height: calc(100dvh - 4rem) !important;
  background: #080907 !important;
  overflow: visible !important;
}
.admin-app-bg {
  position: fixed !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(200,192,97,.1), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    #080907 !important;
  background-size: auto, 16.666vw 100%, auto !important;
}
.admin-sidenav {
  position: sticky !important;
  z-index: 35 !important;
  top: 4rem !important;
  display: grid !important;
  grid-template-columns: minmax(14rem, 1fr) auto minmax(10rem, 1fr);
  align-items: center;
  gap: 2rem !important;
  width: 100%;
  height: auto !important;
  padding: .8rem max(1.25rem, calc((100vw - 92rem) / 2)) !important;
  overflow: visible !important;
  background: rgba(11,12,10,.94) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  backdrop-filter: blur(18px) !important;
}
.admin-sidenav-brand { display: flex; align-items: center; gap: .75rem; }
.admin-sidenav-brand .admin-kicker { display: none; }
.admin-sidenav-brand h1 { color: #f2f2ec !important; font-size: 1rem !important; letter-spacing: -.015em !important; }
.admin-sidenav-meta { margin: 0 !important; padding-left: .75rem; border-left: 1px solid rgba(255,255,255,.12); font-size: .68rem !important; }
.admin-sidenav-meta span { font-size: .55rem !important; }
.admin-sidenav nav { flex-direction: row !important; align-items: center; justify-content: center; gap: .2rem !important; }
.admin-sidenav nav button {
  align-items: center !important;
  min-height: 2.4rem;
  padding: .6rem .78rem !important;
  border-radius: .45rem !important;
  text-align: center !important;
  transform: none !important;
}
.admin-sidenav nav button strong { font-size: .72rem !important; }
.admin-sidenav nav button span { display: none; }
.admin-sidenav nav button.is-active {
  color: #f4f4ef !important;
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.1) !important;
}
.admin-sidenav-foot { align-items: flex-end; }
.admin-sidenav-foot a { padding: .58rem .78rem !important; color: #d4cc6e !important; border-radius: 999px !important; font-size: .68rem !important; }
.admin-workspace {
  width: min(100%, 92rem);
  margin: 0 auto;
  padding: clamp(2rem,5vw,5rem) 1.25rem 8rem !important;
  overflow: visible !important;
}
.admin-overview,
.admin-stack-editor,
.admin-split-workspace {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.admin-overview-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  min-height: 17rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-overview-hero h2 {
  max-width: 15ch;
  margin: .75rem 0 1rem;
  color: #f2f2ec;
  font: 500 clamp(2.8rem,6vw,5.8rem)/.92 "Clash Display",sans-serif;
  letter-spacing: -.055em;
}
.admin-overview-hero p:not(.admin-kicker) { max-width: 42rem; margin: 0; color: rgba(255,255,255,.48); line-height: 1.65; }
.admin-system-state {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex: none;
  padding: .6rem .8rem;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font: 550 .67rem/1 Inter,sans-serif;
}
.admin-system-state i { width: .42rem; height: .42rem; background: #cf6161; border-radius: 50%; }
.admin-system-state.is-ready i { background: #54c884; box-shadow: 0 0 0 4px rgba(84,200,132,.09); }
.admin-content-editors { padding: 5rem 0; }
.admin-section-label { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.4rem; }
.admin-section-label h3 { margin: .4rem 0 0; color: #efefe9; font: 500 clamp(1.4rem,2.4vw,2rem)/1.15 "Clash Display",sans-serif; }
.admin-section-label > a { color: rgba(255,255,255,.55); font: 600 .7rem/1 Inter,sans-serif; text-decoration: none; }
.admin-editor-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.1); border-left: 1px solid rgba(255,255,255,.1); }
.admin-editor-card {
  display: grid;
  grid-template-columns: 2.5rem minmax(0,1fr) auto;
  align-items: start;
  gap: 1.25rem;
  min-height: 13rem;
  padding: 1.6rem;
  color: inherit;
  background: rgba(255,255,255,.018);
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  transition: background-color .18s ease;
}
.admin-editor-card:hover { background: rgba(212,204,110,.055); }
.admin-editor-card > span { color: #c8c061; font: 500 .62rem/1.5 "JetBrains Mono",monospace; }
.admin-editor-card strong { color: #f3f3ed; font: 550 1.35rem/1.15 "Clash Display",sans-serif; }
.admin-editor-card p { max-width: 29rem; margin: .8rem 0 0; color: rgba(255,255,255,.45); font: 400 .82rem/1.65 Inter,sans-serif; }
.admin-editor-card em { align-self: end; color: rgba(255,255,255,.42); font: normal 600 .65rem/1 Inter,sans-serif; white-space: nowrap; }
.admin-editor-card:hover em { color: #d4cc6e; }
.admin-section-label-stats { margin-top: 1rem; }
.admin-stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 0 !important; border-top: 1px solid rgba(255,255,255,.1); border-left: 1px solid rgba(255,255,255,.1); }
.admin-stat-card {
  min-height: 9rem;
  padding: 1.25rem !important;
  background: rgba(255,255,255,.018) !important;
  border: 0 !important;
  border-right: 1px solid rgba(255,255,255,.1) !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 0 !important;
  cursor: default !important;
  transform: none !important;
}
.admin-stat-card strong { margin-top: 1.1rem !important; color: #f2f2ed !important; font-size: 2.6rem !important; }

@media (max-width: 900px) {
  .admin-sidenav { grid-template-columns: 1fr auto; }
  .admin-sidenav nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; }
  .admin-sidenav-meta { display: none; }
  .admin-overview-hero { align-items: flex-start; flex-direction: column; }
  .admin-editor-card-grid { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

@media (max-width: 560px) {
  .admin-sidenav-foot { display: none !important; }
  .admin-sidenav { grid-template-columns: 1fr !important; }
  .admin-editor-card { grid-template-columns: 2rem 1fr; }
  .admin-editor-card em { grid-column: 2; }
}

/* Public punishment ledger. Editorial hierarchy with restrained case cards. */
.punish-page .punish-section {
  width: min(100%, 76rem) !important;
  max-width: none !important;
  padding: clamp(4rem,8vw,8rem) 1.25rem 10rem !important;
}
.punish-ledger-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(18rem,32rem);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.punish-ledger-head > div > p {
  margin: 0 0 .8rem;
  color: #c8c061;
  font: 500 .65rem/1.2 "JetBrains Mono",monospace;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.punish-ledger-head h2 {
  margin: 0;
  color: #f3f3ed;
  font: 550 clamp(2.7rem,6vw,5.3rem)/.92 "Clash Display",sans-serif;
  letter-spacing: -.05em;
}
.punish-ledger-head > p {
  margin: 0;
  color: rgba(255,255,255,.48);
  font: 400 .88rem/1.7 Inter,sans-serif;
}
.punish-page .punish-stats {
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 0;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  border-left: 1px solid rgba(255,255,255,.1);
}
.punish-page .punish-stat {
  min-height: 8.5rem;
  padding: 1.35rem;
  background: rgba(255,255,255,.018);
  border: 0;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
}
.punish-page .punish-stat:first-child { background: rgba(200,192,97,.045); }
.punish-page .punish-stat-icon { width: 2rem; height: 2rem; background: transparent; border: 1px solid rgba(200,192,97,.25); border-radius: 50%; }
.punish-page .punish-stat-value { color: #f4f4ef; font-size: clamp(2.3rem,4vw,3.4rem); font-weight: 500; }
.punish-page .punish-stat-label { color: rgba(255,255,255,.4); font-size: .62rem; }
.punish-controls { margin-bottom: 2.5rem; }
.punish-page .punish-search {
  min-height: 3.6rem;
  padding-inline: 1.25rem;
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.11);
  border-radius: 0;
}
.punish-page .punish-search:focus-within { border-color: #c8c061; box-shadow: 0 0 0 3px rgba(200,192,97,.07); }
.punish-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.punish-filters button {
  min-height: 2rem;
  padding: .45rem .7rem;
  color: rgba(255,255,255,.44);
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  cursor: pointer;
  font: 600 .62rem/1 Inter,sans-serif;
}
.punish-filters button:hover,
.punish-filters button:focus-visible { color: #fff; border-color: rgba(255,255,255,.3); }
.punish-filters button[data-active="true"] { color: #11120e; background: #d4cc6e; border-color: #d4cc6e; }
.punish-page .punish-list,
.punish-page .punish-list-inner { gap: 1rem; }
.punish-page .punish-card {
  padding: 0;
  background: rgba(255,255,255,.022);
  border-color: rgba(255,255,255,.1);
  border-radius: 0;
  overflow: hidden;
}
.punish-page .punish-card::before { top: 0; bottom: 0; width: 2px; border-radius: 0; }
.punish-case-line {
  display: flex;
  justify-content: space-between;
  padding: .65rem 1.35rem .65rem 1.6rem;
  color: rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font: 500 .58rem/1.2 "JetBrains Mono",monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.punish-page .punish-card-head { margin: 0; padding: 1.5rem 1.5rem 1.15rem 1.65rem; }
.punish-page .punish-avatar { width: 3.2rem; height: 3.2rem; border-radius: .5rem; }
.punish-page .punish-avatar img { border-radius: .45rem; }
.punish-page .punish-avatar-badge { width: .85rem; height: .85rem; border-radius: 50%; }
.punish-page .punish-name { font: 600 1.08rem/1.2 "Clash Display",sans-serif; }
.punish-page .punish-points-badge {
  flex-direction: row;
  gap: .35rem;
  min-width: 0;
  padding: .5rem .65rem;
  color: #d4cc6e;
  background: rgba(200,192,97,.075);
  border: 1px solid rgba(200,192,97,.22);
  border-radius: .35rem;
}
.punish-page .punish-points-value { font-size: .9rem; }
.punish-page .punish-points-label { margin: 0; font-size: .52rem; }
.punish-page .punish-card-meta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  margin: 0;
  padding: .95rem 1.5rem .95rem 1.65rem;
  background: rgba(0,0,0,.15);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.punish-page .punish-chip { border-radius: 999px; padding: .28rem .55rem; }
.punish-page .punish-chip svg { width: .75rem; height: .75rem; }
.punish-reason-wrap { display: grid; grid-template-columns: 4.5rem minmax(0,1fr); gap: 1rem; padding: 1.25rem 1.5rem 1.4rem 1.65rem; }
.punish-reason-wrap > span { padding-top: .18rem; color: rgba(255,255,255,.3); font: 500 .58rem/1.3 "JetBrains Mono",monospace; letter-spacing: .13em; text-transform: uppercase; }
.punish-page .punish-reason { color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.65; }
.punish-page .punish-empty {
  min-height: 16rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
}

@media (max-width: 760px) {
  .punish-ledger-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .punish-page .punish-stats { grid-template-columns: 1fr; }
  .punish-page .punish-card-meta { grid-template-columns: 1fr; }
  .punish-page .punish-dates { white-space: normal; }
  .punish-reason-wrap { grid-template-columns: 1fr; gap: .45rem; }
}

.live-editor-exit:focus-visible,
.live-editor-save:focus-visible,
.live-editor-add:focus-visible,
.live-link-editor:focus-visible,
.live-category-tools button:focus-visible,
.live-item-tools button:focus-visible,
.wiki-editor-icon:focus-visible,
.wiki-editor-twist:focus-visible,
.wiki-editor-delete-page:focus-visible,
.admin-sidenav a:focus-visible,
.admin-sidenav button:focus-visible,
.admin-editor-card:focus-visible,
.punish-filters button:focus-visible,
.cookie-preferences button:focus-visible,
.legal-nav a:focus-visible,
.legal-contact:focus-visible {
  outline: 2px solid #d4cc6e;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .crew-home .cine-connect,
  .admin-editor-card,
  .live-editable-text { transition: none; }
  .crew-home .scrolling-gallery-track { animation-play-state: paused; }
  .is-spinning { animation: none; }
}
