@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/plex.woff2') format('woff2');
  font-display: swap;
}
:root {
  --surface: #1B1E20;
  --surface-2: #292E32;
  --edge: #525A5E;
  --subtle: #373E42;
  --bar: 72px;
  --nav-height: 0px;
  --pad: clamp(20px, 5vw, 84px);
  --radio-safe: 0px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  min-width: 0;
  background: var(--ll-ink);
}
body {
  margin: 0;
  color: var(--ll-bone);
  font: 400 1rem/1.5 var(--ll-body);
  min-height: 100svh;
}
body.has-mini {
  --radio-safe: 60px;
}
[hidden] {
  display: none !important;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  font: inherit;
}
button {
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.47;
}
a {
  color: var(--ll-peach);
  text-underline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font: 700 2rem/0.98 var(--ll-display);
}
p {
  max-width: 65ch;
}
input[type='checkbox'],
input[type='range'],
progress {
  accent-color: var(--ll-tide);
}
input[type='checkbox'] {
  width: 21px;
  height: 21px;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--ll-focus);
  outline-offset: 3px;
}
button:active:not(:disabled),
.sample-pressed {
  filter: brightness(0.86);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 30;
  background: var(--ll-peach);
  color: var(--ll-ink);
  padding: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: inherit;
}
.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.kicker,
.mono {
  font-family: var(--ll-mono);
  font-size: 0.75rem;
  letter-spacing: 0.095em;
}
.kicker {
  color: var(--ll-peach);
  line-height: 1.45;
  text-transform: uppercase;
}
.fine {
  font-size: 0.82rem;
  color: var(--ll-muted);
  line-height: 1.5;
}
.button,
.icon-button,
.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--edge);
  background: var(--surface-2);
  padding: 9px 14px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.875rem;
  line-height: 1.25;
  color: var(--ll-bone);
  transition:
    background var(--ll-press),
    border-color var(--ll-press);
}
.button:hover,
.icon-button:hover,
.header-button:hover {
  background: #333A3E;
  border-color: var(--ll-muted);
}
.button.primary {
  background: var(--ll-peach);
  border-color: var(--ll-peach);
  color: var(--ll-ink);
}
.button.primary:hover {
  background: #ffd4ab;
  border-color: #ffd4ab;
}
.button.ghost {
  background: #181622a8;
  border-color: #bcb0c4;
  color: var(--ll-bone);
}
.button.compact {
  padding-inline: 12px;
}
.button.quiet {
  justify-content: flex-start;
  text-align: left;
  background: transparent;
}
.button.active-waypoint {
  color: var(--ll-tide);
  border-color: var(--ll-tide);
}
.icon-button {
  width: 44px;
  min-width: 44px;
  padding: 0;
  font-size: 1.35rem;
}
.inline-button {
  color: var(--ll-peach);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0;
  min-height: 44px;
  text-align: left;
}
.topbar {
  min-height: var(--bar);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 9;
  padding: 0 28px;
  background: var(--ll-ink);
  border-bottom: 1px solid var(--subtle);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ll-bone);
  text-decoration: none;
  width: max-content;
  line-height: 1;
}
.brand > span:last-child {
  font: 700 1.86rem/0.93 var(--ll-display);
  letter-spacing: 0.02em;
}
.brand-emblem {
  width: 44px;
  height: 36px;
  object-fit: contain;
}
.brand small {
  display: block;
  color: var(--ll-muted);
  font: 400 0.57rem/1.3 var(--ll-mono);
  letter-spacing: 0.12em;
  margin-top: 4px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.primary-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  min-height: var(--bar);
  color: var(--ll-muted);
  position: relative;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
}
.primary-nav a:hover,
.primary-nav a[aria-current='page'] {
  color: var(--ll-bone);
  background: linear-gradient(0deg, #37281F, transparent 85%);
}
.primary-nav a[aria-current='page']::after {
  content: '';
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  border-radius: 3px 3px 0 0;
  background: var(--ll-peach);
}
.primary-nav a[aria-current='page'] .icon {
  color: var(--ll-peach);
}
.header-actions {
  display: flex;
  justify-self: end;
  gap: 8px;
}
.header-button {
  background: transparent;
  padding-inline: 12px;
}
.header-button .icon {
  width: 19px;
  height: 19px;
}
.menu-lines {
  width: 17px;
  height: 12px;
  border-block: 1.6px solid currentColor;
  position: relative;
}
.menu-lines::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  border-top: 1.6px solid currentColor;
}
.opening {
  isolation: isolate;
  position: relative;
  min-height: clamp(420px, 61vh, 700px);
  display: grid;
  background: #291e36;
  overflow: hidden;
  border-bottom: 1px solid #604458;
}
.opening-photo,
.opening-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.opening-photo img {
  width: 100%;
  height: 100%;
  object-position: 66% 53%;
}
.opening-scrim {
  background:
    linear-gradient(90deg, #111315fb 0%, #151719e3 24%, #1b142666 55%, #1b14262b 100%),
    linear-gradient(0deg, #111315ed 0%, transparent 47%, #1d112e66);
}
.opening-inner {
  width: min(100%, 1650px);
  height: 100%;
  margin: auto;
  padding: 22px var(--pad) 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.opening-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.opening-meta > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffe0ba;
  font: 0.72rem var(--ll-mono);
  letter-spacing: 0.15em;
}
.opening-meta .icon {
  width: 17px;
  height: 17px;
}
.hero-copy {
  width: min(100%, 690px);
  margin-bottom: clamp(3px, 3vw, 34px);
  animation: hero-enter 680ms var(--ll-ease) both;
}
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.studio-signature {
  width: 225px;
  height: auto;
  object-fit: contain;
  margin-bottom: 13px;
}
.hero-copy h1 {
  font-size: clamp(5rem, 11.7vw, 11.5rem);
  letter-spacing: -0.032em;
  text-transform: uppercase;
  line-height: 0.83;
  white-space: nowrap;
}
.hero-copy h1 span {
  color: var(--ll-peach);
}
.hero-copy h1 .hero-period {
  color: var(--ll-signal);
}
.hero-deck {
  font-size: clamp(1.04rem, 2.2vw, 1.42rem);
  color: var(--ll-bone);
  margin: 19px 0 20px;
}
.hero-actions .button {
  min-height: 49px;
  padding-inline: 16px;
}
.game-mark {
  position: absolute;
  width: clamp(80px, 11vw, 180px);
  right: var(--pad);
  bottom: 43px;
  filter: drop-shadow(0 3px 15px #170d2a9c);
}
.postcard-section,
.page-shell {
  width: min(100%, 1500px);
  margin: auto;
  padding: 30px var(--pad) 54px;
}
.postcard-section {
  background: linear-gradient(180deg, var(--ll-asphalt) 0, transparent 200px);
}
.section-line {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 15px;
}
.section-line h2 {
  font-size: clamp(2.05rem, 4.9vw, 3.25rem);
}
.section-line > .kicker {
  color: var(--ll-muted);
  text-align: right;
}
.postcard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.postcard {
  display: block;
  text-align: left;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  transition:
    border-color var(--ll-press),
    background var(--ll-press);
}
.postcard:hover,
.postcard:focus-visible {
  border-color: var(--region-accent);
  background: var(--ll-panel);
}
.postcard-art {
  display: block;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #29273e, #312336);
  overflow: hidden;
}
.postcard-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.postcard-copy {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.postcard-copy strong {
  display: block;
  font: 700 1.58rem/0.98 var(--ll-display);
}
.postcard-copy small {
  display: block;
  font-size: 0.76rem;
  color: var(--ll-muted);
  margin-top: 4px;
}
.arrow {
  display: grid;
  place-items: center;
  border: 1px solid var(--edge);
  border-radius: 50%;
  width: 33px;
  height: 33px;
  flex: none;
  color: var(--region-accent);
}
.postcard-flight {
  position: fixed;
  z-index: 12;
  max-width: none;
  pointer-events: none;
  object-fit: contain;
  box-shadow: 0 20px 80px #110e1f72;
}
.missing-art {
  visibility: hidden;
}
.atlas-frame {
  background: var(--ll-ink);
  width: 100%;
  height: calc(100dvh - var(--bar-actual, var(--bar)) - var(--nav-height));
  min-height: 440px;
  display: grid;
  grid-template-columns: clamp(280px, 23vw, 332px) minmax(0, 1fr);
  position: relative;
  overflow: hidden;
}
.atlas-index {
  position: relative;
  z-index: 2;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px 19px 28px;
  background: linear-gradient(165deg, var(--ll-panel), var(--ll-ink) 65%);
  border-right: 1px solid #675972;
  scrollbar-width: thin;
  scrollbar-color: #756783 transparent;
}
.index-heading {
  padding: 0 2px 13px;
}
.index-heading .kicker {
  color: var(--region-accent);
}
.index-heading h1 {
  margin-top: 6px;
  font-size: clamp(2.8rem, 4.4vw, 3.8rem);
  line-height: 0.94;
}
.index-heading p:last-child {
  font-size: 0.88rem;
  color: var(--ll-muted);
  margin-top: 10px;
}
.index-postcard {
  width: 100%;
  border: 1px solid var(--edge);
  border-radius: 9px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background: var(--surface-2);
}
.index-postcard img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #23233c;
}
.index-postcard span {
  display: flex;
  justify-content: space-between;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 650;
}
.index-postcard span span {
  display: inline;
  padding: 0;
  color: var(--region-accent);
}
.mini-regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.mini-regions .postcard-copy {
  padding: 7px;
}
.mini-regions .postcard-copy strong {
  font-size: 1.12rem;
}
.mini-regions .postcard-copy small,
.mini-regions .arrow {
  display: none;
}
.index-places {
  margin-top: 20px;
}
.index-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 2px 8px;
}
.index-subhead h2 {
  font-size: 1.7rem;
}
.index-subhead > span,
.chapter-group summary span {
  background: var(--ll-panel);
  color: var(--ll-muted);
  font: 0.72rem var(--ll-mono);
  padding: 3px 8px;
  border-radius: 20px;
}
.search-box,
.filter-control {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--ll-asphalt);
  color: var(--ll-muted);
  padding: 0 10px;
}
.search-box:focus-within,
.filter-control:focus-within {
  outline: 2px solid var(--ll-focus);
  outline-offset: 2px;
}
.search-box .icon,
.filter-control .icon {
  width: 18px;
  height: 18px;
}
.search-box input,
.filter-control select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  color: var(--ll-bone);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.875rem;
}
.search-box input::placeholder,
textarea::placeholder {
  color: #b7aabe;
  opacity: 1;
}
.filter-control {
  margin: 8px 0;
  background: var(--ll-panel);
}
select {
  color: var(--ll-bone);
  background: var(--ll-panel);
  border: 1px solid var(--edge);
  border-radius: 7px;
  padding: 6px;
}
select option {
  background: var(--ll-panel);
  color: var(--ll-bone);
}
.place-list {
  display: grid;
  gap: 4px;
}
.place-row {
  width: 100%;
  display: grid;
  text-align: left;
  align-items: center;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 51px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--ll-bone);
}
.place-row:hover,
.place-row[aria-current='location'] {
  background: var(--ll-panel);
  border-color: #705a73;
}
.place-row[aria-current='location'] {
  box-shadow: inset 3px 0 var(--ll-coral);
}
.row-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: var(--ll-panel);
  color: var(--ll-peach);
  flex: none;
}
.place-row .row-icon .icon {
  width: 18px;
  height: 18px;
}
.place-row strong,
.result-main strong {
  display: block;
  line-height: 1.2;
  font-size: 0.92rem;
}
.place-row small,
.result-main small {
  display: block;
  font-size: 0.72rem;
  color: var(--ll-muted);
  margin-top: 3px;
}
.place-row > span:last-child {
  color: var(--ll-muted);
}
.map-workspace {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #173047;
}
.map-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background: radial-gradient(ellipse at 50% 50%, #264459, #132b42 80%);
}
.map-viewport:focus-visible {
  outline-offset: -4px;
  z-index: 1;
}
.map-viewport.dragging {
  cursor: grabbing;
}
.map-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 5379px;
  height: 7504px;
  transform-origin: top left;
  background: #27a99b;
  pointer-events: none;
  filter: brightness(0.67) saturate(0.6) hue-rotate(13deg);
}
.map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.map-tiles {
  position: absolute;
  inset: 0;
}
.map-tiles img {
  position: absolute;
  max-width: none;
  object-fit: fill;
}
.map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.marker {
  position: absolute;
  left: -22px;
  top: -22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  padding: 0;
  z-index: 2;
  user-select: none;
}
.marker-symbol {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #211a30;
  color: #ffe0b6;
  border: 1px solid #f4bb9d;
  border-radius: 50%;
  box-shadow: 0 3px 8px #0b0e14aa;
}
.marker-symbol .icon {
  width: 17px;
  height: 17px;
}
.marker-cluster .marker-symbol {
  width: 34px;
  height: 34px;
  background: #211b35;
  border: 2px solid #e2b4dc;
  color: #fff3f7;
  font: 400 0.86rem var(--ll-mono);
}
.marker-region .marker-symbol {
  height: 33px;
  width: 33px;
  color: #fff3dd;
  border: 1px solid #f3b78f;
}
.marker-region .pin-label {
  font-size: 0.77rem;
}
.marker.selected {
  z-index: 4;
}
.marker.selected .marker-symbol {
  width: 40px;
  height: 40px;
  border: 2px solid var(--ll-peach);
  color: var(--ll-peach);
  box-shadow:
    0 0 0 4px #ff712c44,
    0 4px 14px #161021;
}
.marker.selected .marker-symbol .icon,
.marker.waypoint .marker-symbol .icon {
  width: 23px;
  height: 23px;
}
.marker.waypoint {
  z-index: 5;
}
.marker.waypoint .marker-symbol {
  width: 40px;
  height: 40px;
  border: 2px solid var(--ll-tide);
  color: var(--ll-tide);
  box-shadow:
    0 0 0 4px #7bedda60,
    0 0 0 9px #7bedda35;
  animation: waypoint 2.4s ease-out infinite;
}
@keyframes waypoint {
  70%,
  100% {
    box-shadow:
      0 0 0 4px #7bedda60,
      0 0 0 12px #7bedda00;
  }
}
.pin-label {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 4px;
  background: #171322ee;
  color: #fff3d7;
  font-size: 0.72rem;
  font-weight: 740;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
}
.note-dot {
  position: absolute;
  right: 5px;
  top: 5px;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  background: var(--ll-coral);
  border: 1px solid #23162d;
}
.map-caption {
  position: absolute;
  top: 17px;
  left: 17px;
  display: grid;
  gap: 5px;
  z-index: 3;
}
.map-region-chip {
  min-height: 41px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ll-bone);
  background: #1c1728f5;
  border: 1px solid #8c728e;
  border-radius: 9px;
  padding: 8px 11px;
  font-weight: 650;
  font-size: 0.84rem;
}
.map-region-chip i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--region-accent);
}
.map-resume {
  justify-self: start;
  min-height: 39px;
  font-size: 0.78rem;
  color: var(--ll-tide);
  background: #201b2cf0;
}
.map-warning {
  font-size: 0.8rem;
  background: var(--ll-panel);
  padding: 8px;
  color: var(--ll-danger);
}
.map-controls {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  gap: 6px;
  z-index: 3;
}
.map-button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  line-height: 1;
  color: #fff0da;
  background: #211b2bf5;
  border: 1px solid #897591;
  border-radius: 9px;
  box-shadow: 0 2px 8px #140f1c4d;
}
.map-button:hover {
  background: #44334a;
}
.map-button .icon {
  width: 20px;
  height: 20px;
}
.map-footer {
  display: flex;
  gap: 12px;
  position: absolute;
  bottom: 15px;
  left: 16px;
  z-index: 2;
  pointer-events: none;
  padding: 5px 8px;
  font: 0.67rem/1.35 var(--ll-mono);
  letter-spacing: 0.06em;
  color: #f5e9ef;
  background: #191627e7;
  border-radius: 4px;
}
.map-sheet {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: calc(45px + var(--radio-safe));
  width: min(350px, 42%);
  border-radius: 14px;
  overflow: auto;
  max-height: min(62%, 640px);
  background: var(--ll-asphalt);
  border: 1px solid #8c748e;
  scrollbar-width: thin;
  box-shadow: 0 20px 55px #100c1c7d;
  animation: panel-in var(--ll-panel-time) var(--ll-ease) both;
}
.map-sheet[data-has-place='false'] {
  display: none;
}
.sheet-mobile-head,
.map-selection,
.region-extra {
  display: none;
}
.sheet-art {
  position: relative;
  height: clamp(92px, 15vh, 145px);
  background: linear-gradient(135deg, #212841, #353343);
  overflow: hidden;
}
.sheet-art img {
  width: 100%;
  height: 100%;
  object-position: 50% 52%;
}
.close-sheet {
  position: absolute;
  right: 9px;
  top: 9px;
  background: #1c1729f0;
}
.sheet-body {
  padding: 15px 16px 16px;
}
.sheet-summary {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}
.sheet-summary h2 {
  font-size: clamp(2.25rem, 4.1vw, 3.4rem);
  line-height: 0.94;
  margin-top: 5px;
}
.sheet-summary .kicker {
  color: var(--region-accent);
  font-size: 0.68rem;
}
.place-seal {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: none;
  border: 1px solid #745670;
  border-radius: 10px;
  background: #332637;
  color: var(--ll-peach);
}
.sheet-body > p {
  margin: 9px 0 12px;
  color: var(--ll-muted);
  font-size: 0.88rem;
}
.sheet-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.sheet-meta {
  margin-top: 12px;
  border-top: 1px solid var(--edge);
  padding-top: 8px;
  font-size: 0.8rem;
}
.sheet-meta > a {
  display: inline-block;
  margin-top: 6px;
}
.note-field {
  display: grid;
  gap: 6px;
  margin: 7px 0;
  color: var(--ll-muted);
  font-size: 0.79rem;
}
.note-field > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.note-field .icon {
  width: 17px;
  height: 17px;
}
textarea {
  width: 100%;
  resize: vertical;
  min-height: 52px;
  color: var(--ll-bone);
  background: var(--ll-asphalt);
  border: 1px solid var(--edge);
  border-radius: 7px;
  padding: 8px;
  font-size: 0.875rem;
}
.empty-inline {
  padding: 8px;
}
.index-region-details {
  margin-top: 16px;
  border-top: 1px solid var(--edge);
  padding-top: 4px;
}
.index-region-details summary {
  font-size: 0.86rem;
}
.index-region-details h3 {
  font-size: 1.4rem;
}

dialog {
  position: fixed;
  padding: 0;
  max-height: min(92dvh, 890px);
  width: min(690px, calc(100% - 32px));
  margin: auto;
  border: 1px solid #827089;
  border-radius: 16px;
  background: var(--ll-asphalt);
  color: var(--ll-bone);
  box-shadow: 0 24px 90px #090710bf;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
dialog[open] {
  animation: panel-in var(--ll-panel-time) var(--ll-ease) both;
}
dialog::backdrop {
  background: #10101bc7;
  backdrop-filter: blur(3px);
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dialog-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 7px 17px;
  background: var(--ll-asphalt);
  border-bottom: 1px solid var(--subtle);
}
.dialog-top h2 {
  font-size: 1.85rem;
}
.guide-art {
  height: clamp(98px, 15vh, 146px);
  background: #28384c;
}
.guide-art img {
  width: 100%;
  height: 100%;
  object-position: 55% 48%;
}
.guide-body,
.locked-detail {
  padding: 18px 24px 26px;
}
.guide-heading h2,
.guide-body > h2,
.locked-detail h2 {
  font-size: clamp(2.35rem, 6vw, 3.9rem);
  line-height: 0.98;
  text-wrap: balance;
}
.guide-heading p,
.guide-body > p,
.locked-detail p {
  margin-top: 10px;
  color: var(--ll-muted);
}
.guide-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 15px 0;
}
.prerequisite {
  border-left: 3px solid var(--ll-peach);
  padding: 8px 12px;
  background: #2b2435;
  font-size: 0.88rem;
  border-radius: 0 8px 8px 0;
}
.prerequisite strong {
  display: block;
  color: var(--ll-bone);
  margin-bottom: 3px;
}
.checklist-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 17px 0 7px;
}
.checklist-heading h3 {
  font-size: 1.77rem;
}
.checklist-heading span {
  color: var(--ll-tide);
  font-size: 0.78rem;
  text-align: right;
}
progress {
  display: block;
  width: 100%;
  height: 7px;
  border: none;
  border-radius: 8px;
  background: #3b344a;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #3b344a;
}
progress::-webkit-progress-value {
  background: var(--ll-tide);
}
.steps {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.steps label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 11px 13px;
  min-height: 49px;
  border: 1px solid var(--edge);
  border-radius: 9px;
  background: var(--ll-panel);
  cursor: pointer;
}
.steps label > span > span {
  display: block;
}
.steps label > span > span:last-child {
  color: var(--ll-muted);
  font-size: 1.025rem;
  line-height: 1.48;
}
.steps label .step-title {
  font-weight: 690;
  font-size: 0.95rem;
  margin-bottom: 3px;
  color: var(--ll-bone);
}
.steps label:has(:checked) {
  border-color: #669687;
  background: #203330;
}
.steps label:has(:checked) .step-title {
  color: var(--ll-tide);
}
.steps input {
  margin: 3px 0 0;
}
.source-box,
.optional {
  padding: 9px 0 0;
  margin: 10px 0 0;
  border-top: 1px solid var(--edge);
  font-size: 0.88rem;
}
summary {
  cursor: pointer;
  color: var(--ll-bone);
  min-height: 36px;
  padding: 6px 0;
  font-weight: 650;
}
.source-box p,
.optional p {
  margin: 5px 0;
  color: var(--ll-muted);
}
.locked-detail > .icon {
  color: var(--ll-peach);
  width: 33px;
  height: 33px;
  margin-bottom: 8px;
}
.locked-detail .button {
  margin-top: 18px;
}
.utility-body {
  padding: 16px 18px 22px;
}
.utility-body > p {
  color: var(--ll-muted);
  margin: 10px 0;
}
.utility-body .search-box {
  margin-bottom: 12px;
}
.menu-list,
.settings-list {
  display: grid;
  gap: 8px;
}
.menu-list .button,
.region-resources .button {
  justify-content: flex-start;
}
.menu-list .button .icon {
  color: var(--ll-peach);
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  border-bottom: 1px solid var(--edge);
}
.settings-row input[type='range'] {
  width: min(42%, 210px);
}
.settings-list > p {
  color: var(--ll-muted);
  margin: 6px 0;
}
.picker-grid .postcard-copy strong {
  font-size: 1.3rem;
}
.region-resources {
  display: grid;
  gap: 7px;
}
.toast {
  position: fixed;
  z-index: 24;
  bottom: calc(18px + var(--nav-height) + var(--radio-safe));
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  background: var(--ll-panel);
  color: var(--ll-bone);
  border: 1px solid #c5a4c7;
  border-radius: 9px;
  padding: 7px 11px;
  box-shadow: 0 10px 32px #09061091;
  font-size: 0.86rem;
}
.toast button {
  color: var(--ll-peach);
  min-height: 36px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#storage-warning:not(:empty) {
  position: fixed;
  z-index: 28;
  left: 12px;
  bottom: 8px;
  background: #33271F;
  border: 1px solid var(--ll-danger);
  padding: 9px;
  border-radius: 8px;
  color: var(--ll-danger);
  max-width: calc(100% - 24px);
}
.page-shell {
  max-width: 1200px;
  padding-top: clamp(30px, 5vw, 74px);
  padding-bottom: calc(54px + var(--radio-safe));
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 22px;
}
.page-heading h1 {
  font-size: clamp(3.25rem, 8vw, 6.35rem);
  letter-spacing: -0.02em;
  margin: 4px 0;
}
.page-heading p:last-child {
  color: var(--ll-muted);
  margin-top: 10px;
}
.library-toolbar {
  display: grid;
  gap: 13px;
  margin: 16px 0;
}
.library-toolbar .search-box {
  max-width: 650px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  border: 1px solid var(--edge);
  border-radius: 22px;
  padding: 5px 12px;
  min-height: 40px;
  color: var(--ll-muted);
  font-size: 0.85rem;
}
.pill[aria-pressed='true'] {
  border-color: var(--ll-coral);
  color: var(--ll-bone);
  background: #392536;
}
.result-count {
  font: 400 0.77rem var(--ll-mono);
  color: var(--ll-muted);
  margin: 9px 0;
}
.result-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 61px;
  background: var(--surface);
  border: 1px solid var(--subtle);
  border-radius: 8px;
  margin: 5px 0;
}
.result-main {
  flex: 1;
  min-width: 0;
  text-align: left;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 9px;
  min-height: 53px;
}
.result-main:hover strong {
  color: var(--ll-peach);
}
.result-main small {
  margin: 0 0 3px;
}
.result-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
  font-size: 0.76rem;
}
.result-actions:empty {
  padding: 0;
}
.result-arrow {
  color: var(--ll-peach);
}
.chapter-group {
  padding: 3px 10px;
  border: 1px solid var(--edge);
  border-radius: 9px;
  margin: 8px 0;
}
.resume-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  margin: 0 0 17px;
  background: linear-gradient(110deg, #253a37, #271f32 72%);
  border: 1px solid #699287;
  border-radius: 12px;
}
.resume-card > .icon {
  width: 34px;
  height: 34px;
  color: var(--ll-tide);
}
.resume-card .kicker {
  color: var(--ll-tide);
}
.resume-card h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  margin: 5px 0;
}
.resume-card p:last-child {
  color: var(--ll-muted);
  font-size: 0.88rem;
  margin-top: 5px;
}
.empty-state {
  padding: 22px;
  border: 1px dashed var(--edge);
  border-radius: 10px;
  color: var(--ll-muted);
}
.empty-state h2 {
  color: var(--ll-bone);
  margin-bottom: 7px;
}
.empty-state .button {
  margin-top: 10px;
}
.coverage p {
  color: var(--ll-muted);
  margin: 6px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 0.88rem;
}
th,
td {
  padding: 8px 9px;
  text-align: left;
  border-bottom: 1px solid var(--subtle);
}
thead th {
  color: var(--ll-peach);
}
.session-tools,
.stop-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.queue-heading {
  margin-top: 22px;
}
.queue {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.stop {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 15px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface);
}
.stop.current {
  border-color: #659c91;
  background: linear-gradient(100deg, #243532, #221d2c 70%);
}
.stop.done {
  border-color: #728168;
}
.stop.done .kicker {
  color: var(--ll-success);
}
.stop.current .kicker {
  color: var(--ll-tide);
}
.stop-number {
  cursor: grab;
  font: 0.88rem var(--ll-mono);
  border: 1px solid var(--edge);
  border-radius: 7px;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  color: var(--ll-muted);
}
.stop-main h3 {
  font-size: clamp(1.65rem, 3.8vw, 2.55rem);
  margin: 3px 0 6px;
}
.stop-main p {
  font-size: 0.88rem;
  color: var(--ll-muted);
}
.stop-actions {
  margin-top: 10px;
}
.stop-sort {
  display: grid;
  align-content: start;
  gap: 4px;
}
.stop-sort .icon-button {
  background: var(--ll-panel);
}
.stop-note {
  font-size: 0.81rem;
  margin-top: 4px;
}
.session-foot {
  margin-top: 12px;
}
#mini {
  display: flex;
  align-items: center;
  gap: 7px;
  position: fixed;
  z-index: 8;
  right: 15px;
  bottom: calc(13px + var(--nav-height));
  min-height: 54px;
  max-width: calc(100% - 30px);
  border: 1px solid #8d7390;
  border-radius: 11px;
  background: var(--ll-panel);
  box-shadow: 0 10px 34px #0d0918a3;
  padding: 4px 7px;
}
#mini img,
.style-mini img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}
.mini-label {
  text-align: left;
  min-height: 44px;
  min-width: 118px;
  font-size: 0.8rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.mute-button[aria-pressed='true'] {
  color: var(--ll-coral);
  border-color: var(--ll-coral);
}
.mini-label small,
.style-mini small {
  display: block;
  color: var(--ll-muted);
  font-size: 0.72rem;
}
.radio-tuner {
  display: grid;
  grid-template-columns: minmax(120px, 210px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid #896f86;
  border-radius: 13px;
  background: linear-gradient(120deg, #3a2943, #201b2a 65%);
}
.radio-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.radio-tuner h2 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 4px 0 6px;
}
.radio-tuner p:not(.kicker) {
  color: var(--ll-muted);
}
.tuner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}
.tuner-actions a {
  font-size: 0.84rem;
}
.radio-status {
  min-height: 1.5em;
  font: 0.78rem/1.45 var(--ll-mono);
  color: var(--ll-muted);
}
.station-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 15px 0;
}
.station-card,
.gallery-tile {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 7px;
  overflow: hidden;
}
.station-card:hover,
.station-card[aria-pressed='true'] {
  border-color: var(--ll-peach);
}
.station-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: none;
  border-radius: 4px;
}
.station-card span:not(.icon) {
  flex: 1;
}
.station-card strong,
.station-card small {
  display: block;
  font-size: 0.83rem;
  line-height: 1.3;
}
.station-card small {
  font-size: 0.72rem;
  color: var(--ll-muted);
}
.station-card .icon {
  color: var(--ll-peach);
}
.gallery-tile {
  display: grid;
  padding: 0;
  gap: 0;
}
.gallery-tile img {
  width: 100%;
  aspect-ratio: 16/9;
}
.gallery-tile span {
  padding: 8px;
}
.clip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 15px 0;
}
.clip-grid figure {
  margin: 0;
}
.clip-grid video {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--ll-asphalt);
}
.clip-grid figcaption {
  color: var(--ll-muted);
  font-size: 0.85rem;
}
.light-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  text-align: center;
}
#lightbox-art img {
  max-height: 63vh;
  margin: auto;
  object-fit: contain;
}
.credits-logo {
  width: min(85%, 400px);
  margin-bottom: 19px;
}
.credits-page p,
.credits-page li {
  margin-top: 10px;
  color: var(--ll-muted);
}
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.style-grid section {
  padding: 15px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--surface);
}
.style-grid h2 {
  margin-bottom: 13px;
}
.style-grid section > p {
  margin: 8px 0;
}
.palette,
.symbol-list,
.style-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
}
.palette > div {
  color: var(--ll-muted);
  font: 0.72rem var(--ll-mono);
  text-align: center;
}
.palette i {
  display: block;
  width: 50px;
  height: 35px;
  border: 1px solid #8d7890;
  border-radius: 4px;
}
.symbol-list span,
.locked-sample {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ll-peach);
  font-size: 0.85rem;
  padding: 6px 8px;
  border: 1px solid var(--edge);
  border-radius: 7px;
}
.cluster-sample {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ll-coral);
  border-radius: 50%;
}
.sample-display {
  font: 700 2rem/1 var(--ll-display);
}
.style-mini {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid var(--edge);
  border-radius: 8px;
}
.style-mini > span {
  flex: 1;
}

