:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --page: #050913;
  --panel: #0b1220;
  --panel-soft: #101827;
  --line: rgba(164, 190, 228, .14);
  --line-strong: rgba(177, 201, 236, .24);
  --text: #f7f8fc;
  --muted: #8f9bb0;
  --muted-bright: #bcc6d6;
  --blue: #65a0ff;
  --violet: #8e72ff;
  --violet-bright: #c7b8ff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at -5% 42%, rgba(22, 104, 210, .3), transparent 27rem),
    radial-gradient(circle at 105% 58%, rgba(14, 83, 180, .26), transparent 29rem),
    radial-gradient(circle at 52% 10%, rgba(68, 50, 151, .11), transparent 34rem),
    radial-gradient(circle at 17% 28%, rgba(255, 255, 255, .58) 0 .65px, transparent .9px),
    radial-gradient(circle at 72% 61%, rgba(255, 255, 255, .42) 0 .6px, transparent .9px),
    linear-gradient(180deg, #07101f 0, #050b16 45%, #040914 100%);
  background-attachment: fixed;
  background-size: auto, auto, auto, 157px 173px, 229px 211px, auto;
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-fullscreen-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #080a10;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.public-header {
  position: sticky;
  z-index: 30;
  inset-block-start: 0;
  border-block-end: 1px solid var(--line);
  background: rgba(5, 10, 19, .86);
  backdrop-filter: blur(20px);
}

.public-header-inner,
.public-detail-page,
.public-page-footer > div {
  width: min(1340px, calc(100% - 36px));
  margin-inline: auto;
}

.public-header-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
}

.public-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.public-brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(103, 133, 255, .28));
}

.public-brand span {
  min-width: 0;
}

.public-brand strong {
  display: block;
  overflow: hidden;
  font-size: .84rem;
  letter-spacing: .18em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-navigation {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.public-navigation a {
  position: relative;
  display: grid;
  place-items: center;
  color: #d5dbe6;
  font-size: .875rem;
}

.public-navigation a::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2px;
  background: #fff;
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .18s, transform .18s;
}

.public-navigation a:hover,
.public-navigation a.is-active {
  color: #fff;
}

.public-navigation a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #eeeafc;
  background: linear-gradient(110deg, rgba(112, 78, 222, .18), rgba(255, 255, 255, .025));
  font-size: .8rem;
  font-weight: 750;
  transition: border-color .2s, background .2s, transform .2s;
}

.header-cta:hover {
  border-color: rgba(172, 143, 255, .58);
  background: rgba(126, 90, 227, .16);
  transform: translateY(-1px);
}

.header-cta span {
  color: var(--violet-bright);
  font-size: .88rem;
}

.public-detail-page {
  padding-block: 13px 18px;
}

.public-breadcrumbs {
  min-width: 0;
  margin-block-end: 12px;
  color: #a8b6cd;
  font-size: .8rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.public-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.public-breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.public-breadcrumbs li:not(:last-child)::after {
  margin-inline-start: 11px;
  color: #5f6d84;
  content: "/";
}

.public-breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

.public-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(400px, .94fr);
  align-items: start;
  gap: 14px;
}

.detail-media-column {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.detail-image-card,
.detail-overview-card,
.image-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0, rgba(75, 107, 202, .07), transparent 37%),
    rgba(6, 12, 23, .91);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .18);
}

.detail-image-card {
  min-width: 0;
  overflow: visible;
}

.image-stage-home {
  min-width: 0;
  height: clamp(330px, calc(100dvh - 590px), 420px);
}

.image-stage {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 9px 9px 0 0;
  background: #020407;
}

.image-viewer {
  width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(24, 31, 42, .38), transparent 55%),
    #020407;
}

.image-canvas {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  outline: none;
}

