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

.progress-disclosure {
  max-width: 68ch;
  color: var(--muted, #aab3c5);
  font-size: 0.92rem;
  font-style: italic;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.status-badge.status-concept,
.status-badge.status-planning {
  border-color: rgba(162, 174, 197, 0.42);
  background: rgba(162, 174, 197, 0.12);
  color: #d7deed;
}

.status-badge.status-prototype {
  border-color: rgba(152, 108, 255, 0.5);
  background: rgba(152, 108, 255, 0.13);
  color: #d8c5ff;
}

.status-badge.status-in-development {
  border-color: rgba(55, 180, 255, 0.52);
  background: rgba(55, 180, 255, 0.13);
  color: #a9dcff;
}

.status-badge.status-testing {
  border-color: rgba(255, 188, 67, 0.52);
  background: rgba(255, 188, 67, 0.13);
  color: #ffdc91;
}

.status-badge.status-release-candidate {
  border-color: rgba(255, 126, 48, 0.58);
  background: rgba(255, 126, 48, 0.14);
  color: #ffb17d;
}

.status-badge.status-submitted {
  border-color: rgba(76, 210, 255, 0.58);
  background: rgba(76, 210, 255, 0.14);
  color: #b6ecff;
}

.status-badge.status-published {
  border-color: rgba(77, 229, 150, 0.58);
  background: rgba(77, 229, 150, 0.14);
  color: #a8f2cc;
}

.status-badge.status-paused,
.status-badge.status-archived {
  border-color: rgba(180, 180, 190, 0.38);
  background: rgba(120, 120, 130, 0.12);
  color: #c8c8d1;
}

.milestone-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.72rem;
  border: 1px solid rgba(255, 126, 48, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 126, 48, 0.16), rgba(76, 210, 255, 0.11));
  color: #ffe0cb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-hero,
.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.hero-copy h1,
.project-detail-hero h1 {
  max-width: 14ch;
}

.hero-visual,
.project-hero-art,
.submission-feature-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.4rem;
  background: rgba(8, 13, 28, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero-visual img,
.project-hero-art > img,
.submission-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-visual > span,
.submission-feature-media > span {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--muted, #aab3c5);
  font-size: 0.86rem;
}

.available-apps-grid,
.update-grid,
.verification-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

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

.available-app-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  overflow: hidden;
}

.available-app-art img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.submission-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(76, 210, 255, 0.25);
  border-radius: 1.6rem;
  background: linear-gradient(145deg, rgba(14, 22, 45, 0.95), rgba(8, 12, 26, 0.95));
}

.submission-feature-copy h2,
.submission-feature-copy h3 {
  margin-top: 0;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.submission-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.2rem 0;
}

.submission-meta div {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
}

.submission-meta dt {
  color: var(--muted, #aab3c5);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.submission-meta dd {
  margin: 0.3rem 0 0;
  font-weight: 700;
}

.preservation-note {
  padding: 1rem;
  border-left: 4px solid var(--orange, #ff7e30);
  border-radius: 0 0.75rem 0.75rem 0;
  background: rgba(255, 126, 48, 0.1);
  color: #ffe3d0;
}

.status-overview-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.status-overview-card {
  min-width: 0;
}

.status-overview-card strong {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.update-card,
.verification-card,
.detail-panel,
.contact-panel,
.missing-media {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(12, 19, 37, 0.78);
}

.update-card time {
  color: var(--orange, #ff7e30);
  font-size: 0.82rem;
  font-weight: 800;
}

.verification-card > span {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.verification-card.is-verified > span {
  background: rgba(77, 229, 150, 0.15);
  color: #9cf0c5;
}

.verification-card.is-unverified > span {
  background: rgba(255, 188, 67, 0.14);
  color: #ffdc91;
}

.missing-art {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 1rem;
  border: 1px dashed rgba(170, 179, 197, 0.35);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(18, 28, 51, 0.9), rgba(8, 12, 24, 0.9));
  color: var(--muted, #aab3c5);
  text-align: center;
}

.missing-art.compact {
  min-height: 220px;
}

.project-card-media .missing-art.compact {
  border: 0;
  border-radius: 0;
}

.project-card-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-type {
  color: var(--orange, #ff7e30);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.progress-copy {
  align-items: flex-start;
  gap: 0.8rem;
}

.progress-copy span {
  text-align: right;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
}

.screenshot-grid figure {
  display: flex;
  flex-direction: column;
}

.screenshot-grid figcaption {
  padding: 0.7rem;
  color: var(--muted, #aab3c5);
  font-size: 0.84rem;
}

.screenshot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #080c18;
}

.story-cover-frame .missing-art {
  min-height: 300px;
}

.policy-content {
  max-width: 840px;
}

.policy-content a,
.detail-panel a {
  overflow-wrap: anywhere;
}

code {
  overflow-wrap: anywhere;
  white-space: normal;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.contact-panel {
  text-align: center;
}

.contact-panel .section-heading,
.contact-panel .button-row {
  justify-content: center;
}

.footer-grid h2 {
  font-size: 1rem;
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid a {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid #7edcff;
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .status-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .available-apps-grid,
  .update-grid,
  .verification-grid,
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-hero,
  .project-detail-hero,
  .submission-feature,
  .available-app-card,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .project-detail-hero {
    width: min(100% - 1.25rem, 720px);
    padding: 3rem 0;
  }

  .hero-copy h1,
  .project-detail-hero h1 {
    max-width: none;
  }

  .submission-meta {
    grid-template-columns: 1fr;
  }

  .available-app-art img {
    max-height: 360px;
  }
}

@media (max-width: 620px) {
  .status-overview-grid,
  .available-apps-grid,
  .update-grid,
  .verification-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .submission-feature {
    padding: 0.75rem;
  }

  .button-row > .button,
  .button-row > button {
    width: 100%;
    justify-content: center;
  }

  .progress-copy {
    flex-direction: column;
  }

  .progress-copy span {
    text-align: left;
  }

  .missing-art {
    min-height: 240px;
  }
}


@media (max-width: 620px) {
  .notification-widget {
    left: auto;
    right: 0.65rem;
    bottom: 0.65rem;
    width: auto;
  }

  .notification-toggle {
    width: 3.2rem;
    min-width: 3.2rem;
    height: 3.2rem;
    padding: 0.22rem;
    justify-content: center;
  }

  .notification-toggle > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .notification-toggle img {
    width: 2.7rem;
    height: 2.7rem;
  }

  .notification-panel {
    width: min(19rem, calc(100vw - 2rem));
  }
}
