/* Club Lounge — field backdrop, aligned grid, mobile-safe */

body.rcs-club-lounge-page.rcs-pilot-field-page {
  overflow-x: clip;
}

.rcs-club-lounge-page .rcs-club-lounge-wrap {
  --cl-gutter: 16px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px var(--cl-gutter) 32px;
  box-sizing: border-box;
}

body.rcs-club-lounge-page.rcs-footer-member .rcs-club-lounge-wrap {
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 900px) {
  .rcs-club-lounge-page .rcs-club-lounge-wrap {
    --cl-gutter: 24px;
    padding-top: 16px;
    padding-bottom: 40px;
  }
}

/* Sticky identity bar (fixed — survives body overflow-x on field pages) */
.rcs-club-lounge-sticky-slot {
  height: var(--cl-sticky-h, 52px);
  margin: 0 0 10px;
}

.rcs-club-lounge-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(10, 7, 6, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

[data-theme="light"] .rcs-club-lounge-sticky-bar {
  background: rgba(248, 250, 252, 0.96);
  border-bottom-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.rcs-club-lounge-sticky-bar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px var(--cl-gutter, 16px);
  box-sizing: border-box;
}

@media (min-width: 720px) {
  .rcs-club-lounge-sticky-bar__inner {
    padding: 10px 24px;
    gap: 8px 16px;
  }
}

.rcs-club-lounge-sticky-bar__club {
  min-width: 0;
  justify-self: start;
}

.rcs-club-lounge-sticky-bar__logo {
  justify-self: center;
  line-height: 0;
}

.rcs-club-lounge-sticky-bar__time {
  justify-self: end;
  min-width: 0;
}

@media (max-width: 519px) {
  .rcs-club-lounge-sticky-bar__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo logo"
      "club time";
    gap: 4px 8px;
    padding: 8px 12px;
  }

  .rcs-club-lounge-sticky-bar__logo {
    grid-area: logo;
    justify-self: center;
  }

  .rcs-club-lounge-sticky-bar__club {
    grid-area: club;
  }

  .rcs-club-lounge-sticky-bar__time {
    grid-area: time;
  }
}

.rcs-club-lounge-weather-card {
  margin: 0 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(10, 7, 6, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

[data-theme="light"] .rcs-club-lounge-weather-card {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 252, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

@media (min-width: 900px) {
  .rcs-club-lounge-weather-card {
    margin-bottom: 16px;
    border-radius: 18px;
  }
}

.rcs-club-lounge-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  padding: 6px 12px 0;
}

@media (min-width: 720px) {
  .rcs-club-lounge-meta-row {
    padding: 8px 16px 0;
  }
}

.rcs-club-lounge-logo-link {
  display: block;
  line-height: 0;
}

.rcs-club-lounge-logo {
  display: block;
  width: clamp(108px, 22vw, 168px);
  height: auto;
}

.rcs-club-lounge-logo--light {
  display: none;
}

html[data-theme="light"] .rcs-club-lounge-logo--dark {
  display: none;
}

html[data-theme="light"] .rcs-club-lounge-logo--light {
  display: block;
}

@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .rcs-club-lounge-logo--dark {
    display: none;
  }

  html:not([data-theme="dark"]) .rcs-club-lounge-logo--light {
    display: block;
  }
}

.rcs-club-lounge-time-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.2;
  text-align: right;
}

[data-theme="light"] .rcs-club-lounge-time-cluster {
  color: var(--rcs-muted);
}

@media (min-width: 520px) {
  .rcs-club-lounge-time-cluster {
    font-size: 11px;
    gap: 2px;
  }
}

@media (max-width: 519px) {
  .rcs-club-lounge-sticky-bar__time .rcs-club-lounge-time-cluster {
    align-items: flex-end;
    text-align: right;
  }
}

.rcs-club-lounge-select--inline {
  min-width: 0;
  max-width: 100%;
  padding: 2px 6px;
  font-size: 11px;
  border-radius: 6px;
  vertical-align: middle;
}