@media (max-width: 1050px) {
  .topbar {
    padding-inline: 16px;
    gap: 10px;
  }
  .primary-nav a {
    padding-inline: 10px;
  }
  .atlas-index {
    padding-inline: 14px;
  }
  .map-sheet {
    right: 14px;
    width: min(315px, 48%);
  }
}
@media (max-width: 820px) {
  :root {
    --bar: 59px;
    --nav-height: calc(max(61px, 3.82rem) + env(safe-area-inset-bottom));
    --pad: 16px;
  }
  body {
    padding-bottom: var(--nav-height);
  }
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 0 12px;
  }
  .brand {
    gap: 8px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .brand-emblem {
    flex: none;
  }
  .brand > span:last-child {
    font-size: 1.64rem;
  }
  .brand-emblem {
    width: 33px;
    height: 33px;
    object-fit: contain;
  }
  .header-actions {
    gap: 5px;
  }
  .header-button {
    min-width: 44px;
    padding-inline: 8px;
  }
  .header-button:not(.menu-button) {
    font-size: 0;
  }
  .menu-button > span:last-child {
    display: none;
  }
  .primary-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 11;
    height: var(--nav-height);
    padding-bottom: env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    background: var(--ll-asphalt);
    border-top: 1px solid #665773;
  }
  .primary-nav a {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 3px 1px;
    min-height: 0;
    font-size: 0.71rem;
    line-height: 1.25;
    text-align: center;
  }
  .primary-nav a[aria-current='page']::after {
    top: 0;
    bottom: auto;
    left: 27%;
    right: 27%;
    border-radius: 0 0 3px 3px;
    height: 2px;
  }
  .primary-nav a .icon {
    width: 20px;
    height: 20px;
  }
  .opening {
    min-height: 375px;
  }
  .opening-inner {
    padding: 13px var(--pad) 19px;
  }
  .opening-meta > span {
    font-size: 0.6rem;
    gap: 4px;
    letter-spacing: 0.09em;
  }
  .opening-meta .button {
    font-size: 0.75rem;
    padding-inline: 8px;
  }
  .opening-scrim {
    background:
      linear-gradient(90deg, #1912269c, transparent),
      linear-gradient(0deg, #160f23f2 0%, #191027ba 32%, transparent 79%);
  }
  .hero-copy {
    margin: 0 0 2px;
  }
  .hero-copy h1 {
    font-size: clamp(3.55rem, 14.2vw, 6.35rem);
    letter-spacing: -0.024em;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .hero-deck {
    margin: 11px 0 13px;
    max-width: 34ch;
    font-size: 0.92rem;
  }
  .hero-actions .button {
    min-height: 44px;
  }
  .studio-signature {
    width: 186px;
    margin-bottom: 12px;
  }
  .game-mark {
    width: 61px;
    bottom: auto;
    top: 72px;
    right: var(--pad);
  }
  .postcard-section {
    padding-top: 18px;
  }
  .postcard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .section-line > .kicker {
    font-size: 0.62rem;
  }
  .postcard-copy {
    padding: 8px;
  }
  .postcard-copy strong {
    font-size: 1.33rem;
  }
  .postcard-copy small {
    font-size: 0.68rem;
  }
  .arrow {
    width: 25px;
    height: 25px;
    font-size: 0.85rem;
  }
  .atlas-frame {
    display: block;
    min-height: 0;
  }
  .atlas-index {
    display: none;
  }
  .map-workspace {
    position: absolute;
    inset: 0;
  }
  .map-caption {
    top: 12px;
    left: 10px;
  }
  .map-caption:has(.map-resume) + .map-controls + .map-footer {
    top: 104px;
  }
  .map-controls {
    right: 9px;
    top: 11px;
    gap: 5px;
  }
  .map-region-chip {
    min-height: 44px;
  }
  .map-button {
    border-radius: 8px;
  }
  .map-footer {
    top: 63px;
    bottom: auto;
    left: 10px;
    font-size: 0.56rem;
    gap: 7px;
  }
  .map-sheet {
    display: block;
    left: 6px;
    right: 6px;
    bottom: calc(5px + var(--radio-safe));
    width: auto;
    max-height: calc(68% - var(--radio-safe));
    border-radius: 14px 14px 10px 10px;
  }
  .map-sheet[data-has-place='false'] {
    display: block;
  }
  .map-sheet[data-sheet='peek'] .sheet-meta,
  .map-sheet[data-sheet='peek'] .place-summary {
    display: none;
  }
  .sheet-mobile-head {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    background: var(--ll-asphalt);
    z-index: 3;
    height: 24px;
  }
  .sheet-grip {
    display: grid;
    place-items: center;
    height: 30px;
    width: 120px;
    touch-action: none;
    padding-bottom: 6px;
  }
  .sheet-grip span {
    display: block;
    width: 39px;
    height: 4px;
    border-radius: 6px;
    background: #ae9bb2;
    pointer-events: none;
  }
  .sheet-art {
    height: 67px;
  }
  .close-sheet {
    top: 5px;
    right: 5px;
  }
  .sheet-body {
    padding: 8px 11px 11px;
  }
  .sheet-summary h2 {
    font-size: 2.42rem;
  }
  .sheet-actions {
    margin-top: 9px;
  }
  .sheet-actions .button {
    flex: 1;
  }
  .sheet-summary .kicker {
    font-size: 0.64rem;
  }
  .region-sheet > p {
    margin: 5px 0 7px;
  }
  .map-sheet[data-sheet='expanded'] .region-extra {
    display: block;
    margin-top: 9px;
  }
  .map-sheet[data-sheet='expanded'] .sheet-meta .button {
    display: flex;
    margin: 5px 0;
    width: 100%;
  }
  .sheet-places {
    min-height: 40px;
  }
  .sheet-grip:focus-visible {
    outline-offset: -4px;
  }
  .page-shell {
    padding-top: 22px;
    padding-bottom: calc(35px + var(--radio-safe));
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 13px;
    margin-bottom: 15px;
  }
  .page-heading p:last-child {
    font-size: 0.91rem;
    margin-top: 6px;
  }
  dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 31px);
    border-radius: 13px;
  }
  .dialog-top {
    padding-inline: 11px;
    min-height: 51px;
  }
  .dialog-top h2 {
    font-size: 1.65rem;
  }
  .guide-body,
  .locked-detail,
  .utility-body {
    padding: 13px 12px 17px;
  }
  .guide-art {
    height: 92px;
  }
  .guide-heading p {
    font-size: 0.89rem;
    margin-top: 5px;
  }
  .guide-actions {
    margin: 10px 0;
  }
  .prerequisite {
    padding: 6px 8px;
    font-size: 0.82rem;
  }
  .checklist-heading {
    margin-top: 12px;
  }
  .steps {
    gap: 6px;
    margin-top: 8px;
  }
  .steps label {
    padding: 7px 9px;
    gap: 6px;
  }
  .steps label > span > span:last-child {
    font-size: 0.97rem;
  }
  .resume-card {
    gap: 8px;
    padding: 12px;
    grid-template-columns: auto 1fr;
  }
  .resume-card > .icon {
    width: 26px;
    height: 26px;
  }
  .resume-card > .button {
    grid-column: 2;
    justify-self: start;
  }
  .stop {
    padding: 9px;
    gap: 7px;
  }
  .stop-number {
    width: 29px;
    height: 31px;
    font-size: 0.74rem;
  }
  .stop-actions .button {
    padding-inline: 8px;
    font-size: 0.76rem;
  }
  .stop-actions .icon {
    width: 17px;
    height: 17px;
  }
  .stop-sort .icon-button {
    min-width: 39px;
    width: 39px;
  }
  #mini {
    left: 7px;
    right: 7px;
    bottom: calc(4px + var(--nav-height));
    max-width: none;
  }
  .mini-label {
    flex: 1;
  }
  .radio-tuner {
    gap: 10px;
    padding: 11px;
    grid-template-columns: minmax(78px, 31%) minmax(0, 1fr);
  }
  .radio-tuner h2 {
    font-size: 2.45rem;
  }
  .station-grid,
  .gallery-grid,
  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .station-card img {
    width: 37px;
    height: 37px;
  }
  .station-card .icon {
    display: none;
  }
  .style-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 3.55rem;
  }
  .opening {
    min-height: 351px;
  }
  .postcard-copy {
    padding: 6px;
  }
  .postcard-copy strong {
    font-size: 1.2rem;
  }
  .picker-grid .postcard-copy strong {
    font-size: 1.14rem;
  }
  .station-card strong {
    font-size: 0.75rem;
  }
  .station-card {
    gap: 4px;
  }
}
@media (max-height: 620px) and (max-width: 820px) {
  .sheet-art {
    height: 48px;
  }
  .map-sheet[data-has-place='true'] .close-sheet {
    top: 2px;
    right: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
  }
}
