/* Public-page composition only. Typography, colors, wordmark, movie rows,
   buttons and comparison layouts come directly from style.css. */
:root[data-shared-page] {
  --nav-height: 0px;
}
#public-page main {
  min-height: 65vh;
  padding-bottom: 24px;
}
#public-page .intro {
  padding-bottom: 16px;
}
#public-page .intro h1 {
  overflow-wrap: anywhere;
}
.lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}
.fine {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.ranking {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.back {
  color: var(--muted);
  font-size: 13px;
  display: inline-block;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
}
.site-footer a {
  color: var(--lime);
}
.information-page main > section:not(.intro) {
  margin-block: 28px;
}
.information-page main p {
  line-height: 1.65;
  max-width: 65ch;
}
.controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}
.result-share {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.result-share p {
  font-size: 14px;
  color: var(--muted);
}
.result-share label {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  font-size: 13px;
}
.result-share input,
.result-share select {
  min-width: 0;
  max-width: 100%;
  padding: 14px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
#result-image {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 12px;
  margin: 12px 0;
}
#challenge-status:not(:empty) {
  min-height: 24px;
}

@media (max-width: 699px) {
  .information-page h1 {
    font-size: clamp(30px, 9vw, 36px);
  }
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(12px, 4vw, 24px);
  margin-bottom: 20px;
}
.site-footer-links > [aria-hidden="true"] {
  display: none;
}
#shared-root > .back {
  margin-bottom: 24px;
}
#start-challenge {
  margin-top: 16px;
}
.site-footer-links > a {
  padding-block: 6px;
}