.rcs-club-lounge-nav-ops {
  background: #0a0a0a !important;
  border-color: #facc15 !important;
  color: #facc15 !important;
}

[data-theme="light"] .rcs-club-lounge-nav-ops {
  background: #0a0a0a !important;
  color: #facc15 !important;
}

.cl-weather-panel {
  padding: 8px 12px 12px;
}

@media (min-width: 720px) {
  .cl-weather-panel {
    padding: 8px 16px 14px;
  }
}

.cl-weather-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 12px;
  min-width: 0;
}

.cl-weather-now {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 180px;
}

.cl-weather-toolbar__center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  flex: 1 1 100%;
  padding-top: 2px;
}

@media (min-width: 561px) {
  .cl-weather-toolbar--pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
  }

  .cl-weather-toolbar--pair .cl-weather-now {
    flex: unset;
    justify-self: center;
    justify-content: center;
    max-width: 100%;
  }

  .cl-weather-toolbar--pair .cl-weather-toolbar__center {
    flex: unset;
    width: 100%;
    padding-top: 0;
    justify-self: center;
  }

  .cl-weather-toolbar--single {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  .cl-weather-toolbar--single .cl-weather-now {
    flex: 0 1 auto;
    justify-content: center;
  }

  .cl-weather-toolbar--single .cl-weather-toolbar__center {
    flex: 0 1 auto;
    padding-top: 0;
  }
}

@media (min-width: 720px) {
  .cl-weather-toolbar--pair {
    gap: 12px;
  }
}

.cl-weather-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 10px auto 12px;
  padding: 0 2px;
  box-sizing: border-box;
}

.cl-lounge-action-btn {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  max-width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 8px 12px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(252, 165, 165, 0.45) !important;
  background: rgba(221, 2, 6, 0.92) !important;
  color: #fff !important;
}

[data-theme="light"] .cl-lounge-action-btn {
  background: #dc2626 !important;
  border-color: #b91c1c !important;
  color: #fff !important;
}

@media (min-width: 520px) {
  .cl-lounge-action-btn {
    flex: 0 1 auto;
    font-size: 11px !important;
    padding: 8px 14px !important;
  }
}

@media (min-width: 561px) {
  .cl-lounge-action-btn {
    flex: 0 0 auto;
  }
}

.cl-weather-now__badge {
  margin-top: 6px;
  font-size: 12px;
  padding: 7px 12px;
}

.cl-weather-now__body {
  flex: 1;
  min-width: 0;
}

.cl-weather-now__icon {
  width: 40px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.cl-weather-now__temp {
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.1;
}

.cl-weather-now__label,
.cl-weather-now__wind,
.cl-weather-now__qnh {
  font-size: 12px;
  font-weight: 700;
  color: var(--rcs-muted);
}

.cl-weather-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.cl-weather-blocks--single {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .cl-weather-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cl-weather-blocks--single {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .cl-weather-blocks {
    gap: 12px;
  }

  .cl-weather-blocks--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cl-weather-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--rcs-border);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  min-width: 0;
}

[data-theme="light"] .cl-weather-block {
  background: var(--rcs-panel);
}

.cl-weather-block__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 2px;
}

.cl-weather-block__head-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cl-weather-block__icon {
  flex-shrink: 0;
}

.cl-weather-block__label {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.cl-weather-block__verdict {
  display: block;
  width: 100%;
  margin: 0 0 4px;
  font-size: 12px !important;
  padding: 9px 10px !important;
  border-radius: 8px;
  box-sizing: border-box;
}

@media (min-width: 520px) {
  .cl-weather-block__verdict {
    font-size: 13px !important;
    padding: 9px 12px !important;
  }
}

.cl-weather-block__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  line-height: 1.35;
}

.cl-weather-block__key {
  color: var(--rcs-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.cl-weather-block__val {
  text-align: right;
  font-weight: 700;
  min-width: 0;
}

.cl-weather-block__thermals-label {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--rcs-border);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rcs-text);
}

.cl-weather-block__glider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 10px;
}

.cl-weather-block__glider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cl-weather-block__glider-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cl-weather-block__glider-hint {
  color: var(--rcs-muted);
  font-weight: 600;
  flex: 1 1 100%;
  line-height: 1.3;
}