.image-canvas img {
  display: block;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.open-fullscreen {
  position: absolute;
  z-index: 6;
  inset-inline-start: 50%;
  inset-block-end: 14px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  background: rgba(4, 8, 14, .78);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: .78rem;
  transform: translateX(-50%);
}

.open-fullscreen:hover {
  border-color: rgba(167, 142, 255, .6);
  background: rgba(18, 20, 34, .9);
}

.open-fullscreen svg,
.close-fullscreen svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.image-toolbar {
  position: absolute;
  z-index: 8;
  inset-block-start: 14px;
  inset-inline-start: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(11, 14, 21, .9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.fullscreen-dialog[open] .image-viewer.is-tools-visible .image-toolbar,
.fullscreen-dialog[open] .image-viewer:focus-within .image-toolbar {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.image-toolbar button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #e8e4f3;
  background: transparent;
  cursor: pointer;
  font-size: 1.08rem;
  line-height: 1;
}

.image-toolbar button:hover:not(:disabled) {
  border-color: rgba(183, 155, 255, .4);
  background: rgba(132, 91, 230, .18);
}

.image-toolbar button:disabled {
  cursor: not-allowed;
  opacity: .38;
}

.image-toolbar output {
  min-width: 45px;
  color: #c7cbd6;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.image-viewer figcaption {
  display: none;
}

.detail-image-meta {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  border-block-start: 1px solid var(--line);
  background: rgba(5, 11, 21, .96);
  border-radius: 0 0 9px 9px;
}

.detail-image-meta.has-observation {
  grid-template-columns: 1fr 1fr 1.25fr;
}

.detail-image-meta > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px 15px;
}

.detail-image-meta > div + div {
  border-inline-start: 1px solid var(--line);
}

.detail-image-meta span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-image-meta strong,
.detail-image-meta .observation-date-value {
  min-width: 0;
  color: #e8ebf2;
  font-size: .875rem;
  font-weight: 550;
}

.detail-image-meta .detail-attribution {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  align-content: center;
}

.detail-attribution img,
.panel-attribution img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.detail-attribution span {
  color: #d7dce7;
}

.detail-overview-card {
  padding: 17px 19px;
}

.overview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block-end: 10px;
  border-block-end: 1px solid var(--line);
}

.overview-heading h2 {
  margin: 0;
  font-size: .95rem;
}

.overview-heading > span {
  color: #9fb9e4;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.detail-overview-card > p {
  margin: 11px 0 0;
  color: #aeb8ca;
  font-size: .9rem;
  line-height: 1.6;
}

.overview-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 12px 0 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 7px;
  background: rgba(2, 6, 13, .38);
}

.overview-facts > div {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
}

.overview-facts dt,
.overview-facts dd {
  margin: 0;
  font-size: .82rem;
}

.overview-facts dt {
  color: #7e899c;
}

.overview-facts dd {
  overflow-wrap: anywhere;
  color: #d8dce5;
  text-align: end;
}

.detail-panel-home {
  min-width: 0;
}

.image-panel {
  min-width: 0;
  min-height: 0;
  height: clamp(560px, calc(100dvh - 350px), 700px);
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.panel-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px clamp(22px, 2.7vw, 34px) 28px;
  scrollbar-color: #3f5273 transparent;
  scrollbar-width: thin;
}

.showcase-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 14px;
  color: #aab9d3;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.showcase-badge .badge-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(137, 177, 255, .7);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(79, 139, 255, .9);
}

.fullscreen-badge-label {
  display: none;
}

.image-panel h1 {
  max-width: 16em;
  margin: 0;
  color: #fbfcff;
  font-size: clamp(1.7rem, 2.5vw, 2.55rem);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.image-panel h1 a,
.image-viewer figcaption a {
  color: inherit;
}

.image-panel h1 a:hover,
.image-viewer figcaption a:hover {
  color: #d5caff;
}

.panel-description {
  max-width: 52ch;
  margin: 12px 0 0;
  color: #aeb8ca;
  font-size: .95rem;
  line-height: 1.65;
}

.panel-attribution {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 0;
  color: #dce1eb;
  font-size: .82rem;
  font-weight: 620;
}

.panel-attribution a,
.detail-attribution a {
  color: #cabbff;
}

.public-facet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block-start: 15px;
}

