.panel h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.collector-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .62rem .9rem;
  border: 1px solid #8170bd;
  border-radius: 6px;
  background: linear-gradient(180deg, #21183f, #130f28);
  color: #f5f1e8;
  font-weight: 1000;
  font-size: .75rem;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 #ffffff18, 0 4px 14px #0005;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.collector-cta:hover {
  border-color: var(--cyan);
  background: #182e48;
  color: #fff;
  transform: translateY(-1px);
}

.collector-cta:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.feature-pair .collectors {
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-pair .collector-cta {
  align-self: flex-start;
  margin-top: .4rem;
}

.funko-announcement {
  margin: 10px 0 0;
  padding: clamp(1rem, 2.5vw, 1.8rem) clamp(1.2rem, 3vw, 2.4rem);
  border-color: var(--lime);
  background:
    radial-gradient(circle at 88% 50%, #ff5b6166, transparent 22%),
    linear-gradient(115deg, #19112e, #080914 62%);
}

.funko-announcement h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.funko-announcement p {
  margin-bottom: 0;
}

.section-nav {
  justify-content: flex-end;
  gap: .7rem;
  border-top: 1px solid #2f2547;
  padding: .55rem 0 .7rem;
}

.section-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid #5b3c91;
  padding: .45rem .75rem;
  color: white;
  font-size: .7rem;
  font-weight: 1000;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav a[aria-current="page"] {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.keith-announcement {
  margin: 10px 0 0;
  padding: clamp(1rem, 2.5vw, 1.8rem) clamp(1.2rem, 3vw, 2.4rem);
  border-color: var(--cyan);
  background:
    radial-gradient(circle at 88% 50%, #17d7f455, transparent 23%),
    linear-gradient(115deg, #25104c, #080914 62%);
}

.keith-announcement h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.keith-announcement p {
  margin-bottom: 0;
}

.results-status {
  min-height: 1.3rem;
  margin: -.25rem 0 .8rem;
  color: #aaa6b8;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.story-navigation {
  display: flex;
  justify-content: center;
  padding: 1.35rem 0 .4rem;
}

.story-navigation[hidden],
.archive-navigation[hidden] {
  display: none;
}

.more-stories,
.archive-navigation button {
  min-height: 46px;
  border: 1px solid var(--lime);
  padding: .75rem 1.25rem;
  background: var(--lime);
  color: #080914;
  font-weight: 1000;
  text-transform: uppercase;
  cursor: pointer;
}

.more-stories:hover,
.archive-navigation button:hover:not(:disabled) {
  border-color: var(--cyan);
  background: var(--cyan);
}

.archive-navigation {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: 1fr minmax(130px, auto) 1fr;
  align-items: center;
  gap: .75rem;
}

.archive-navigation span {
  color: var(--paper);
  font-size: .82rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.archive-navigation button:disabled {
  border-color: #34364f;
  background: #171827;
  color: #696778;
  cursor: not-allowed;
}

/* Primary story links and compact editorial identity labels. */
.card > .art {
  display: block;
}

.card-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.content-type {
  padding: .28rem .48rem;
  border-radius: 999px;
  background: #e6ddff;
  color: #4e2aaa;
  font-size: .62rem;
  font-weight: 1000;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-intro {
  max-width: 760px;
  margin: .3rem 0 0;
  color: #fff8dd;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.5;
}

.brand-lockup {
  min-width: 0;
}

.brand-lockup .brand {
  display: inline-block;
}

.card h3 {
  text-transform: none;
}

.card-meta {
  align-items: center;
}

.card-meta > span {
  flex: 0 0 auto;
  color: #686573;
}

.card h3 a:hover,
.card h3 a:focus-visible {
  color: #5b35b8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.story-credit {
  text-align: right;
}

.art:focus-visible,
.card h3 a:focus-visible,
.story-credit:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

@media (max-width: 650px) {
  main {
    display: flex;
    flex-direction: column;
  }

  .hero { order: 1; }
  .latest { order: 2; }
  .keith-announcement { order: 3; }
  .funko-announcement { order: 4; }
  .ticker { order: 5; }

  .site-intro {
    max-width: 32rem;
    margin: .35rem auto 0;
    font-size: .82rem;
    line-height: 1.4;
    text-align: center;
  }

  .brand {
    font-size: clamp(2.1rem, 10vw, 2.6rem);
  }

  nav {
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  .section-nav {
    justify-content: flex-start;
  }

  .hero {
    gap: 14px;
    padding-top: 14px;
  }

  .side-panels {
    gap: 14px;
  }

  .story-grid {
    gap: 18px;
  }

  .card {
    min-height: 0;
    border-width: 1px;
  }

  .card:hover {
    transform: none;
  }

  .card-body {
    padding: 1.15rem;
  }

  .card h3 {
    margin: .65rem 0 .7rem;
    font-size: 1.28rem;
    line-height: 1.22;
  }

  .card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .card-meta {
    align-items: flex-start;
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid #d8d3c9;
    font-size: .8rem;
  }

  .story-credit {
    max-width: 72%;
    text-align: left;
  }

  .content-type {
    border-radius: 2px;
    background: #efeaf8;
    font-size: .64rem;
  }

  .art small {
    right: .45rem;
    bottom: .4rem;
    padding: .18rem .3rem;
    opacity: .78;
    font-size: .52rem;
  }

  .collectors {
    gap: 1rem;
    margin-top: 18px;
    padding: 1.25rem;
  }

  .collectors h2 {
    font-size: 1.7rem;
  }

  .collectors p {
    line-height: 1.55;
  }

  .feature-pair .collector-cta {
    width: 100%;
    margin-top: .35rem;
  }

  .story-navigation {
    padding-top: 1rem;
  }

  .more-stories {
    width: 100%;
  }

  .archive-navigation {
    grid-template-columns: 1fr 1fr;
  }

  .archive-navigation span {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

/* Shared responsive comic masthead. The title remains live text for accessibility. */
.masthead {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border: 2px solid var(--paper);
  padding: 1rem clamp(1rem, 2.5vw, 2rem);
  background: #35148c url("assets/brand/show-your-geek-masthead.jpg") center/cover no-repeat;
  box-shadow: 0 7px 0 var(--ink);
}

.masthead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, #17043b66, #13042a20 48%, #12032670);
  pointer-events: none;
}

.masthead > * {
  position: relative;
  z-index: 1;
}

.masthead .brand {
  color: #fff8df;
  font-size: clamp(2.7rem, 5.3vw, 5.8rem);
  line-height: .82;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 6px 6px 0 var(--ink), 9px 9px 0 #ff397d;
}

.masthead .search {
  border-color: var(--paper);
  background: #070814df;
}

footer .brand.mini {
  -webkit-text-stroke: 0;
  text-shadow: 3px 3px 0 #25184e;
}

@media (max-width: 650px) {
  .masthead {
    min-height: 132px;
    padding: 1rem;
    background-position: center;
  }

  .masthead .brand {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
    -webkit-text-stroke: 1px var(--ink);
    text-shadow: 4px 4px 0 var(--ink), 6px 6px 0 #ff397d;
  }
}