@media (min-width: 520px) {
  .cl-weather-block__glider-hint {
    flex: 1 1 auto;
  }
}

.cl-top-gun__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cl-top-gun__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--rcs-border);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .cl-top-gun__row {
  background: rgba(15, 23, 42, 0.03);
}

.cl-top-gun__rank {
  font-size: 14px;
  font-weight: 900;
  color: var(--rcs-muted);
  min-width: 1.2em;
}

.cl-top-gun__body {
  flex: 1;
  min-width: 0;
}

.cl-top-gun__name {
  font-weight: 800;
  font-size: 14px;
}

.cl-top-gun__name--anon {
  color: var(--rcs-muted);
  font-style: italic;
}

.cl-top-gun__meta {
  font-size: 12px;
  color: var(--rcs-muted);
  margin-top: 2px;
}

.cl-recent-flights__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.cl-recent-flights__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rcs-border);
}

.cl-recent-flights__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cl-recent-flights__row--active {
  background: rgba(69, 255, 122, 0.06);
  margin: 0 -8px;
  padding: 8px;
  border-bottom-color: rgba(69, 255, 122, 0.18);
  border-radius: 10px;
}

[data-theme="light"] .cl-recent-flights__row--active {
  background: rgba(22, 163, 74, 0.08);
  border-bottom-color: rgba(22, 163, 74, 0.2);
}

.cl-recent-flights__dot-slot {
  flex: 0 0 12px;
  width: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.cl-recent-flights__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #45ff7a;
  box-shadow: 0 0 8px rgba(69, 255, 122, 0.75);
  animation: cl-recent-flight-pulse 2.2s ease-in-out infinite;
}

[data-theme="light"] .cl-recent-flights__dot {
  background: #16a34a;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.45);
}

@keyframes cl-recent-flight-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(0.88);
  }
}

.cl-recent-flights__body {
  flex: 1;
  min-width: 0;
}

.cl-recent-flights__name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.cl-recent-flights__name--anon {
  font-style: italic;
  color: var(--rcs-muted);
}

.cl-recent-flights__meta {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--rcs-muted);
  line-height: 1.35;
}

.cl-top-gun__recent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.cl-top-gun__recent-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rcs-border);
}

.cl-top-gun__recent-row:last-child {
  border-bottom: none;
}

.cl-top-gun__recent-meta {
  color: var(--rcs-muted);
  font-weight: 600;
}

.cl-live-teaser__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 519px) {
  .cl-live-teaser__row {
    flex-direction: column;
    align-items: stretch;
  }

  .cl-live-teaser__row .rcs-field-ops-btn {
    align-self: flex-start;
  }
}

.cl-live-teaser h2 {
  margin: 0 0 6px;
}