.public-facet-links a {
  max-width: 100%;
  overflow: hidden;
  padding: 5px 8px;
  border: 1px solid rgba(137, 165, 223, .22);
  border-radius: 999px;
  background: rgba(76, 104, 165, .08);
  color: #b7c4d9;
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-facet-links a:hover {
  border-color: rgba(151, 128, 242, .52);
  color: #f0ecff;
}

.primary-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 8px;
  margin-block-start: 20px;
}

.download-action,
.share-action {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 12px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 750;
  transition: transform .18s, border-color .18s, background .18s;
}

.download-action {
  background: linear-gradient(135deg, #4d8fff, #8a6cff);
  box-shadow: 0 12px 28px rgba(74, 94, 215, .24);
  color: #fff;
}

.share-action {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .035);
  color: #edeaf5;
}

.download-action:hover,
.share-action:hover {
  transform: translateY(-1px);
}

.share-action:hover {
  border-color: rgba(166, 132, 255, .5);
  background: rgba(127, 89, 227, .09);
}

.download-action span,
.share-action span {
  font-size: .94rem;
  line-height: 1;
}

.share-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(4, 32px);
  gap: 6px;
  margin-block-start: 8px;
}

.share-strip button,
.share-strip a {
  min-width: 0;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .022);
  color: #aeb8c9;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 750;
}

.share-strip button:hover,
.share-strip a:hover {
  border-color: rgba(167, 136, 255, .42);
  background: rgba(122, 87, 218, .08);
  color: #e3dbff;
}

.admin-publication-actions {
  margin-block-start: 12px;
  padding-block-start: 12px;
  border-block-start: 1px solid rgba(255, 116, 133, .22);
}

.admin-publication-actions[hidden] {
  display: none;
}

.admin-publication-actions button {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 116, 133, .42);
  border-radius: 6px;
  background: rgba(148, 41, 58, .14);
  color: #ffb8c1;
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  font-weight: 750;
  transition: border-color .18s, background .18s, color .18s;
}

.admin-publication-actions button:hover:not(:disabled) {
  border-color: rgba(255, 116, 133, .72);
  background: rgba(178, 46, 67, .22);
  color: #ffe4e8;
}

.admin-publication-actions button:disabled {
  cursor: wait;
  opacity: .68;
}

.admin-publication-actions button > span:first-child {
  font-size: 1.08rem;
  line-height: 1;
}

.admin-publication-actions p {
  margin: 8px 0 0;
  color: #ff9caa;
  font-size: .74rem;
  line-height: 1.45;
}

.details-section {
  margin-block-start: 27px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-block-end: 10px;
}

