:root {
  color-scheme: dark;
  --void: #07090d;
  --night: #10151b;
  --ink: #17140f;
  --paper: #d8c9a8;
  --paper-light: #eee2c7;
  --text: #ece4d3;
  --muted: #aaa598;
  --accent: #d3a95d;
  --accent-bright: #f0cd81;
  --danger: #ff8c8c;
  --ok: #a8d8a0;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--serif);
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.atlas-player {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(55, 63, 70, .34), transparent 32rem),
    linear-gradient(180deg, var(--night), var(--void) 65%);
  color: var(--text);
}

a { color: var(--accent-bright); }

.world-ambience {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orbit {
  position: absolute;
  left: 50%;
  top: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(211, 169, 93, .1);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.ambient-orbit::before, .ambient-orbit::after {
  content: "";
  position: absolute;
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: rgba(240, 205, 129, .42);
  box-shadow: 0 0 1.25rem rgba(240, 205, 129, .5);
}

.ambient-orbit::before { left: 12%; top: 24%; }
.ambient-orbit::after { bottom: 15%; right: 20%; }
.ambient-orbit-outer { width: min(78rem, 112vw); }
.ambient-orbit-inner { width: min(48rem, 74vw); transform: translate(-50%, -50%) rotate(23deg); }

.ambient-grain {
  position: absolute;
  inset: -50%;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 35%, rgba(0, 0, 0, .68) 110%);
}

.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  transform: translateY(-200%);
  background: var(--accent);
  color: #15100a;
  padding: .5rem .75rem;
  border-radius: .5rem;
}

.skip-link:focus { transform: translateY(0); }

.player-hud {
  width: min(90rem, calc(100% - 2rem));
  min-height: 4.5rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(211, 169, 93, .14);
  font-family: var(--sans);
}

.identity-mark {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--accent-bright);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.compass-mark { font-size: 1.15rem; }
.save-status { margin: 0; color: var(--muted); font-size: .7rem; letter-spacing: .08em; }

.game-stage {
  width: min(78rem, calc(100% - 2rem));
  min-height: calc(100vh - 9rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) 0 4rem;
}

.game-shell { outline: none; }

.scene {
  position: relative;
  width: min(58rem, 100%);
  margin: 0 auto;
}

.scene-masthead {
  max-width: 44rem;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.scene-masthead::after {
  content: "";
  display: block;
  width: 4rem;
  margin: 1.5rem auto 0;
  border-bottom: 1px solid rgba(211, 169, 93, .45);
}

h1, h2, h3 { line-height: 1.12; font-weight: 400; }
.scene h1 { margin: 0; font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: -.035em; }
.scene h3 { font-size: clamp(1.35rem, 3vw, 2rem); }
p, li { line-height: 1.7; }

button, input, select {
  font: inherit;
  border-radius: .15rem;
  border: 1px solid rgba(211, 169, 93, .38);
  padding: .8rem 1rem;
}

input, select {
  width: 100%;
  background: rgba(4, 6, 8, .68);
  color: var(--text);
}

button {
  cursor: pointer;
  background: var(--accent);
  color: #171109;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

button:hover:not(:disabled) { background: var(--accent-bright); transform: translateY(-1px); }
button:disabled { cursor: default; opacity: .32; }
button.secondary { background: rgba(8, 10, 13, .36); color: var(--text); }
button.secondary:hover:not(:disabled) { color: var(--accent-bright); border-color: var(--accent-bright); background: rgba(211, 169, 93, .08); }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #93ccff; outline-offset: 3px; }

.puzzle {
  margin: clamp(2rem, 6vw, 5rem) auto 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid rgba(211, 169, 93, .22);
  background: rgba(8, 10, 13, .58);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .28);
}

.puzzle > h3, .puzzle > p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.actions, .direction-buttons, .fold-buttons, .utility-controls, .location-buttons, .inline-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}

.scene > .actions { justify-content: center; margin-top: 2rem; }
.puzzle > .notice, .puzzle > .success, .puzzle > div > .notice, .puzzle > div > .success { text-align: center; }
.hints { margin-top: 2rem; color: var(--muted); font-family: var(--sans); font-size: .78rem; }
.hints summary { cursor: pointer; }