.rcs-club-lounge-club-name {
  margin: 0;
  font-size: clamp(1.05rem, 3.2vw, 1.5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  line-height: 1.12;
  min-width: 0;
  letter-spacing: -0.01em;
}

.rcs-club-lounge-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.rcs-club-lounge-meta-sep {
  opacity: 0.85;
}

.rcs-club-lounge-meta-sep::before {
  content: "·";
  margin-right: 8px;
  opacity: 0.6;
}

.rcs-club-lounge-admin-link {
  font-size: 10px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(252, 165, 165, 0.45);
  background: rgba(221, 2, 6, 0.92);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

[data-theme="light"] .rcs-club-lounge-admin-link {
  background: #dc2626;
  border-color: #b91c1c;
}

[data-theme="light"] .rcs-club-lounge-meta {
  color: var(--rcs-muted);
}

.rcs-club-lounge-select {
  min-width: 0;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--rcs-border);
  background: var(--rcs-input-bg, #fff);
  color: var(--rcs-text);
  font: inherit;
}

.rcs-club-lounge-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.rcs-club-lounge-nav a {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  white-space: nowrap;
}

[data-theme="light"] .rcs-club-lounge-nav a {
  border: 1px solid var(--rcs-border);
  background: var(--rcs-panel, #fff);
  color: var(--rcs-text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.rcs-club-lounge-nav a:hover {
  filter: brightness(1.06);
}

.rcs-club-lounge-nav a.admin-link {
  background: rgba(221, 2, 6, 0.92);
  border-color: rgba(252, 165, 165, 0.45);
  color: #fff;
}

[data-theme="light"] .rcs-club-lounge-nav a.admin-link {
  background: #dc2626;
  border-color: #b91c1c;
  color: #fff;
}

.cl-fly-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  text-align: center;
}

/* Solid fills — readable on dark lounge panels (matches VOLMET fly-window accents) */
.cl-fly-badge--lvl0 {
  background: #15803d;
  color: #ecfdf5;
}

.cl-fly-badge--lvl1 {
  background: #16a34a;
  color: #f0fdf4;
}

.cl-fly-badge--lvl2 {
  background: #ca8a04;
  color: #fffbeb;
}

.cl-fly-badge--lvl3 {
  background: #ea580c;
  color: #fff7ed;
}

.cl-fly-badge--lvl4 {
  background: #dc2626;
  color: #fef2f2;
}

.cl-fly-badge--lvl5 {
  background: #991b1b;
  color: #fef2f2;
}

[data-theme="light"] .cl-fly-badge {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .cl-fly-badge--lvl2 {
  background: #eab308;
  color: #422006;
}

.cl-main-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.cl-main-grid > * {
  min-width: 0;
  max-width: 100%;
}

.cl-main-grid--duo {
  grid-template-columns: 1fr;
}

.cl-main-grid__primary,
.cl-main-grid__sidebar {
  display: grid;
  gap: 14px;
  min-width: 0;
  align-content: start;
}

@media (min-width: 960px) {
  .cl-main-grid--duo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.cl-main-grid--below {
  margin-top: 14px;
}

.cl-plans-flights-duo {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  min-width: 0;
}

.cl-plans-flights-duo > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .cl-plans-flights-duo:not(.cl-plans-flights-duo--solo) {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }
}

.cl-plans-flights-duo__plans .cl-expected-plans {
  font-size: 13px;
}

.cl-plans-flights-duo__plans .cl-expected-plans .rcs-hint {
  font-size: 11px;
  line-height: 1.35;
}

.cl-plans-flights-duo__plans .cl-expected-plans__day-head {
  font-size: 11px;
}

.cl-plans-flights-duo__plans .cl-expected-plans__row {
  font-size: 12px;
}

.cl-main-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.cl-main-grid--lower {
  margin-top: 14px;
}

@media (min-width: 960px) {
  .cl-main-grid--lower .cl-main-stack {
    grid-template-columns: 1fr 1fr;
  }
}

.cl-preflight-teaser .rcs-field-ops-btn {
  margin-top: 10px;
  text-decoration: none;
}

.rcs-club-lounge-page a.rcs-field-ops-btn {
  text-decoration: none;
}

.cl-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--rcs-border);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

[data-theme="dark"] .rcs-club-lounge-page .cl-card,
[data-theme="dark"] .rcs-club-planner-page .cl-card {
  background: rgba(17, 24, 39, 0.9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.cl-card h2 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rcs-muted);
}

.cl-title-link {
  color: inherit;
  text-decoration: none;
}

.cl-title-link:hover,
.cl-title-link:focus-visible {
  text-decoration: underline;
}

.cl-card-subhead {
  margin: 14px 0 8px !important;
}

.cl-live-count {
  font-size: clamp(2.25rem, 10vw, 3.25rem);
  font-weight: 900;
  line-height: 1;
  color: var(--rcs-text);
  font-variant-numeric: tabular-nums;
}

.cl-live-count--active {
  color: #45ff7a;
  text-shadow:
    0 0 14px rgba(69, 255, 122, 0.55),
    0 0 32px rgba(69, 255, 122, 0.22);
  animation: cl-live-pulse 2.4s ease-in-out infinite;
}

.cl-live-count--today {
  color: #7dd3fc;
  text-shadow: 0 0 12px rgba(125, 211, 252, 0.35);
}

[data-theme="light"] .cl-live-count--active {
  color: var(--rcs-status-text, #15803d);
  text-shadow: none;
  animation: none;
}

[data-theme="light"] .cl-live-count--today {
  color: #0369a1;
  text-shadow: none;
}

@keyframes cl-live-pulse {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.92; filter: brightness(1.08); }
}

.cl-live-card {
  border-color: rgba(69, 255, 122, 0.18);
  background:
    linear-gradient(145deg, rgba(69, 255, 122, 0.06) 0%, transparent 42%),
    rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .cl-live-card {
  background:
    linear-gradient(145deg, rgba(22, 163, 74, 0.07) 0%, transparent 42%),
    rgba(248, 250, 252, 0.92);
  border-color: rgba(22, 163, 74, 0.18);
}

.cl-live-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.cl-live-metric {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--rcs-border);
  background: rgba(0, 0, 0, 0.18);
  min-width: 0;
}

[data-theme="light"] .cl-live-metric {
  background: rgba(15, 23, 42, 0.04);
}

.cl-live-metric__lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rcs-muted);
  margin-bottom: 6px;
}

.cl-live-metric__hint {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rcs-muted);
}

.cl-live-roster {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rcs-border);
}