.section-title h2 {
  margin: 0;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.section-title > span {
  color: #5f6d81;
  font: .75rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.details-section dl {
  margin: 0;
}

.details-section dl > div {
  min-height: 33px;
  display: grid;
  grid-template-columns: minmax(98px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 15px;
  border-block-end: 1px solid rgba(255, 255, 255, .052);
}

.details-section dt,
.details-section dd {
  margin: 0;
  font-size: .875rem;
}

.details-section dt {
  color: #778398;
}

.details-section dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #d6dbe4;
  text-align: end;
}

.details-section dd a {
  color: #c9bdff;
}

.details-section dd a:hover {
  color: #f2efff;
  text-decoration: underline;
}

.details-section .observation-dates time,
.details-section .observation-date-summary,
.panel-footer time,
.panel-footer .observation-date-summary,
.detail-image-meta .observation-date-summary {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.observation-date-summary {
  cursor: pointer;
}

.observation-date-details {
  min-width: 0;
  max-width: 100%;
}

.observation-date-details summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  list-style: none;
}

.observation-date-details summary::-webkit-details-marker {
  display: none;
}

.observation-date-details summary::after {
  color: var(--violet-bright);
  content: "+";
}

.observation-date-details[open] summary::after {
  content: "−";
}

.observation-date-details summary > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.observation-date-list {
  max-height: 180px;
  margin: 9px 0 0;
  padding: 8px 10px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 7, 14, .94);
  list-style: none;
  text-align: start;
}

.observation-date-list li + li {
  margin-block-start: 6px;
}

.observation-date-list a,
.observation-date-periods a {
  color: #e2dcf7;
}

.observation-date-periods {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  margin-block-start: 7px;
}

.observation-date-periods a {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.details-section .orientation-reading {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.orientation-reading svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.orientation-reading circle {
  fill: rgba(255, 255, 255, .025);
  stroke: rgba(255, 255, 255, .16);
}

.orientation-reading text {
  fill: #8d98aa;
  font-size: 6px;
  font-weight: 800;
  text-anchor: middle;
}

.orientation-reading path {
  fill: none;
  stroke: var(--violet-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8px;
}

.panel-footer {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(22px, 2.7vw, 34px);
  border-block-start: 1px solid var(--line);
  color: #68758a;
  background: rgba(3, 8, 16, .55);
  font-size: .75rem;
}

.panel-footer > * {
  min-width: 0;
}

.public-page-footer {
  padding-block: 0 18px;
}

.related-observations {
  margin-block-start: 14px;
  padding: 17px 16px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 82% -60%, rgba(99, 73, 206, .17), transparent 46%),
    rgba(6, 12, 23, .9);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .16);
}

.related-observations-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-block-end: 12px;
}

.related-observations-heading h2 {
  margin: 0;
  font-size: .88rem;
}

.related-observations-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aabcf1;
  font-size: .78rem;
}

.related-observations-heading > a:hover {
  color: #fff;
}

.related-observations nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.related-observations nav > a {
  position: relative;
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(167, 190, 229, .14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(97, 143, 232, .34), transparent 34%),
    radial-gradient(circle at 90% 85%, rgba(126, 82, 219, .23), transparent 42%),
    linear-gradient(135deg, #101a2a, #080d17);
  transition: border-color .18s, transform .18s;
}

.related-observations nav > a:nth-child(2) {
  background:
    radial-gradient(circle at 80% 18%, rgba(183, 105, 206, .26), transparent 36%),
    radial-gradient(circle at 12% 92%, rgba(69, 121, 217, .28), transparent 44%),
    linear-gradient(135deg, #121729, #080d17);
}

.related-observations nav > a:nth-child(3) {
  background:
    radial-gradient(circle at 26% 15%, rgba(75, 173, 205, .26), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(75, 81, 186, .3), transparent 42%),
    linear-gradient(135deg, #0c1b28, #080d17);
}

.related-observations nav > a:nth-child(4) {
  background:
    radial-gradient(circle at 85% 16%, rgba(110, 128, 235, .3), transparent 35%),
    radial-gradient(circle at 15% 86%, rgba(126, 89, 187, .25), transparent 44%),
    linear-gradient(135deg, #11172a, #080d17);
}

.related-observations nav > a::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 23% 32%, rgba(255, 255, 255, .8) 0 .6px, transparent .9px),
    radial-gradient(circle at 72% 58%, rgba(255, 255, 255, .58) 0 .55px, transparent .85px);
  background-size: 43px 39px, 61px 57px;
  content: "";
  opacity: .42;
}

.related-observations nav > a:hover {
  border-color: rgba(171, 143, 255, .5);
  transform: translateY(-1px);
}

.related-observations nav span,
.related-observations nav b {
  position: relative;
  z-index: 1;
}

.related-observations nav span {
  min-width: 0;
  overflow: hidden;
  color: #edf0f7;
  font-size: .82rem;
  font-weight: 670;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.related-observations nav b {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 225, 239, .28);
  border-radius: 50%;
  color: #d8ddea;
  font-size: .78rem;
  font-weight: 500;
}

.public-page-footer > div {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-block-start: 1px solid var(--line);
  color: #8490a4;
  font-size: .75rem;
}

.public-page-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.public-page-footer nav a:hover {
  color: #fff;
}

.public-page-footer > div > span {
  justify-self: end;
}

.footer-brand {
  color: #b2bed1;
}

.fullscreen-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #04070d;
  color: var(--text);
}

.fullscreen-dialog::backdrop {
  background: rgba(0, 0, 0, .88);
}

.fullscreen-dialog:not([open]) {
  display: none;
}

.fullscreen-shell {
  height: 100dvh;
  display: grid;
  grid-template-rows: 68px minmax(0, 1fr);
  background:
    radial-gradient(circle at 70% -20%, rgba(53, 73, 157, .18), transparent 38%),
    #04070d;
}

.fullscreen-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: clamp(18px, 2.7vw, 42px);
  border-block-end: 1px solid var(--line);
  background: rgba(5, 8, 14, .94);
}

