:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #fff4d9;
  background: #102c26;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(ellipse at 50% 22%, #245548, #102c26 66%, #0a211d);
}
.album { width: min(100%, 61rem); margin: auto; padding: 0 clamp(1rem, 4vw, 2rem) 1rem; }
.masthead {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-bottom: 1px solid #647e68;
}
h1 { font-size: clamp(1rem, 3.5vw, 1.35rem); line-height: 1.15; margin: 0; }
.jump { position: relative; flex: none; }
.jump::after {
  pointer-events: none;
  content: "";
  position: absolute;
  right: .85rem;
  top: calc(50% - .29rem);
  width: .42rem;
  height: .42rem;
  border-right: 2px solid #ffd063;
  border-bottom: 2px solid #ffd063;
  transform: rotate(45deg);
}
select, button {
  min-height: 2.75rem;
  border-radius: .5rem;
  border: 1px solid #819783;
  color: inherit;
  background: #183c33;
  font: 700 .95rem system-ui, sans-serif;
}
select { appearance: none; padding: .42rem 2rem .42rem .63rem; width: clamp(8rem, 35vw, 11rem); }
button { padding: .45rem .9rem; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
button:hover:not(:disabled) { color: #102c26; border-color: #ffd063; background: #ffd063; }
.album-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
}
.wordmark { display: grid; text-transform: uppercase; }
.wordmark-name { font-size: clamp(1.45rem, 4vw, 1.75rem); font-weight: 900; line-height: 1; }
.wordmark-subtitle { font-size: clamp(.63rem, 2vw, .77rem); line-height: 1.25; font-weight: 800; letter-spacing: .08em; }
.wordmark-paw { flex: none; width: clamp(1.65rem, 5vw, 2.3rem); }
.album-title:hover:not(:disabled) {
  color: #ffd063;
  background: transparent;
}
:focus-visible { outline: 3px solid #ffd063; outline-offset: 4px; }
.viewer {
  --card-width: min(100%, 29rem, max(13rem, (100svh - 12.3rem) * 5 / 7));
  padding-top: clamp(.75rem, 2.5vh, 1.5rem);
}
.stage {
  width: min(100%, 29rem);
  width: var(--card-width);
  margin: 0 auto;
  aspect-ratio: 5 / 7;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.stage img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4.7% / 3.4%;
  box-shadow: 0 .65rem 2.25rem #03151099;
  -webkit-user-drag: none;
}
nav {
  max-width: 29rem;
  margin: .85rem auto 0;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(4.25rem, .8fr) minmax(0, 1fr);
  gap: .35rem;
}
nav button { padding-inline: .35rem; }
output { text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; }
.hint { color: #ded9bd; font-size: .85rem; text-align: center; margin: .7rem 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