.cl-live-roster--today {
  margin-top: 10px;
  padding-top: 10px;
}

.cl-live-roster__title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rcs-muted);
  margin-bottom: 8px;
}

.cl-live-roster__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.cl-live-roster__row {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--rcs-text);
}

.cl-live-roster__plane {
  font-weight: 600;
  color: var(--rcs-muted);
}

.cl-live-roster__anon {
  font-size: 13px;
  color: var(--rcs-muted);
  font-style: italic;
}

.cl-live-roster__live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: #45ff7a;
  box-shadow: 0 0 8px rgba(69, 255, 122, 0.8);
  vertical-align: middle;
}

.cl-live-names--today {
  margin-top: 8px;
}

.cl-runway-chip-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.cl-runway-chip {
  flex: 0 1 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(250, 204, 21, 0.32);
  background: rgba(10, 10, 10, 0.42);
  box-sizing: border-box;
}

[data-theme="light"] .cl-runway-chip {
  background: rgba(254, 252, 232, 0.95);
  border-color: rgba(202, 138, 4, 0.45);
}

.cl-runway-chip__lbl {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 204, 21, 0.92);
  white-space: nowrap;
}

[data-theme="light"] .cl-runway-chip__lbl {
  color: #92400e;
}

.cl-runway-chip__rwy {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: #fef08a;
  white-space: nowrap;
}

[data-theme="light"] .cl-runway-chip__rwy {
  color: #854d0e;
}

.cl-runway-chip__meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--rcs-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cl-live-names {
  margin-top: 6px;
  font-size: 14px;
  color: var(--rcs-muted);
  line-height: 1.45;
}

.cl-live-updated {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rcs-muted);
  opacity: 0.85;
}

.cl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.cl-actions select {
  min-width: 0;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--rcs-border);
  background: var(--rcs-input-bg);
  color: var(--rcs-text);
  font: inherit;
}

.cl-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 520px) {
  .cl-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cl-stat {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--rcs-input-bg);
  border: 1px solid var(--rcs-border);
  min-width: 0;
}

.cl-stat-val {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 800;
  line-height: 1.1;
}

.cl-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rcs-muted);
  margin-top: 4px;
}

.cl-profile-dl {
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.cl-profile-dl dt {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rcs-muted);
}

.cl-profile-dl dd {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.cl-profile-dl dd a {
  overflow-wrap: anywhere;
}

.cl-chat-soon {
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed var(--rcs-border);
  background: var(--rcs-pill-bg, rgba(255, 255, 255, 0.04));
  font-size: 13px;
  color: var(--rcs-muted);
  line-height: 1.5;
}

.cl-role-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--rcs-accent-dim);
  color: var(--rcs-accent-text);
}

.cl-role-pill--guest {
  background: rgba(234, 179, 8, 0.22);
  color: #ca8a04;
}