.fullscreen-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.close-fullscreen {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
}

.close-fullscreen:hover {
  border-color: rgba(172, 143, 255, .58);
  background: rgba(126, 90, 227, .14);
}

.fullscreen-result {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(380px, 29vw, 486px);
  gap: 14px;
  padding: 14px 18px 18px;
}

.fullscreen-stage-slot,
.fullscreen-panel-slot {
  min-width: 0;
  min-height: 0;
}

.fullscreen-stage-slot .image-stage {
  height: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}

.fullscreen-stage-slot .image-viewer {
  border-radius: 9px;
}

.fullscreen-stage-slot .open-fullscreen {
  display: none;
}

.fullscreen-stage-slot .image-viewer figcaption {
  position: absolute;
  z-index: 5;
  inset-inline-start: 18px;
  inset-block-end: 18px;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 13px 15px;
  border-inline-start: 2px solid var(--violet);
  border-radius: 3px;
  background: rgba(5, 8, 13, .82);
  backdrop-filter: blur(14px);
}

.fullscreen-stage-slot .image-viewer figcaption span {
  font-size: .85rem;
  font-weight: 750;
}

.fullscreen-stage-slot .image-viewer figcaption small {
  color: var(--muted);
  font-size: .75rem;
}

.fullscreen-stage-slot .image-canvas {
  touch-action: pan-x pan-y;
}

.fullscreen-stage-slot .image-viewer.is-zoomed .image-canvas {
  cursor: grab;
  touch-action: none;
}

.fullscreen-stage-slot .image-viewer.is-dragging .image-canvas {
  cursor: grabbing;
}

.fullscreen-panel-slot .image-panel {
  height: 100%;
  max-height: none;
  border-color: var(--line-strong);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0, rgba(113, 78, 214, .14), transparent 38%),
    linear-gradient(180deg, #10131e, #0b0f17);
}

.fullscreen-panel-slot .panel-scroll {
  padding-block-start: 28px;
}

.fullscreen-panel-slot .detail-badge-label {
  display: none;
}

.fullscreen-panel-slot .fullscreen-badge-label {
  display: inline;
}

.fullscreen-panel-slot .showcase-badge .badge-dot {
  border-color: rgba(198, 178, 255, .65);
  background: var(--violet);
  box-shadow: 0 0 14px rgba(160, 120, 255, .9);
}

.fullscreen-panel-slot .image-panel h1 {
  max-width: 11em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 3.15vw, 3.7rem);
  font-weight: 450;
  line-height: .98;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
.image-canvas:focus-visible {
  outline: 2px solid var(--violet-bright);
  outline-offset: 3px;
}

.not-found-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.not-found-card {
  width: min(100%, 520px);
  display: grid;
  justify-items: center;
  padding: 52px clamp(26px, 7vw, 58px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(15, 21, 34, .94);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .45);
  text-align: center;
}