.scene-arrival .scene-masthead::before {
  content: "UNDELIVERED / RECIPIENT UNKNOWN";
  display: block;
  width: min(21rem, 80vw);
  margin: 0 auto 3rem;
  padding: 4rem 1rem;
  border: 1px solid rgba(211, 169, 93, .36);
  color: var(--accent);
  background: linear-gradient(28deg, transparent 48%, rgba(211, 169, 93, .14) 49% 51%, transparent 52%);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .36), inset 0 0 2rem rgba(211, 169, 93, .07);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .18em;
  transform: rotate(-1deg);
}

.action-open-parcel { min-width: 12rem; }

.utility-controls { justify-content: flex-end; margin: 0; }
.utility-controls button { padding: .45rem .6rem; border-color: transparent; color: var(--muted); font-size: .62rem; }
.utility-controls .restart-control { position: absolute; right: 1rem; top: 4.8rem; opacity: 0; pointer-events: none; }
.utility-controls:focus-within .restart-control, .utility-controls:hover .restart-control { opacity: 1; pointer-events: auto; }

.block {
  max-width: 42rem;
  margin: 1.25rem auto;
}

.block-proseSequence p, .block-prose p {
  font-size: clamp(1rem, 2vw, 1.17rem);
}

.block-note, .block-handwrittenNote, .block-pressedWarning, .block-inventory {
  position: relative;
  margin: 2rem auto;
  padding: clamp(1.3rem, 4vw, 2.4rem);
  color: var(--ink);
  background:
    linear-gradient(94deg, transparent 0 96%, rgba(71, 55, 30, .06)),
    var(--paper);
  box-shadow: .4rem .8rem 2rem rgba(0, 0, 0, .36);
  clip-path: polygon(.5% 1.5%, 99.4% .2%, 98.6% 98.8%, 1.1% 99.5%);
}

.block-note::before, .block-handwrittenNote::before {
  content: "";
  position: absolute;
  inset: .65rem;
  border: 1px solid rgba(44, 34, 20, .2);
  pointer-events: none;
}