.cl-manual-hint {
  font-size: 11px;
  color: var(--rcs-muted);
  margin: 6px 0 0;
  line-height: 1.4;
}

.cl-empty {
  margin: 8px 0 0;
  padding: 20px 12px;
  text-align: center;
  color: var(--rcs-muted);
  font-size: 13px;
}

.cl-chart-summary {
  margin: 8px 0 12px;
  font-size: 13px;
  color: var(--rcs-muted);
}

.cl-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 132px;
  padding-top: 4px;
  min-width: 0;
  overflow: hidden;
}

.cl-bar-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.cl-bar-val {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--rcs-text);
  margin-bottom: 4px;
  min-height: 12px;
}

.cl-bar-val.muted {
  color: var(--rcs-muted);
  font-weight: 500;
}

.cl-bar-track {
  flex: 1 1 auto;
  width: 100%;
  max-width: 28px;
  display: flex;
  align-items: flex-end;
  min-height: 72px;
}

.cl-bar-fill {
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  background: #22c55e;
  opacity: 0.88;
  min-height: 0;
}

.cl-bar-fill.zero {
  opacity: 0.15;
  min-height: 2px;
}

.cl-bar-label {
  margin-top: 6px;
  font-size: 10px;
  color: var(--rcs-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Compact Field Ops CTA in live teaser */
.rcs-field-ops-btn--compact {
  min-height: 42px;
  min-width: 80px;
}

.rcs-field-ops-btn--compact .rcs-field-ops-btn__stripe {
  width: 12px;
}

.rcs-field-ops-btn--compact .rcs-field-ops-btn__label {
  padding: 6px 10px;
  font-size: 9px;
}

/* Tier gate — show lounge preview behind paywall */
#lounge-main.rcs-tier-gated {
  min-height: min(78vh, 820px);
  border-radius: 16px;
  overflow: hidden;
}

.rcs-club-lounge-page #lounge-main.rcs-tier-gated .rcs-tier-gate-overlay {
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 8vh, 96px) 16px 24px;
  background: rgba(6, 8, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rcs-club-lounge-page #lounge-main.rcs-tier-gated > *:not(.rcs-tier-gate-overlay) {
  filter: blur(2px) saturate(0.92);
  opacity: 0.88;
}

@media (min-width: 720px) {
  .rcs-club-lounge-page #lounge-main.rcs-tier-gated .rcs-tier-gate-overlay {
    padding-top: clamp(32px, 10vh, 120px);
  }
}

.cl-media-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .cl-media-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.cl-content-badge {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
}

[data-theme="light"] .cl-content-badge {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.cl-news-post + .cl-news-post {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rcs-border);
}

.cl-news-hero {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.cl-news-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--rcs-text);
  letter-spacing: normal;
  text-transform: none;
}

.cl-news-date {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--rcs-muted);
  margin-bottom: 8px;
}

.cl-news-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--rcs-muted);
}

.cl-news-video {
  position: relative;
  margin-top: 10px;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.cl-news-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cl-safety-badge,
.cl-content-badge--new {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.cl-safety-badge {
  background: #111;
  color: #facc15;
  border: 1px solid #facc15;
}

.cl-content-badge--new {
  background: rgba(221, 2, 6, 0.15);
  color: var(--rcs-accent);
}

.cl-news-post--unread .cl-news-title {
  color: var(--rcs-text);
}

body.cl-news-modal-open {
  overflow-y: scroll;
}

.cl-news-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
}

.cl-news-modal[hidden] {
  display: none !important;
}

.cl-news-modal__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  max-height: 100vh;
  margin: 0 auto;
  background: var(--rcs-panel);
  border: 1px solid var(--rcs-border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.cl-news-modal__panel--safety {
  border-color: #facc15;
}

.cl-news-modal__header {
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--rcs-border);
}

.cl-news-modal__header--safety {
  background: #0a0a0a;
  color: #f9fafb;
  border-bottom: none;
  padding-top: 0;
}

.cl-news-hazard,
.cl-news-modal__hazard {
  height: 10px;
  margin: 0 0 10px;
  background: repeating-linear-gradient(
    -45deg,
    #111 0,
    #111 10px,
    #facc15 10px,
    #facc15 20px
  );
}

.cl-news-post--safety,
.cl-news-post--notam {
  border: 1px solid #facc15;
  padding: 10px 10px 4px;
  border-radius: 10px;
}

.cl-news-modal__kind {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rcs-muted);
}