.not-found-card > span {
  margin-block-start: 16px;
  color: var(--violet);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.not-found-card h1 {
  margin: 22px 0 0;
  font: 450 clamp(2rem, 7vw, 3.2rem)/1 Georgia, "Times New Roman", serif;
}

.not-found-card p {
  max-width: 360px;
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

.not-found-card .download-action {
  min-width: 210px;
}

@media (max-width: 1080px) {
  .public-detail-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .public-header-inner {
    grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  }
}

@media (max-width: 880px) {
  .public-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 15px;
  }

  .public-navigation {
    gap: 13px;
  }

  .public-detail-grid {
    grid-template-columns: 1fr;
  }

  .image-panel {
    height: auto;
    max-height: none;
  }

  .panel-scroll {
    overflow: visible;
  }

  .fullscreen-result {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(440px, 68svh) auto;
    overflow-y: auto;
  }

  .fullscreen-stage-slot {
    min-height: 440px;
  }

  .fullscreen-panel-slot .image-panel {
    height: auto;
  }

  .fullscreen-panel-slot .panel-scroll {
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .public-header-inner,
  .public-detail-page,
  .public-page-footer > div {
    width: min(100% - 24px, 1340px);
  }

  .public-header-inner {
    min-height: 60px;
    gap: 10px;
  }

  .public-brand {
    gap: 8px;
  }

  .public-brand img {
    width: 35px;
    height: 35px;
  }

  .public-brand strong {
    font-size: .75rem;
  }

  .public-navigation a:first-child {
    display: none;
  }

  .public-navigation a {
    font-size: .78rem;
  }

  .public-header .header-cta {
    width: 34px;
    min-height: 34px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .public-header .header-cta span {
    color: var(--violet-bright);
    font-size: .88rem;
  }

  .public-detail-page {
    padding-block-start: 10px;
  }

  .public-breadcrumbs {
    margin-block-end: 10px;
  }

  .image-stage-home {
    height: min(58svh, 470px);
    min-height: 330px;
  }

  .related-observations {
    padding: 15px 13px 13px;
  }

  .related-observations-heading {
    align-items: flex-end;
    margin-block-end: 10px;
  }

  .related-observations-heading h2 {
    font-size: .78rem;
  }

  .open-fullscreen {
    max-width: calc(100% - 28px);
  }

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

  .detail-image-meta.has-observation {
    grid-template-columns: 1fr 1fr;
  }

  .detail-image-meta > div:nth-child(3) {
    grid-column: 1 / -1;
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }

  .overview-facts {
    grid-template-columns: 1fr;
  }

  .panel-scroll {
    padding: 23px 18px 26px;
  }

  .image-panel h1 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .primary-actions {
    grid-template-columns: 1fr;
  }

  .panel-footer {
    padding-inline: 18px;
  }

  .public-page-footer > div {
    grid-template-columns: 1fr auto;
    padding-block: 14px;
  }

  .public-page-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .fullscreen-shell {
    grid-template-rows: 60px minmax(0, 1fr);
  }

  .fullscreen-header {
    padding-inline: 12px;
  }

  .fullscreen-header .public-brand strong {
    display: none;
  }

  .fullscreen-header .header-cta {
    width: 34px;
    min-height: 34px;
    padding: 0;
    color: transparent;
    font-size: 0;
  }

  .fullscreen-header .header-cta span {
    color: var(--violet-bright);
    font-size: .88rem;
  }

  .close-fullscreen {
    width: 36px;
    min-height: 36px;
    justify-content: center;
    padding: 0;
  }

  .close-fullscreen span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .fullscreen-result {
    grid-template-rows: minmax(350px, 59svh) auto;
    gap: 10px;
    padding: 10px;
  }

  .fullscreen-stage-slot {
    min-height: 350px;
  }

  .fullscreen-stage-slot .image-toolbar {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .fullscreen-stage-slot .image-viewer figcaption {
    inset-inline: 12px;
    inset-block-end: 12px;
  }

  .fullscreen-panel-slot .image-panel h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }
}

@media (max-width: 410px) {
  .public-header .public-brand strong {
    display: none;
  }

  .details-section dl > div {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 4px;
    padding-block: 8px;
  }

  .details-section dd {
    text-align: start;
  }

  .details-section .orientation-reading {
    justify-content: flex-start;
  }

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

  .detail-image-meta > div + div,
  .detail-image-meta > div:nth-child(3) {
    grid-column: auto;
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }

  .related-observations nav {
    grid-template-columns: 1fr;
  }
}

.community-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-block-start: 8px;
}

.community-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 720;
}

.community-actions button:hover,
.community-actions button[aria-pressed="true"] {
  border-color: rgba(142, 114, 255, .65);
  background: rgba(142, 114, 255, .14);
}

.community-actions button[aria-pressed="true"] > span:first-child {
  color: var(--violet-bright);
}

.community-actions b {
  color: var(--muted-bright);
  font-size: .78rem;
}

.public-community {
  width: min(940px, 100%);
  margin: clamp(42px, 7vw, 92px) auto 0;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(101, 160, 255, .1), transparent 34%),
    rgba(9, 16, 29, .9);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .25);
}

