/* Targeted maturity pass, retaining the approved 36Roll visual system. */
.roll-card {
  border-radius: var(--radius-card);
  box-shadow: none;
  overflow: hidden;
}
.roll-card .roll-media {
  aspect-ratio: 3/2;
  height: auto;
  min-height: 0;
  border-radius: var(--radius-image);
  margin: 0;
}
.roll-card .archive-mode {
  aspect-ratio: 2/1;
  background: var(--bg);
}
.roll-card .card-body {
  padding: 12px 14px 14px;
}
.roll-card .card-title h3 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 650;
}
.roll-card .card-title {
  gap: 8px;
}
.roll-card .roll-meta {
  font-size: 12px;
  gap: 5px;
  margin: 7px 0 10px;
}
.roll-card .tags {
  gap: 5px;
  margin: 0 0 12px;
}
.roll-card .tag {
  padding: 4px 7px;
  font-size: 11px;
}
.roll-card .meta-line {
  padding-top: 10px;
  border-top: var(--border);
  margin: 0;
  gap: 8px;
}
.roll-card .expiry {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.roll-card .roll-number {
  left: 16px;
  bottom: 16px;
  z-index: 1;
}
.roll-card .roll-number b {
  font-size: 36px;
}
.roll-media {
  position: relative;
  isolation: isolate;
}
.roll-media.has-photo::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, var(--color-image-overlay));
  z-index: 0;
  pointer-events: none;
}
.roll-media .roll-status {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
}
.roll-media .photo-note,
.photo-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 6px;
  background: var(--bg);
  color: var(--muted);
  font: 10px var(--font-ui);
  border-radius: 4px;
  z-index: 1;
}
.archive-cover .media-fallback {
  background: var(--bg);
}
.archive-cover .contact-sheet {
  color: var(--ink);
  opacity: 1;
}
.archive-cover .contact-sheet i {
  background: var(--color-border);
}
.archive-cover .contact-sheet .filled {
  background: var(--ink);
}
.archive-cover .archive-caption {
  font-size: 12px;
  letter-spacing: 3px;
}
.detail-cover {
  height: 39dvh;
  min-height: 260px;
  max-height: 390px;
}
.detail-cover.archive-cover {
  height: 36dvh;
  min-height: 240px;
}
.detail-cover .roll-number {
  z-index: 1;
  bottom: 22px;
  left: 24px;
}
.detail-cover .roll-status {
  top: 60px;
}
.detail-topbar {
  z-index: 3;
}
.detail-topbar a,
.detail-topbar .detail-count {
  background: var(--bg);
  border-radius: var(--radius-pill);
  padding: 7px;
  color: var(--ink);
}
.detail-title {
  font-size: 22px;
  line-height: 1.45;
}
.detail-data {
  row-gap: 9px;
}
.creator-history {
  margin-top: 4px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.drafts-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 18px 0;
  border-top: var(--border);
  font-size: 14px;
}
.drafts-link span {
  flex: 1;
}
.drafts-link .icon {
  width: 18px;
  color: var(--muted);
}
.entry-badge {
  margin-left: 8px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--red-pale);
  color: var(--red);
  font: 500 10px var(--font-ui);
  vertical-align: middle;
}
.publish-page .entry {
  border-radius: var(--radius-card);
  min-height: 112px;
  margin: 14px 0;
  box-shadow: none;
}
.publish-page .entry p {
  max-width: 240px;
  line-height: 1.7;
}
.publish-page h1 {
  margin-bottom: 26px;
}
.editorial-kicker {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--muted);
}
.city-feature {
  margin: 22px 0 26px;
}
.city-feature h2 {
  margin-top: 7px;
  font-size: 20px;
}
.city-visual {
  display: block;
  background: var(--paper);
  border-radius: var(--radius-large);
  overflow: hidden;
}
.city-visual .roll-media {
  height: 210px;
  min-height: 0;
  aspect-ratio: auto;
}
.city-visual .roll-number b {
  font-size: 32px;
}
.city-feature-caption {
  padding: 14px;
}
.city-feature-caption h3 {
  font-size: 16px;
  line-height: 1.5;
}
.city-feature-caption p {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.opportunity-section .feed-heading {
  margin-bottom: 14px;
}
.opportunity-section h2 {
  font-size: 19px;
}
.opportunity-section small {
  font-size: 10px;
  color: var(--muted);
}
.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}
.opportunity-category {
  position: relative;
  display: block;
  min-width: 0;
}
.category-photo {
  height: 112px;
  overflow: hidden;
  background: var(--bg);
  border-radius: var(--radius-image);
  display: grid;
  place-items: center;
}
.category-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-photo .contact-sheet {
  width: 70px;
  opacity: 1;
}
.opportunity-category h3 {
  font-size: 14px;
  margin-top: 10px;
}
.opportunity-category p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.opportunity-category > .icon {
  position: absolute;
  right: 0;
  bottom: 14px;
  width: 14px;
  color: var(--muted);
}
.course-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 16px;
  font-size: 12px;
  gap: 6px;
}
.course-link .icon {
  width: 12px;
}
.people-place {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: var(--border);
  margin-top: 28px;
  padding-top: 24px;
}
.people-place span {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.people-place h3 {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-top: 10px;
}
.people-place .icon {
  width: 14px;
  margin-left: auto;
}
.people-place p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
}
.city-empty {
  padding: 22px;
}
.city-empty .contact-sheet {
  width: 80px;
}
.city-empty h3 {
  margin-top: 20px;
}
.city-empty p {
  font-size: 12px;
  margin-top: 8px;
  color: var(--muted);
}
.profile-cover {
  position: relative;
  height: 32dvh;
  min-height: 240px;
  max-height: 320px;
  background: var(--bg);
}
.profile-cover-quiet {
  height: 120px;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.profile-cover-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.creator-profile-header .avatar {
  width: 72px;
  height: 72px;
  border: 3px solid var(--paper);
  flex-shrink: 0;
}
.creator-profile-header .profile-head {
  margin-top: -32px;
  position: relative;
  z-index: 1;
}
.creator-profile-header .creator-history {
  display: none;
}
.creator-profile-header strong {
  font-size: 21px;
}
.creator-profile-header .primary {
  border-radius: var(--radius-button);
  font-size: 12px;
}
.profile-content .stat-grid {
  font-variant-numeric: tabular-nums;
}
.profile-content .stat-grid b {
  font-family: var(--font-ui);
  font-size: 22px;
}
.profile-content .stat-grid span {
  font-size: 11px;
}
.profile-content .portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.portfolio-tile {
  aspect-ratio: 3/4;
  border-radius: var(--radius-image);
}
.profile-content h3 small {
  font: 10px var(--font-ui);
  color: var(--muted);
}
.profile-content .availability.available {
  color: var(--color-success);
  background: var(--color-success-soft);
}
.profile-content .availability.available::before {
  content: "●";
  font-size: 8px;
  margin-right: 5px;
}
@keyframes grid-process {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
[aria-busy="true"] .grid-mark rect {
  animation: grid-process 1s ease-in-out infinite;
}
[aria-busy="true"] .grid-mark rect:nth-child(3n) {
  animation-delay: 0.2s;
}
[aria-busy="true"] .grid-mark rect:nth-child(3n + 1) {
  animation-delay: 0.4s;
}
@media (prefers-reduced-motion: reduce) {
  [aria-busy="true"] .grid-mark rect {
    animation: none;
  }
}

/* Keep Archive captions clear of the shared status badge. */
.roll-card .archive-caption {
  margin-top: 28px;
}
.detail-cover .archive-caption {
  margin-top: 76px;
}