.cl-news-modal__header--safety .cl-news-modal__kind {
  color: #facc15;
}

.cl-news-modal__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--rcs-text);
}

.cl-news-modal__header--safety .cl-news-modal__title {
  color: #fff;
}

.cl-news-modal__date {
  display: block;
  font-size: 12px;
  color: var(--rcs-muted);
}

.cl-news-modal__header--safety .cl-news-modal__date {
  color: #cbd5e1;
}

.cl-news-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  -webkit-overflow-scrolling: touch;
}

.cl-news-modal__hero {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.cl-news-modal__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--rcs-text);
}

.cl-news-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rcs-border);
  background: var(--rcs-panel);
}

.cl-news-modal__panel--safety .cl-news-modal__actions {
  background: #0f172a;
  border-top-color: rgba(250, 204, 21, 0.35);
}

.cl-news-modal__ack {
  flex: 1;
  min-width: 200px;
}

@media (min-width: 640px) {
  .cl-news-modal {
    padding: 24px 16px;
    align-items: center;
  }
  .cl-news-modal__panel {
    max-height: calc(100vh - 48px);
    border-radius: 16px;
    overflow: hidden;
  }
  .cl-news-modal__header--safety .cl-news-modal__hazard {
    margin: 0 0 14px;
    border-radius: 16px 16px 0 0;
  }
}

.cl-pic-week-meta {
  margin: -4px 0 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--rcs-muted);
}

.cl-pic-spotlight {
  margin: 0;
  position: relative;
}

.cl-pic-spotlight__open {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
}

.cl-pic-spotlight__open:focus-visible {
  outline: 2px solid var(--rcs-accent, #22c55e);
  outline-offset: 2px;
}

.cl-pic-spotlight__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.72);
  pointer-events: none;
}

.cl-pic-spotlight__img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--rcs-input-bg);
  transition: transform 0.18s ease;
}

.cl-pic-spotlight__open:hover .cl-pic-spotlight__img,
.cl-pic-spotlight__open:focus-visible .cl-pic-spotlight__img {
  transform: scale(1.02);
}

body.cl-pic-viewer-open {
  overflow-y: scroll;
}

.cl-pic-viewer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.cl-pic-viewer[hidden] {
  display: none !important;
}

.cl-pic-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 10, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cl-pic-viewer__frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(920px, 92vw);
  max-height: min(78vh, 820px);
  border-radius: 16px;
  border: 1px solid var(--rcs-border);
  background: rgba(17, 24, 39, 0.96);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

[data-theme="light"] .cl-pic-viewer__frame {
  background: rgba(248, 250, 252, 0.98);
}

.cl-pic-viewer--max .cl-pic-viewer__frame {
  width: min(1200px, 98vw);
  max-height: min(92vh, 980px);
}

.cl-pic-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rcs-border);
}

.cl-pic-viewer__title {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rcs-muted);
}

.cl-pic-viewer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.cl-pic-viewer__btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--rcs-border);
  background: var(--rcs-input-bg);
  color: var(--rcs-text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cl-pic-viewer__btn--close {
  background: var(--rcs-accent-dim, rgba(34, 197, 94, 0.16));
  color: var(--rcs-accent-text, #22c55e);
}

.cl-pic-viewer__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.cl-pic-viewer__img {
  display: block;
  width: 100%;
  max-height: min(62vh, 680px);
  object-fit: contain;
  background: #020617;
}

.cl-pic-viewer--max .cl-pic-viewer__img {
  max-height: min(78vh, 860px);
}

.cl-pic-viewer__meta {
  padding: 10px 14px 14px;
}

.cl-pic-viewer__cap {
  font-size: 14px;
  line-height: 1.45;
  color: var(--rcs-text);
}

.cl-pic-viewer__pilot {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rcs-muted);
}

.cl-pic-viewer__cap[hidden],
.cl-pic-viewer__pilot[hidden],
.cl-pic-viewer__btn[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .cl-pic-viewer {
    padding: 8px;
  }

  .cl-pic-viewer__frame {
    width: 100%;
    max-height: 88vh;
  }

  .cl-pic-viewer__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .cl-pic-viewer__actions {
    justify-content: stretch;
  }

  .cl-pic-viewer__btn {
    flex: 1 1 auto;
  }
}

.cl-pic-spotlight__cap {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--rcs-text);
}