.speaker, .price, .instruction {
  color: var(--accent);
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.block-note .speaker, .block-handwrittenNote .speaker, .block-pressedWarning .speaker { color: #70542c; }
.block-handwrittenNote { font-style: italic; transform: rotate(-.35deg); }
.block-handwrittenNote p { line-height: 1.48; }

.block-inventory ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .5rem;
  padding: 0;
  list-style: none;
}

.block-inventory li {
  padding: .55rem;
  border-bottom: 1px solid rgba(44, 34, 20, .18);
  text-align: center;
}

.block-pressedWarning {
  color: #4b1615;
  background: #c6ad8f;
  box-shadow: inset 0 0 2rem rgba(90, 20, 16, .13), .4rem .8rem 2rem rgba(0, 0, 0, .36);
}

.block-reveal {
  margin: 3rem auto;
  padding: 2rem;
  border-block: 1px solid rgba(211, 169, 93, .35);
  color: var(--accent-bright);
  text-align: center;
  letter-spacing: .08em;
}

.block-sketch {
  padding: 2rem;
  border: 1px dashed rgba(211, 169, 93, .3);
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

.strip-list {
  display: grid;
  gap: .22rem;
  padding: 1rem 0;
  list-style: none;
  counter-reset: strips;
}

.strip {
  counter-increment: strips;
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .8rem;
  min-height: 5rem;
  padding: .85rem 1rem;
  color: var(--ink);
  background: linear-gradient(90deg, #c9b892, var(--paper-light) 8% 94%, #c5b28e);
  box-shadow: .2rem .35rem .8rem rgba(0, 0, 0, .2);
  clip-path: polygon(0 5%, 100% 0, 99.5% 93%, 0 100%);
  cursor: grab;
}

.strip:active { cursor: grabbing; }
.strip:focus-visible { z-index: 1; outline: 3px solid #315e75; outline-offset: 2px; }
.strip::before { content: counter(strips, decimal-leading-zero); color: rgba(23, 20, 15, .38); font-family: var(--sans); font-size: .62rem; }
.strip-edge { color: #7c291e; font-size: 1.5rem; font-weight: 700; opacity: 0; transition: opacity .5s ease; }
.puzzle-solved .strip-edge { opacity: 1; }
.puzzle-solved .strip { transform: translateX(calc((var(--strip-index, 0) - 3) * .12rem)); box-shadow: .2rem .35rem 1rem rgba(124, 41, 30, .25); }
.strip .inline-actions { flex-wrap: nowrap; }
.strip .inline-actions button { width: 2rem; height: 2rem; padding: 0; color: var(--ink); border-color: rgba(23, 20, 15, .25); background: transparent; font-size: 0; }
.strip .inline-actions button::before { font-size: .9rem; }
.strip .move-up::before { content: "↑"; }
.strip .move-down::before { content: "↓"; }
.strip .inline-actions button:hover:not(:disabled) { color: var(--ink); background: rgba(23, 20, 15, .08); }

.inline-actions { margin-top: .5rem; }

.route-map {
  display: block;
  width: min(100%, 42rem);
  margin: 2rem auto;
  padding: 1rem;
  background: radial-gradient(circle, rgba(211, 169, 93, .14), rgba(255, 255, 255, .015));
  border: 1px solid rgba(211, 169, 93, .18);
  border-radius: 50%;
  filter: drop-shadow(0 1.5rem 2rem rgba(0, 0, 0, .3));
}

.blank-center {
  fill: rgba(17, 16, 24, .96);
  stroke: rgba(239, 191, 104, .55);
  stroke-dasharray: 2 2;
}

.map-point { fill: var(--accent); filter: drop-shadow(0 0 2px rgba(240, 205, 129, .7)); }
.route-path { fill: none; stroke: #9bb7bd; stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 80; animation: draw-route .7s ease-out both; }
.route-map.keyhole-revealed .route-path { opacity: .18; }
.authored-keyhole { filter: drop-shadow(0 0 4px rgba(240, 205, 129, .7)); }
.keyhole-bowl, .keyhole-stem { fill: rgba(8, 10, 13, .84); stroke: var(--accent-bright); stroke-width: 2.2; stroke-linejoin: round; }
.keyhole-stem { stroke-width: 2.8; }
.brass-token { fill: #e6b75e; stroke: #fff0ba; stroke-width: .8; filter: drop-shadow(0 0 3px #d3a95d); }
.route-activated-symbols {
  display: flex;
  justify-content: center;
  gap: clamp(.65rem, 3vw, 1.5rem);
  margin: 1.25rem auto;
}
.route-activated-symbols figure {
  margin: 0;
  color: var(--accent-bright);
  text-align: center;
  opacity: 0;
  animation: illuminate-symbol .45s ease-out calc(var(--symbol-index) * .24s) forwards;
}
.route-activated-symbols .route-symbol { width: 2.5rem; height: 2.5rem; fill: none; stroke: currentColor; stroke-width: 2; }
.route-activated-symbols figcaption { margin-top: .25rem; color: var(--muted); font-family: var(--sans); font-size: .68rem; }

@keyframes illuminate-symbol {
  from { opacity: 0; transform: translateY(.35rem); filter: drop-shadow(0 0 0 transparent); }
  to { opacity: 1; transform: translateY(0); filter: drop-shadow(0 0 .45rem rgba(240, 205, 129, .7)); }
}
svg text { fill: var(--text); font-size: 3px; text-anchor: middle; }

.folding-controls {
  display: grid;
  gap: .75rem;
}

.folding-document {
  position: relative;
  width: min(30rem, 85vw);
  aspect-ratio: 1;
  margin: 2rem auto;
  overflow: hidden;
  border: 1px solid rgba(70, 48, 24, .7);
  background: linear-gradient(135deg, rgba(238, 226, 199, .96), rgba(184, 163, 122, .92));
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .35), inset 0 0 5rem rgba(93, 57, 24, .18);
  transform: rotate(.5deg);
}

.folding-document::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence baseFrequency='.5' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }
.fold-guide { position: absolute; z-index: 1; border: 1px dashed rgba(74, 48, 22, .42); color: rgba(52, 34, 17, .74); font: 600 clamp(.42rem, 1.6vw, .62rem) var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.fold-guide-outer-crease { inset: 8%; }
.fold-guide-inner-rail { inset: 24%; }
.fold-guide-centerline { inset: 39%; }
.fold-guide::before { content: ""; position: absolute; inset: -1px; box-shadow: inset 0 0 .3rem rgba(72, 46, 20, .12); }
.fold-guide-outer-crease { padding: .2rem; }
.fold-guide-inner-rail { padding: .2rem; }
.fold-guide-centerline { padding: .2rem; color: rgba(52, 34, 17, .58); }
.fold-blank-center { position: absolute; z-index: 2; inset: 44%; display: grid; place-items: center; border-radius: 50%; color: rgba(216, 201, 168, .75); background: #12110f; font: .48rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.paper-fold { position: absolute; z-index: 2; pointer-events: none; background: rgba(110, 76, 39, .04); border-color: rgba(72, 46, 20, .3); border-style: dashed; transition: transform .5s ease, background .5s ease; }
.paper-fold-top, .paper-fold-bottom { left: 0; width: 100%; height: 18%; }
.paper-fold-left, .paper-fold-right { top: 0; width: 18%; height: 100%; }
.paper-fold-top { top: 0; transform-origin: bottom; }
.paper-fold-right { right: 0; transform-origin: left; }
.paper-fold-bottom { bottom: 0; transform-origin: top; }
.paper-fold-left { left: 0; transform-origin: right; }
.paper-fold.is-folded { background: rgba(110, 76, 39, .14); }
.paper-fold-top.is-folded, .paper-fold-bottom.is-folded { transform: scaleY(.72); }
.paper-fold-left.is-folded, .paper-fold-right.is-folded { transform: scaleX(.72); }
.folding-document.door-formed { border-radius: 48% 48% 2% 2% / 18% 18% 2% 2%; box-shadow: 0 0 0 .35rem rgba(70, 48, 24, .65), 0 1.5rem 4rem rgba(0, 0, 0, .65), inset 0 0 5rem rgba(70, 35, 17, .3); }
.folding-document.door-formed .paper-fold { background: rgba(84, 48, 24, .28); border-style: solid; }
.folding-document.door-formed .fold-blank-center { color: var(--accent-bright); box-shadow: 0 0 2rem rgba(211, 169, 93, .8); }
.fold-symbol { position: absolute; z-index: 4; width: clamp(1.75rem, 8%, 2.5rem); aspect-ratio: 1; padding: .18rem; color: #652b20; border-radius: 50%; background: rgba(225, 208, 171, .82); box-shadow: 0 0 0 1px rgba(75, 42, 20, .24), 0 .2rem .4rem rgba(51, 30, 13, .22); transform: translate(-50%, -50%); }
.route-symbol { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fold-symbol-top, .fold-symbol-bottom { left: 50%; }
.fold-symbol-left, .fold-symbol-right { top: 50%; }
.fold-symbol-top.mark-outer-crease { top: 8%; }
.fold-symbol-top.mark-inner-rail { top: 24%; }
.fold-symbol-top.mark-centerline { top: 39%; }
.fold-symbol-right.mark-outer-crease { right: 8%; transform: translate(50%, -50%); }
.fold-symbol-right.mark-inner-rail { right: 24%; transform: translate(50%, -50%); }
.fold-symbol-right.mark-centerline { right: 39%; transform: translate(50%, -50%); }
.fold-symbol-bottom.mark-outer-crease { bottom: 8%; transform: translate(-50%, 50%); }
.fold-symbol-bottom.mark-inner-rail { bottom: 24%; transform: translate(-50%, 50%); }
.fold-symbol-bottom.mark-centerline { bottom: 39%; transform: translate(-50%, 50%); }
.fold-symbol-left.mark-outer-crease { left: 8%; }
.fold-symbol-left.mark-inner-rail { left: 24%; }
.fold-symbol-left.mark-centerline { left: 39%; }

.fold-edge {
  display: grid;
  gap: .35rem;
}

.fold-edge-clue { color: var(--paper-light); }

.crossed {
  text-decoration: line-through;
  color: var(--muted);
}

.hidden-replacement {
  color: var(--accent);
}

.knock-stage, .threshold-actions {
  border: 1px solid rgba(239, 191, 104, .35);
  margin: 3rem auto 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.knock-target { width: min(15rem, 60vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #07090d 34%, rgba(211, 169, 93, .2) 35%, #07090d 36% 48%, rgba(211, 169, 93, .15) 49%, #07090d 50%); color: var(--accent-bright); box-shadow: 0 0 4rem rgba(211, 169, 93, .12); }
.knock-stage.is-struck { animation: knock-ripple .55s ease-out; }

.atlas-visual { position: relative; width: min(40rem, 82vw); aspect-ratio: 1; margin: 2rem auto 4rem; border: 1px solid rgba(211, 169, 93, .32); border-radius: 50%; box-shadow: 0 0 6rem rgba(211, 169, 93, .13), inset 0 0 4rem rgba(211, 169, 93, .08); }
.atlas-center { position: absolute; inset: 41%; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent-bright); }
.atlas-territory { position: absolute; left: 50%; top: 50%; width: 1rem; height: 1rem; margin: -.5rem; border: 1px solid var(--accent); border-radius: 50%; transform: rotate(var(--angle)) translateY(-16rem); box-shadow: 0 0 1.5rem rgba(211, 169, 93, .22); }
.sealed-road { display: block; width: 100%; margin: .5rem 0; }
.sealed-response { min-height: 3rem; color: var(--accent-bright); font-style: italic; text-align: center; }

.player-footer { width: min(78rem, calc(100% - 2rem)); margin: -3rem auto 1rem; color: var(--muted); font-family: var(--sans); font-size: .72rem; }
.access-drawer { width: max-content; max-width: 100%; }
.access-drawer summary { cursor: pointer; letter-spacing: .08em; text-transform: uppercase; }
.access-drawer nav { display: flex; flex-wrap: wrap; gap: .8rem; }

.danger-action { border-color: rgba(255, 140, 140, .7); }

.notice { color: var(--muted); }
.success { color: var(--ok); }
.error { color: var(--danger); }

@media (prefers-reduced-motion: no-preference) {
  .scene { animation: scene-enter .7s cubic-bezier(.2, .7, .2, 1); }
  .ambient-orbit-outer { animation: orbit 90s linear infinite; }
  .ambient-orbit-inner { animation: orbit-reverse 65s linear infinite; }
  .ambient-grain { animation: grain-shift .35s steps(2) infinite; }
  @keyframes scene-enter { from { transform: translateY(1rem); opacity: 0; filter: blur(4px); } to { transform: translateY(0); opacity: 1; filter: blur(0); } }
  @keyframes orbit { to { transform: translate(-50%, -50%) rotate(348deg); } }
  @keyframes orbit-reverse { to { transform: translate(-50%, -50%) rotate(-337deg); } }
  @keyframes grain-shift { 0% { transform: translate(0); } 25% { transform: translate(2%, -1%); } 50% { transform: translate(-1%, 2%); } 75% { transform: translate(1%); } }
  @keyframes draw-route { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
  .authored-keyhole { animation: keyhole-reveal 1.1s ease-out both; }
  .folding-document.door-formed { animation: door-form .9s ease-out both; }
  @keyframes keyhole-reveal { from { opacity: 0; transform: scale(.72); transform-origin: 50% 50%; } to { opacity: 1; transform: scale(1); transform-origin: 50% 50%; } }
  @keyframes door-form { 40% { transform: rotate(.5deg) scale(.96); } 100% { transform: rotate(.5deg) scale(1); } }
  @keyframes knock-ripple { 50% { box-shadow: 0 0 0 1.5rem rgba(211, 169, 93, .08); } }
}

.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}

@media (max-width: 640px) {
  .player-hud { grid-template-columns: auto 1fr; }
  .save-status { display: none; }
  .utility-controls { flex-wrap: nowrap; }
  .actions, .direction-buttons, .fold-buttons, .location-buttons { flex-direction: column; }
  .strip { grid-template-columns: 1.5rem minmax(0, 1fr) auto auto; }
  .strip .inline-actions { grid-column: 2 / 5; }
  .atlas-territory { transform: rotate(var(--angle)) translateY(-38vw); }
}