.public-community-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-block-end: 22px;
}

.public-community-heading h2 {
  margin: 5px 0 0;
  font: 450 clamp(1.75rem, 4vw, 2.6rem)/1.05 Georgia, "Times New Roman", serif;
}

.public-community-heading h2 span {
  color: var(--muted);
  font: 650 .9rem/1 ui-sans-serif, sans-serif;
}

.community-status,
.community-sign-in,
.community-profile-form,
.community-comment-form {
  margin-block-end: 18px;
}

.community-status {
  color: var(--muted);
  font-size: .9rem;
}

.community-sign-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}

.community-sign-in[hidden],
.community-profile-form[hidden],
.community-comment-form[hidden] {
  display: none;
}

.community-sign-in p {
  margin: 0;
  color: var(--muted-bright);
  font-size: .9rem;
}

.community-sign-in a,
.community-profile-form button,
.community-comment-form button,
.community-load-more {
  min-height: 40px;
  border: 1px solid rgba(142, 114, 255, .5);
  border-radius: 7px;
  padding: 9px 15px;
  background: rgba(142, 114, 255, .16);
  color: #f4f0ff;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 750;
}

.community-profile-form,
.community-comment-form {
  display: grid;
  gap: 10px;
  align-items: end;
}

.community-profile-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.community-profile-form label,
.community-comment-form label {
  display: grid;
  gap: 7px;
  color: var(--muted-bright);
  font-size: .85rem;
}

.community-profile-form small {
  color: var(--muted);
  font-size: .78rem;
}

.community-profile-form input,
.community-comment-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(2, 7, 15, .72);
  color: var(--text);
  font: inherit;
}

.community-comment-form textarea {
  resize: vertical;
  min-height: 96px;
}

.community-comments {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.community-comment {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px 0;
  border-block-start: 1px solid var(--line);
}

.community-comment-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  object-fit: cover;
  background: rgba(142, 114, 255, .12);
  color: var(--violet-bright);
  font-weight: 800;
}

.community-comment-copy {
  min-width: 0;
}

.community-comment-copy header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.community-comment-copy header a {
  color: #ded5ff;
  font-size: .88rem;
  font-weight: 780;
}

.community-comment-copy time {
  color: var(--muted);
  font-size: .75rem;
}

.community-comment-copy p {
  margin: 7px 0 0;
  color: #d6dbe5;
  font-size: .95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.community-comment-delete {
  align-self: start;
  border: 0;
  padding: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .78rem;
}

.community-comment-delete:hover {
  color: #fff;
}

.community-empty {
  padding: 22px 0;
  color: var(--muted);
  font-size: .9rem;
}

.community-load-more {
  display: block;
  margin: 18px auto 0;
}

.community-load-more[hidden] {
  display: none;
}

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

@media (max-width: 720px) {
  .community-actions,
  .community-profile-form {
    grid-template-columns: 1fr;
  }

  .public-community {
    padding: 22px 17px;
    border-radius: 12px;
  }

  .community-sign-in {
    align-items: stretch;
    flex-direction: column;
  }

  .community-comment {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .community-comment-avatar {
    width: 34px;
    height: 34px;
  }

  .community-comment-delete {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