.cl-pic-spotlight__pilot {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--rcs-muted);
}

.cl-pic-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.cl-pic-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--rcs-border);
  cursor: pointer;
}

.cl-pic-dot.is-active {
  background: var(--rcs-accent, #22c55e);
  transform: scale(1.15);
}

.cl-pic-submit {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rcs-border);
}

.cl-pic-submit__lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--rcs-text);
}

.cl-pic-submit__hint {
  font-weight: 800;
  color: var(--rcs-text);
}

.cl-pic-submit-flash {
  margin: 0 0 2px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.25;
  color: #14532d;
  background: #bbf7d0;
  border: 2px solid #22c55e;
}

[data-theme="dark"] .cl-pic-submit-flash {
  color: #bbf7d0;
  background: color-mix(in srgb, #22c55e 24%, var(--rcs-panel, #0f172a));
  border-color: #22c55e;
}

.cl-pic-submit__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cl-pic-submit__file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cl-pic-submit__pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--rcs-border);
  background: var(--rcs-panel, var(--rcs-card, transparent));
  color: var(--rcs-text);
  cursor: pointer;
}

.cl-pic-submit__pick:not(:disabled):hover {
  border-color: var(--rcs-accent, #22c55e);
  color: var(--rcs-text);
}

.cl-pic-submit__pick.is-chosen {
  border-color: var(--rcs-accent, #22c55e);
}

.cl-pic-submit__pick-ico {
  flex-shrink: 0;
  opacity: 0.9;
}

.cl-pic-submit__file-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--rcs-muted);
  min-width: 0;
  word-break: break-all;
}

.cl-pic-submit__file-name.is-chosen {
  color: var(--rcs-text);
}

.cl-pic-submit input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--rcs-border);
  background: var(--rcs-input-bg);
  color: var(--rcs-text);
  font: inherit;
}

.cl-pic-submit-status {
  margin: 0;
  font-size: 12px;
  color: var(--rcs-muted);
}

.cl-briefing {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  scroll-margin-top: 88px;
}

.cl-briefing-block {
  margin: 0 0 14px;
}

.cl-briefing-block:last-child {
  margin-bottom: 0;
}

.cl-briefing-block h3 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rcs-muted);
}

.cl-briefing-block p {
  margin: 0;
  line-height: 1.45;
}

.cl-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--rcs-border);
  background: color-mix(in srgb, var(--rcs-panel) 70%, var(--rcs-bg));
  font-size: 12px;
  font-weight: 600;
}

.cl-chip--yes {
  border-color: color-mix(in srgb, #16a34a 45%, var(--rcs-border));
  background: color-mix(in srgb, #16a34a 14%, var(--rcs-panel));
}

.cl-chip--no {
  border-color: color-mix(in srgb, #dc2626 40%, var(--rcs-border));
  background: color-mix(in srgb, #dc2626 10%, var(--rcs-panel));
}

.cl-rules-lead {
  margin: 10px 0 12px;
  line-height: 1.45;
}

.cl-notice-banner {
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid #ca8a04;
  background: color-mix(in srgb, #f5c400 18%, var(--rcs-panel));
}

[data-theme="dark"] .cl-notice-banner {
  background: color-mix(in srgb, #f5c400 12%, var(--rcs-panel));
}

.cl-notice-banner__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cl-notice-banner__text {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.cl-notice-banner__until {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rcs-muted);
}
