/* Star Citizen Universe is a preserved interface archive: the case borrows its depth from the original 2013 flight-computer UI. */
.case-star-citizen {
  --case-primary: #43d5ff;
  --case-primary-rgb: 67, 213, 255;
  --case-primary-core: #e5faff;
  --case-primary-glow: #0b83bd;
  --case-secondary: #67e6c4;
  --case-secondary-rgb: 103, 230, 196;
  --star-panel: rgba(2, 14, 24, 0.92);
  --star-panel-soft: rgba(5, 25, 39, 0.78);
  --star-line: rgba(67, 213, 255, 0.32);
  --star-line-strong: rgba(67, 213, 255, 0.76);
}

.case-page.case-star-citizen {
  background:
    linear-gradient(90deg, rgba(67, 213, 255, 0.048) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(67, 213, 255, 0.036) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 12% 15%, rgba(35, 168, 220, 0.19), transparent 25%),
    radial-gradient(circle at 88% 20%, rgba(36, 124, 160, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(3, 13, 23, 0.74), rgba(2, 7, 12, 0.975)),
    url("star-citizen-universe/scu-original-background.png") center top / cover fixed;
  isolation: isolate;
}

.case-page.case-star-citizen::before {
  background:
    repeating-linear-gradient(180deg, rgba(129, 223, 255, 0.026) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.36));
  content: "";
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.case-star-citizen .site-header {
  background: rgba(1, 8, 14, 0.9);
  border-bottom-color: rgba(67, 213, 255, 0.2);
  box-shadow: 0 12px 46px rgba(0, 0, 0, 0.32), 0 1px 0 rgba(67, 213, 255, 0.08);
}

.case-star-citizen .site-header::after {
  background: linear-gradient(90deg, transparent 7%, rgba(67, 213, 255, 0.82) 20%, transparent 44%);
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0.8;
  position: absolute;
  width: 100%;
}

.case-star-citizen .brand-mark {
  background: linear-gradient(145deg, #97efff, #39c9ed);
  box-shadow: 0 0 24px rgba(67, 213, 255, 0.28);
}

.case-star-citizen .case-hero {
  background:
    linear-gradient(90deg, rgba(2, 14, 24, 0.12), rgba(2, 14, 24, 0.86) 72%),
    radial-gradient(circle at 25% 46%, rgba(67, 213, 255, 0.12), transparent 34%);
}

.case-star-citizen .case-hero::before {
  content: none;
  display: none;
}

.case-star-citizen .case-hero-image {
  border-color: rgba(67, 213, 255, 0.48);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(67, 213, 255, 0.05),
    inset 0 0 48px rgba(67, 213, 255, 0.06);
}

.case-star-citizen .case-hero-image::after {
  background:
    repeating-linear-gradient(180deg, rgba(116, 222, 255, 0.04) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(2, 10, 17, 0.22), transparent 22%, transparent 74%, rgba(2, 10, 17, 0.42));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.case-star-citizen .case-hero-image img {
  filter: saturate(1.08) contrast(1.1) brightness(0.88);
}

.case-star-citizen .case-hero-content {
  background:
    linear-gradient(90deg, rgba(67, 213, 255, 0.035) 1px, transparent 1px) 0 0 / 18px 100%,
    linear-gradient(rgba(67, 213, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 18px,
    linear-gradient(145deg, rgba(3, 25, 40, 0.97), rgba(2, 10, 18, 0.97));
  border-color: rgba(67, 213, 255, 0.5);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.52),
    0 0 36px rgba(67, 213, 255, 0.1),
    inset 0 0 42px rgba(67, 213, 255, 0.035);
}

.case-star-citizen .case-hero-content::before {
  background: linear-gradient(180deg, #dff9ff, #43d5ff 44%, rgba(67, 213, 255, 0));
  box-shadow: 0 0 28px rgba(67, 213, 255, 0.42);
}

.case-star-citizen .case-hero-content h1 {
  color: #f1fbff;
  text-shadow: 0 0 28px rgba(67, 213, 255, 0.22);
}

.case-star-citizen .case-breadcrumb a {
  background: rgba(3, 23, 37, 0.62);
}

.star-hero-telemetry {
  border-top: 1px solid rgba(67, 213, 255, 0.22);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  padding-top: 18px;
}

.star-hero-telemetry span {
  color: rgba(204, 231, 241, 0.72);
  font: 700 0.66rem/1.35 var(--font-mono);
  letter-spacing: 0.04em;
  min-width: 0;
  text-transform: uppercase;
}

.star-hero-telemetry b {
  color: #67e6c4;
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.case-star-citizen .case-summary {
  background:
    linear-gradient(90deg, transparent, rgba(67, 213, 255, 0.05), transparent),
    rgba(1, 10, 17, 0.74);
  border-bottom: 1px solid rgba(67, 213, 255, 0.11);
}

.case-star-citizen .case-interface-map > article,
.case-star-citizen .case-role-grid > article {
  background:
    linear-gradient(145deg, rgba(5, 30, 46, 0.96), rgba(2, 13, 23, 0.98)),
    linear-gradient(90deg, rgba(67, 213, 255, 0.035) 1px, transparent 1px) 0 0 / 8px 100%;
}

.case-star-citizen .case-hero-image,
.case-star-citizen .before-after-card {
  border-color: rgba(67, 213, 255, 0.4);
}

.case-star-citizen .before-after-card.archive-evidence::before,
.case-star-citizen .before-after-card.reference-evidence::before {
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #d9efff;
  content: "Eigen interfacearchief";
  font-size: 0.62rem;
  font-weight: 900;
  left: 14px;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  position: absolute;
  text-transform: uppercase;
  top: 14px;
  z-index: 2;
}

.case-star-citizen .before-after-card.reference-evidence::before {
  border-color: rgba(103, 230, 196, 0.7);
  color: #cffff2;
  content: "Persoonlijke referentie";
}

.case-star-citizen .case-proof-card {
  background: linear-gradient(145deg, rgba(5, 30, 46, 0.9), rgba(2, 13, 23, 0.96));
  border-color: rgba(67, 213, 255, 0.26);
}

.case-star-citizen .case-skill-list span {
  background: rgba(4, 28, 43, 0.78);
  border-color: rgba(67, 213, 255, 0.32);
}

.case-star-citizen .case-section:not(.band) {
  background-image:
    linear-gradient(90deg, rgba(67, 213, 255, 0.042) 1px, transparent 1px),
    linear-gradient(rgba(67, 213, 255, 0.024) 1px, transparent 1px);
  background-size: 64px 100%;
}

.case-star-citizen .star-archive-route {
  background:
    radial-gradient(circle at 12% 20%, rgba(67, 213, 255, 0.13), transparent 24%),
    radial-gradient(circle at 88% 75%, rgba(103, 230, 196, 0.08), transparent 28%),
    repeating-linear-gradient(180deg, rgba(67, 213, 255, 0.025) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, rgba(3, 25, 40, 0.94), rgba(2, 9, 16, 0.985));
}

.star-archive-grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 56px auto 0;
  max-width: 1220px;
}

.star-archive-card {
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  position: relative;
  text-decoration: none;
}

.star-archive-card::before {
  border: 1px solid rgba(90, 202, 255, 0.5);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.star-archive-card::after {
  background: linear-gradient(90deg, rgba(91, 210, 255, 0.82), transparent);
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: 0;
  width: 42%;
}

.star-archive-snapshot {
  background:
    linear-gradient(145deg, rgba(9, 35, 61, 0.92), rgba(8, 14, 29, 0.97)),
    repeating-linear-gradient(90deg, rgba(103, 219, 255, 0.045) 0 1px, transparent 1px 38px);
}

.star-archive-announcement {
  background:
    linear-gradient(145deg, rgba(5, 38, 46, 0.92), rgba(3, 15, 24, 0.98)),
    repeating-linear-gradient(90deg, rgba(103, 230, 196, 0.04) 0 1px, transparent 1px 38px);
}

.star-archive-announcement::before { border-color: rgba(103, 230, 196, 0.4); }
.star-archive-announcement::after { background: linear-gradient(90deg, rgba(103, 230, 196, 0.82), transparent); }

.star-archive-card h3 {
  font-size: clamp(1.5rem, 2vw, 2.05rem);
  line-height: 1.08;
  margin: 20px 0 12px;
  max-width: 17ch;
}

.star-archive-card p {
  color: var(--muted);
  margin: 0;
  max-width: 47ch;
}

.star-archive-action {
  color: var(--case-primary-core);
  font: 800 0.74rem/1.2 var(--font-mono);
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: 28px;
  text-transform: uppercase;
}

.star-archive-action b {
  color: var(--case-primary);
  font-size: 1rem;
  margin-left: 8px;
}

.star-archive-card:focus-visible {
  outline: 3px solid var(--case-primary-core);
  outline-offset: 4px;
}

.case-star-citizen .case-section {
  overflow: hidden;
}

.case-star-citizen .case-section > .section-heading,
.case-star-citizen .case-two-column,
.case-star-citizen .case-role-grid,
.case-star-citizen .case-facts {
  position: relative;
  z-index: 1;
}

.case-star-citizen .case-section > .section-heading::before {
  background: linear-gradient(90deg, #43d5ff, rgba(67, 213, 255, 0.12), transparent);
  box-shadow: 0 0 18px rgba(67, 213, 255, 0.18);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: -22px;
  width: min(280px, 42vw);
}

.case-star-citizen .case-section > .section-heading::after {
  border-left: 1px solid rgba(67, 213, 255, 0.5);
  border-top: 1px solid rgba(67, 213, 255, 0.5);
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  top: -22px;
  width: 10px;
}

.case-star-citizen .eyebrow {
  color: #67e6c4;
  letter-spacing: 0.13em;
  text-shadow: 0 0 14px rgba(103, 230, 196, 0.13);
}

.case-star-citizen .case-two-column h2,
.case-star-citizen .section-heading h2 {
  color: #eafaff;
  text-wrap: balance;
}

.case-star-citizen .case-facts article,
.case-star-citizen .case-role-grid article,
.case-star-citizen .case-proof-card,
.case-star-citizen .case-interface-map > article {
  border-color: rgba(67, 213, 255, 0.25);
  box-shadow:
    inset 0 0 28px rgba(67, 213, 255, 0.026),
    0 14px 34px rgba(0, 0, 0, 0.18);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.case-star-citizen .case-facts article::before,
.case-star-citizen .case-role-grid article::before {
  background: linear-gradient(90deg, rgba(67, 213, 255, 0.9), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 0;
  width: 44%;
}

.case-star-citizen .fact-label {
  color: #67e6c4;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.case-star-citizen .star-source-material {
  background:
    linear-gradient(90deg, rgba(67, 213, 255, 0.035) 1px, transparent 1px) 0 0 / 42px 100%,
    linear-gradient(180deg, rgba(1, 11, 19, 0.74), rgba(2, 17, 28, 0.9));
  border-bottom: 1px solid rgba(67, 213, 255, 0.1);
  border-top: 1px solid rgba(67, 213, 255, 0.1);
}

.case-star-citizen .star-source-material .before-after-grid {
  margin-top: 52px;
}

.case-star-citizen .before-after-card {
  background: #020b12;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(67, 213, 255, 0.045),
    inset 0 0 30px rgba(67, 213, 255, 0.025);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.case-star-citizen .before-after-card::after {
  background:
    repeating-linear-gradient(180deg, rgba(123, 221, 255, 0.025) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, transparent 45%, rgba(0, 7, 12, 0.44));
  mix-blend-mode: normal;
}

.case-star-citizen .before-after-card figcaption {
  background:
    linear-gradient(90deg, rgba(5, 32, 48, 0.96), rgba(2, 13, 22, 0.97)),
    rgba(2, 13, 22, 0.96);
  border-top-color: rgba(67, 213, 255, 0.32);
}

.star-reconstruction-lab {
  background:
    radial-gradient(circle at 50% 12%, rgba(67, 213, 255, 0.12), transparent 30%),
    repeating-linear-gradient(180deg, rgba(123, 221, 255, 0.024) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(2, 16, 27, 0.98), rgba(1, 8, 14, 0.99)) !important;
}

.star-reconstruction-lab::before,
.star-reconstruction-lab::after {
  content: "";
  pointer-events: none;
  position: absolute;
}

.star-reconstruction-lab::before {
  background:
    linear-gradient(90deg, rgba(67, 213, 255, 0.85), transparent) left top / 180px 1px no-repeat,
    linear-gradient(180deg, rgba(67, 213, 255, 0.7), transparent) left top / 1px 180px no-repeat,
    linear-gradient(270deg, rgba(67, 213, 255, 0.55), transparent) right bottom / 180px 1px no-repeat,
    linear-gradient(0deg, rgba(67, 213, 255, 0.45), transparent) right bottom / 1px 180px no-repeat;
  inset: 20px;
  opacity: 0.56;
}

.star-reconstruction-lab::after {
  background: radial-gradient(circle, rgba(67, 213, 255, 0.72) 0 1px, transparent 1.5px) 0 0 / 22px 22px;
  height: 150px;
  opacity: 0.11;
  right: 4vw;
  top: 6vw;
  width: 240px;
}

.star-reconstruction-grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  margin: 58px auto 0;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.star-reconstruction-card {
  background:
    linear-gradient(90deg, rgba(67, 213, 255, 0.028) 1px, transparent 1px) 0 0 / 18px 100%,
    linear-gradient(145deg, rgba(4, 28, 43, 0.98), rgba(1, 9, 16, 0.99));
  border: 1px solid rgba(67, 213, 255, 0.32);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.46), 0 0 42px rgba(67, 213, 255, 0.06);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  margin: 0;
  overflow: hidden;
  padding: clamp(10px, 1.2vw, 16px);
  position: relative;
}

.star-reconstruction-card::before {
  background:
    linear-gradient(90deg, #43d5ff, transparent) left top / 170px 2px no-repeat,
    linear-gradient(180deg, #43d5ff, transparent) left top / 2px 120px no-repeat,
    linear-gradient(270deg, rgba(103, 230, 196, 0.8), transparent) right bottom / 170px 2px no-repeat,
    linear-gradient(0deg, rgba(103, 230, 196, 0.7), transparent) right bottom / 2px 120px no-repeat;
  content: "";
  inset: 5px;
  pointer-events: none;
  z-index: 3;
}

.star-reconstruction-visual {
  aspect-ratio: 1672 / 941;
  background: #01070c;
  border: 1px solid rgba(67, 213, 255, 0.3);
  display: block;
  overflow: hidden;
  position: relative;
}

.star-reconstruction-visual::after {
  background:
    repeating-linear-gradient(180deg, rgba(168, 231, 255, 0.035) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, transparent 74%, rgba(1, 8, 14, 0.38));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.star-reconstruction-visual img {
  display: block;
  filter: saturate(1.03) contrast(1.025) brightness(0.98);
  height: 100%;
  object-fit: cover;
  transition: filter 220ms ease, transform 400ms ease;
  width: 100%;
}

.star-reconstruction-action {
  background: rgba(1, 12, 20, 0.9);
  border: 1px solid rgba(67, 213, 255, 0.42);
  bottom: 14px;
  color: #dff9ff;
  font: 800 0.67rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  padding: 10px 12px;
  position: absolute;
  right: 14px;
  text-transform: uppercase;
  z-index: 2;
}

.star-reconstruction-action b {
  color: #67e6c4;
  margin-left: 6px;
}

.star-reconstruction-card figcaption {
  align-items: start;
  display: grid;
  gap: clamp(14px, 2vw, 28px);
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr) minmax(170px, 0.32fr);
  padding: clamp(22px, 3vw, 34px) clamp(12px, 1.5vw, 20px) clamp(12px, 1.5vw, 20px);
}

.star-reconstruction-index {
  color: #67e6c4;
  font: 800 0.68rem/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.star-reconstruction-card h3 {
  color: #eafaff;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

.star-reconstruction-card p,
.star-reconstruction-card small {
  color: var(--muted);
  margin: 0;
}

.star-reconstruction-card small {
  border-left: 1px solid rgba(67, 213, 255, 0.24);
  font: 700 0.67rem/1.5 var(--font-mono);
  padding-left: 14px;
  text-transform: uppercase;
}

.star-reconstruction-subheading {
  align-items: end;
  border-bottom: 1px solid rgba(67, 213, 255, 0.2);
  display: grid;
  gap: clamp(24px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  margin: clamp(58px, 8vw, 104px) auto 0;
  max-width: 1320px;
  padding-bottom: 22px;
  position: relative;
  z-index: 1;
}

.star-reconstruction-subheading::after {
  background: linear-gradient(90deg, #43d5ff, transparent);
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 36%;
}

.star-reconstruction-subheading span {
  color: #67e6c4;
  display: block;
  font: 800 0.67rem/1.4 var(--font-mono);
  letter-spacing: 0.11em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.star-reconstruction-subheading h3 {
  color: #eafaff;
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: 1.04;
  margin: 0;
}

.star-reconstruction-subheading p {
  color: var(--muted);
  margin: 0;
  max-width: 58ch;
}

.star-reconstruction-grid-expanded {
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.star-reconstruction-card-compact {
  padding: 8px;
}

.star-reconstruction-card-compact::before {
  background:
    linear-gradient(90deg, #43d5ff, transparent) left top / 90px 2px no-repeat,
    linear-gradient(180deg, #43d5ff, transparent) left top / 2px 70px no-repeat,
    linear-gradient(270deg, rgba(103, 230, 196, 0.8), transparent) right bottom / 90px 2px no-repeat,
    linear-gradient(0deg, rgba(103, 230, 196, 0.7), transparent) right bottom / 2px 70px no-repeat;
}

.star-reconstruction-card-compact figcaption {
  display: block;
  padding: 20px 10px 12px;
}

.star-reconstruction-card-compact .star-reconstruction-index {
  display: block;
  margin-bottom: 14px;
}

.star-reconstruction-card-compact h3 {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
}

.star-reconstruction-card-compact p {
  font-size: 0.9rem;
}

.star-reconstruction-card-compact small {
  border-left: 0;
  border-top: 1px solid rgba(67, 213, 255, 0.18);
  display: block;
  margin-top: 18px;
  padding-left: 0;
  padding-top: 10px;
}

.star-reconstruction-card-compact .star-reconstruction-action {
  bottom: 8px;
  font-size: 0.58rem;
  padding: 8px 9px;
  right: 8px;
}

.star-reconstruction-method {
  border: 1px solid rgba(67, 213, 255, 0.2);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px auto 0;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.star-reconstruction-method span {
  background: rgba(3, 23, 36, 0.7);
  color: rgba(206, 232, 241, 0.78);
  font: 700 0.67rem/1.4 var(--font-mono);
  min-height: 64px;
  padding: 17px 18px;
  text-transform: uppercase;
}

.star-reconstruction-method span + span {
  border-left: 1px solid rgba(67, 213, 255, 0.16);
}

.star-reconstruction-method b {
  color: #43d5ff;
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
}

.star-reconstruction-overview {
  margin: 54px auto 0;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.star-reconstruction-overview .star-reconstruction-card {
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.42), 0 0 34px rgba(67, 213, 255, 0.055);
}

.star-reconstruction-visual,
.star-module-visual {
  appearance: none;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  padding: 0;
  text-align: left;
  width: 100%;
}

.star-module-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px auto 0;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.star-module-card {
  background:
    linear-gradient(90deg, rgba(67, 213, 255, 0.026) 1px, transparent 1px) 0 0 / 18px 100%,
    linear-gradient(145deg, rgba(4, 27, 42, 0.96), rgba(1, 9, 16, 0.99));
  border: 1px solid rgba(67, 213, 255, 0.27);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32), inset 0 0 28px rgba(67, 213, 255, 0.024);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  margin: 0;
  overflow: hidden;
  padding: 7px;
  position: relative;
}

.star-module-card::before {
  background:
    linear-gradient(90deg, #43d5ff, transparent) left top / 92px 2px no-repeat,
    linear-gradient(180deg, #43d5ff, transparent) left top / 2px 66px no-repeat,
    linear-gradient(270deg, rgba(103, 230, 196, 0.82), transparent) right bottom / 92px 2px no-repeat,
    linear-gradient(0deg, rgba(103, 230, 196, 0.72), transparent) right bottom / 2px 66px no-repeat;
  content: "";
  inset: 4px;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.star-module-visual {
  --crop-origin: 50% 50%;
  --crop-zoom: 1.8;
  aspect-ratio: 16 / 7;
  background: #01070c;
  border: 1px solid rgba(67, 213, 255, 0.25);
  display: block;
  overflow: hidden;
  position: relative;
}

.star-module-visual[hidden] {
  display: none;
}

.star-module-visual::before {
  background:
    linear-gradient(90deg, #43d5ff, transparent) left top / 58px 1px no-repeat,
    linear-gradient(180deg, #43d5ff, transparent) left top / 1px 40px no-repeat,
    linear-gradient(270deg, #67e6c4, transparent) right bottom / 58px 1px no-repeat,
    linear-gradient(0deg, #67e6c4, transparent) right bottom / 1px 40px no-repeat;
  content: "";
  inset: 5px;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.star-module-visual::after {
  background:
    repeating-linear-gradient(180deg, rgba(168, 231, 255, 0.036) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(1, 8, 14, 0.02), rgba(1, 8, 14, 0.25));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.star-module-visual img {
  display: block;
  filter: saturate(1.04) contrast(1.06) brightness(0.96);
  height: 100%;
  object-fit: cover;
  transform: scale(var(--crop-zoom));
  transform-origin: var(--crop-origin);
  transition: filter 220ms ease;
  width: 100%;
}

.star-crop-members {
  --crop-origin: 60% 68%;
  --crop-zoom: 1.72;
}

.star-crop-profile {
  --crop-origin: 61% 27%;
  --crop-zoom: 1.9;
}

.star-crop-forums {
  --crop-origin: 61% 56%;
  --crop-zoom: 1.74;
}

.star-crop-thread {
  --crop-origin: 61% 47%;
  --crop-zoom: 1.78;
}

.star-crop-guilds {
  --crop-origin: 61% 55%;
  --crop-zoom: 1.68;
}

.star-demo-control {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(67, 213, 255, 0.03) 1px, transparent 1px) 0 0 / 28px 100%,
    repeating-linear-gradient(180deg, rgba(67, 213, 255, 0.024) 0 1px, transparent 1px 4px),
    #010a11;
  display: flex;
  justify-content: center;
  padding: 18px;
}

.star-nav-demo {
  border-bottom: 1px solid rgba(67, 213, 255, 0.28);
  border-top: 1px solid rgba(67, 213, 255, 0.22);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
}

.star-nav-demo i {
  align-items: center;
  background: linear-gradient(180deg, rgba(4, 24, 37, 0.94), rgba(1, 11, 18, 0.98));
  border-left: 1px solid rgba(67, 213, 255, 0.13);
  color: rgba(151, 214, 237, 0.72);
  display: flex;
  font: 800 0.4rem/1 var(--font-mono);
  font-style: normal;
  justify-content: center;
  min-height: 50px;
  padding: 7px 4px;
  position: relative;
  white-space: nowrap;
  text-transform: uppercase;
}

.star-nav-demo i:last-child {
  border-right: 1px solid rgba(67, 213, 255, 0.13);
}

.star-nav-demo .is-active {
  box-shadow: inset 0 -9px 18px rgba(67, 213, 255, 0.08), 0 0 18px rgba(67, 213, 255, 0.08);
  color: #80e8ff;
}

.star-nav-demo .is-active::before,
.star-nav-demo .is-active::after {
  border-top: 2px solid #43d5ff;
  content: "";
  position: absolute;
  top: -1px;
  width: 17px;
}

.star-nav-demo .is-active::before {
  border-left: 2px solid #43d5ff;
  height: 10px;
  left: -1px;
}

.star-nav-demo .is-active::after {
  border-right: 2px solid #43d5ff;
  height: 10px;
  right: -1px;
}

.star-filter-demo {
  display: grid;
  gap: 10px;
  width: 100%;
}

.star-filter-demo > b {
  color: #43d5ff;
  font: 800 0.55rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.star-filter-fields {
  display: grid;
  gap: 7px;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 0.76fr;
}

.star-filter-fields i,
.star-filter-fields strong {
  align-items: center;
  background: linear-gradient(180deg, rgba(8, 34, 49, 0.96), rgba(1, 13, 21, 0.98));
  border: 1px solid rgba(67, 213, 255, 0.28);
  box-shadow: inset 0 -7px 13px rgba(67, 213, 255, 0.035);
  color: rgba(166, 207, 224, 0.66);
  display: flex;
  font: 700 0.45rem/1.2 var(--font-mono);
  font-style: normal;
  justify-content: space-between;
  min-height: 36px;
  padding: 7px 8px;
}

.star-filter-fields em {
  color: #43d5ff;
  font-style: normal;
}

.star-filter-fields strong {
  border-color: rgba(67, 213, 255, 0.62);
  box-shadow: inset 0 -8px 16px rgba(67, 213, 255, 0.09), 0 0 16px rgba(67, 213, 255, 0.07);
  color: #dff9ff;
  justify-content: center;
  text-transform: uppercase;
}

.star-module-scan {
  background: linear-gradient(90deg, transparent, rgba(103, 230, 196, 0.42), transparent);
  box-shadow: 0 0 13px rgba(67, 213, 255, 0.2);
  height: 1px;
  left: 8%;
  pointer-events: none;
  position: absolute;
  right: 8%;
  top: 50%;
  z-index: 3;
}

.star-module-card figcaption {
  min-height: 190px;
  padding: 20px 14px 15px;
}

.star-module-card > .star-module-visual[hidden] + figcaption {
  align-content: start;
  background:
    radial-gradient(circle at 92% 8%, rgba(67, 213, 255, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(5, 32, 48, 0.62), rgba(1, 11, 18, 0.18));
  display: grid;
  min-height: 246px;
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.5vw, 32px);
}

.star-module-card .star-reconstruction-index {
  display: block;
  margin-bottom: 13px;
}

.star-module-card h3 {
  color: #eafaff;
  font-size: clamp(1.05rem, 1.5vw, 1.34rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

.star-module-card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

@media (min-width: 981px) {
  .star-module-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

.star-module-card:focus-within {
  border-color: rgba(103, 230, 196, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32), 0 0 28px rgba(67, 213, 255, 0.12);
}

.star-reconstruction-visual:focus-visible,
.star-module-visual:focus-visible {
  outline: 2px solid #67e6c4;
  outline-offset: -4px;
}

.case-star-citizen .case-interface-map > article:nth-child(2n) span,
.case-star-citizen .case-proof-card:nth-child(2n) .fact-label {
  color: #67e6c4;
}

.case-star-citizen .case-skill-list {
  justify-content: center;
}

.case-star-citizen .case-skill-list span {
  box-shadow: inset 0 0 14px rgba(67, 213, 255, 0.035);
  color: #dff8ff;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .star-archive-card:hover::before { border-color: var(--case-primary-core); }
  .star-archive-card:hover .star-archive-action { color: #fff; }

  .star-reconstruction-visual:hover img {
    filter: saturate(1.12) contrast(1.05) brightness(1.04);
    transform: scale(1.012);
  }

  .star-reconstruction-visual:hover .star-reconstruction-action {
    border-color: #67e6c4;
    box-shadow: 0 0 22px rgba(67, 213, 255, 0.15);
  }

  .star-module-visual:hover img {
    filter: saturate(1.12) contrast(1.08) brightness(1.04);
  }

  .star-module-card:hover {
    border-color: rgba(67, 213, 255, 0.52);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.38), 0 0 28px rgba(67, 213, 255, 0.09);
  }
}

@media (max-width: 980px) {
  .star-reconstruction-card figcaption {
    grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  }

  .star-reconstruction-card small {
    border-left: 0;
    border-top: 1px solid rgba(67, 213, 255, 0.2);
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 12px;
  }

  .star-reconstruction-subheading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .star-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .star-reconstruction-method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .star-reconstruction-method span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(67, 213, 255, 0.16);
  }

  .star-reconstruction-method span:nth-child(4) {
    border-top: 1px solid rgba(67, 213, 255, 0.16);
  }
}

@media (max-width: 640px) {
  .case-page.case-star-citizen {
    background-attachment: scroll;
  }

  .star-hero-telemetry {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .star-reconstruction-grid {
    margin-top: 44px;
  }

  .star-reconstruction-card {
    padding: 7px;
  }

  .star-reconstruction-card figcaption {
    grid-template-columns: 1fr;
    padding: 20px 10px 12px;
  }

  .star-reconstruction-card small {
    grid-column: auto;
  }

  .star-reconstruction-action {
    bottom: 8px;
    right: 8px;
  }

  .star-reconstruction-method {
    grid-template-columns: 1fr;
  }

  .star-reconstruction-method span + span,
  .star-reconstruction-method span:nth-child(3),
  .star-reconstruction-method span:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(67, 213, 255, 0.16);
  }

  .star-module-grid {
    grid-template-columns: 1fr;
  }

  .star-module-card figcaption {
    min-height: 0;
  }

  .star-archive-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .star-archive-card { min-height: 250px; }
}
