.town-campus {
  --town-ink: #193a48;
  --town-green: #09665f;
  --town-paper: #f9fbfc;
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0 auto 16px;
  color: var(--town-ink);
  background: var(--town-paper);
  border: 1px solid #c9d7cb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 7px 24px #23483b11;
  font-family: inherit;
}
.town-campus, .town-campus * { box-sizing: border-box; }
.town-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px clamp(14px, 2.6vw, 28px);
}
.town-bar h1 {
  margin: 0;
  color: var(--town-ink);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 730;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.town-campus button, .town-campus summary { font-family: inherit; cursor: pointer; }
.town-bar [data-town-resume], .town-shortcuts button {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #afc7b8;
  border-radius: 9px;
  color: var(--town-green);
  background: #fffef9;
  font-size: .85rem;
  font-weight: 650;
}
.town-bar [data-town-back] {
  display: block;
  margin: -5px 0 1px;
  min-height: 33px;
  padding: 3px 0;
  color: var(--town-green);
  background: transparent;
  border: 0;
  font-size: .85rem;
  font-weight: 650;
  text-align: left;
}
.town-districts {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 0 clamp(12px, 2.4vw, 26px) 12px;
}
.town-districts button {
  min-height: 44px;
  display: grid;
  align-content: center;
  gap: 2px;
  text-align: left;
  padding: 6px 12px;
  border: 1px solid #c8d5c7;
  border-radius: 9px;
  color: #315148;
  background: #fffef9;
  font: inherit;
}
.town-districts button:hover { border-color: #57806b; }
.town-districts [data-town-district-go][aria-pressed="true"] {
  color: #fff;
  background: #235e50;
  border-color: #235e50;
}
.town-districts strong { font-size: .89rem; line-height: 1.15; }
.town-districts small { color: inherit; font-size: .72rem; line-height: 1.25; }
.town-districts .town-zoom {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 6px;
  margin-inline-start: auto;
  font-size: .79rem;
  font-weight: 650;
}
.town-zoom span:first-child { font-size: 1.2rem; line-height: 1; }
.town-camera {
  position: relative;
  width: 100%;
  height: var(--town-camera-height, max(220px, calc(100vh - 11rem)));
  height: var(--town-camera-height, max(220px, calc(100dvh - 11rem)));
  container-type: size;
  overflow: auto;
  scrollbar-color: #709080 #e0e6d9;
  background: #dce6dd;
}
.town-camera-zoomed {
  overscroll-behavior: contain;
}
.town-camera-zoomed .town-viewport {
  width: max(162cqw, 243cqh, 720px);
}
.town-camera-overview {
  display: grid;
  place-items: center;
  overflow: hidden;
}
.town-camera-overview .town-viewport {
  width: min(100cqw, 150cqh);
}
.town-viewport {
  position: relative;
  width: max(100%, 150cqh);
  aspect-ratio: 3 / 2;
  isolation: isolate;
  overflow: hidden;
  background: #cbdcc5;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: crosshair;
}
.town-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  -webkit-user-drag: none;
}
.town-camera-tools {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.town-camera-tools [aria-pressed="true"] {
  outline: 2px solid #23675a;
  outline-offset: -2px;
}
.town-pin {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 42px;
  min-height: 40px;
  padding: 4px 11px 4px 5px;
  max-width: 48%;
  border: 2px solid #fff9df;
  border-radius: 13px;
  background: #194c42;
  color: white;
  box-shadow: 0 3px 0 #133e32aa, 0 4px 11px #1b352272;
  transform: translate(-50%, calc(-100% - 12px));
}
.town-pin::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  left: calc(50% - 5px);
  bottom: -7px;
  transform: rotate(45deg);
  background: #194c42;
  border-right: 2px solid #fff9df;
  border-bottom: 2px solid #fff9df;
}
.town-pin:hover, .town-pin:hover::after { background: #086347; }
.town-pin-disc {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #e5ead1;
  color: #245747;
  font-weight: 780;
  font-size: .78rem;
}
.town-pin-title { font-size: clamp(.75rem, 1.4vw, .92rem); font-weight: 680; line-height: 1.14; }
.town-pin-title small { display: block; font-size: .72em; font-weight: 520; margin-top: 3px; }
.town-pin[data-town-locked],
.town-pin[data-town-locked]::after,
.town-pin[data-town-locked]:hover::after { background: #3b4852; }
.town-pin[data-town-locked] .town-pin-disc { color: #384752; background: #e1e4df; }
.town-lock-icon {
  display: inline-block;
  position: relative;
  width: 12px;
  height: 10px;
  margin-top: 4px;
  background: currentColor;
  border-radius: 2px;
}
.town-lock-icon::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 2px;
  width: 8px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  box-sizing: border-box;
}
.town-shortcuts [data-town-locked] { background: #f0f2ed; color: #45515b; }
.town-campus button:focus-visible, .town-campus summary:focus-visible, .town-viewport:focus-visible {
  outline: 3px solid #206aba;
  outline-offset: 2px;
}
.town-viewport:focus-visible { outline-offset: -4px; }
.town-actor {
  --town-clothes: #fcfaf0;
  --town-dark: #b4c9bc;
  --town-skin: #db9f79;
  --town-hair: #412d28;
  --town-trousers: #344f58;
  --town-face: 1;
  position: absolute;
  z-index: 2;
  display: block;
  width: max(20px, 4.4%);
  aspect-ratio: 0.68;
  transform: translate(-50%, -100%);
  pointer-events: none;
}
.town-campus[data-town-scene="town"] .town-actor { width: max(15px, 2.3%); }
.town-campus[data-town-scene="town"] .town-child { width: max(12px, 1.7%); }
.town-campus[data-town-scene="town"] .town-doctor { width: max(17px, 2.5%); }
.town-campus[data-town-scene="town"] .town-doctor::after {
  content: 'Siz';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 1px);
  padding: 1px 4px;
  border-radius: 4px;
  color: #fff;
  background: #255449;
  font: 650 10px/1.2 system-ui, sans-serif;
  transform: translateX(-50%);
}
.town-actor::before {
  content: '';
  position: absolute;
  left: 14%;
  bottom: -3%;
  width: 80%;
  height: 15%;
  border-radius: 50%;
  background: #3f4c3c4a;
  transform: rotate(-8deg);
}
.town-doctor { z-index: 3; transition-property: left, top; transition-timing-function: linear; }
.town-doctor::before {
  left: 1%;
  bottom: -4%;
  width: 102%;
  height: 20%;
  border: 2px solid #fffbe0;
  background: #3c997988;
  box-shadow: 0 0 0 1px #326750;
}
.town-person {
  display: block;
  position: absolute;
  inset: 0;
  transform: scaleX(var(--town-face));
  transform-origin: 50% 100%;
  filter: drop-shadow(0 1px 1px #233b2d4a);
}
.town-doctor-picture {
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 100%;
  aspect-ratio: 160/216;
  overflow: hidden;
  transform: translateX(-50%);
  visibility: hidden;
}
.town-doctor-picture[data-loaded] { visibility: visible; }
.town-person:has(> .town-doctor-picture[data-loaded]) > i { visibility: hidden; }
.town-doctor-picture img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  pointer-events: none;
}
.town-doctor-picture[data-appearance="man"] img { width: 300%; height: 300%; }
.town-campus[data-town-doctor-appearance="woman"] .town-doctor .town-head::before {
  box-shadow: -.15em .12em 0 -.05em var(--town-hair);
}
.town-person i, .town-person i::before, .town-person i::after { position: absolute; display: block; }
.town-head {
  top: 2%;
  left: 30%;
  width: 45%;
  height: 32%;
  border-radius: 48% 45% 49% 44%;
  background: linear-gradient(115deg, #f1c49b, var(--town-skin) 72%);
  box-shadow: inset -1px -1px 1px #79462f66;
}
.town-head::before {
  content: '';
  left: -6%;
  top: -5%;
  width: 105%;
  height: 55%;
  border-radius: 65% 53% 35% 25%;
  background: var(--town-hair);
  transform: rotate(-10deg);
}
.town-head::after {
  content: '';
  right: 9%;
  top: 51%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #382f29;
}
.town-coat {
  left: 23%;
  top: 32%;
  width: 54%;
  height: 43%;
  border-radius: 32% 32% 12% 12%;
  background: linear-gradient(95deg, var(--town-clothes) 52%, var(--town-dark));
  box-shadow: inset -1px -1px 1px #34504860;
}
.town-doctor .town-coat::before {
  content: '';
  width: 39%;
  height: 35%;
  left: 35%;
  top: 0;
  background: #24776b;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.town-doctor .town-coat::after {
  content: '';
  right: 13%;
  top: 42%;
  width: 20%;
  height: 12%;
  border-radius: 1px;
  background: #20836e;
}
.town-legs { left: 30%; top: 70%; width: 44%; height: 28%; }
.town-legs::before, .town-legs::after {
  content: '';
  bottom: 0;
  width: 38%;
  height: 100%;
  border-radius: 15% 15% 30% 22%;
  background: linear-gradient(var(--town-trousers) 76%, #3b3831 78%);
}
.town-legs::before { left: 0; }
.town-legs::after { right: 0; }
.town-arms { inset: 36% 10% 30%; }
.town-arms::before, .town-arms::after {
  content: '';
  top: 0;
  width: 27%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(var(--town-clothes) 60%, var(--town-skin) 65%);
}
.town-arms::before { left: 3%; transform: rotate(10deg); }
.town-arms::after { right: 3%; transform: rotate(-13deg); }
.town-nurse { --town-clothes: #02b7a7; --town-dark: #046a72; --town-trousers: #244f67; }
.town-parent { --town-clothes: #e95b8f; --town-dark: #933d72; --town-trousers: #37385e; }
.town-child { --town-clothes: #ffb91d; --town-dark: #d47611; width: max(12px, 2.8%); }
.town-visitor { --town-clothes: #588ce5; --town-dark: #31569c; --town-skin: #bf8960; }
.town-porter { --town-clothes: #e66b35; --town-dark: #994222; --town-trousers: #48575c; }
.town-resident { --town-clothes: #9377df; --town-dark: #613d94; --town-trousers: #28384c; --town-hair: #63412e; }
.town-campus[data-town-moving="true"] .town-doctor .town-person { animation: town-stride .29s linear infinite alternate; }
@media (prefers-reduced-motion: no-preference) {
  .town-campus[data-town-ambient-playing="true"] :is([data-town-ambient="person"], [data-town-traffic-light="red"] [data-town-crossing-person], [data-town-bus-state="boarding"] [data-town-passenger]) :is(.town-legs, .town-arms)::before,
  .town-campus[data-town-ambient-playing="true"] :is([data-town-ambient="person"], [data-town-traffic-light="red"] [data-town-crossing-person], [data-town-bus-state="boarding"] [data-town-passenger]) :is(.town-legs, .town-arms)::after {
    transform-origin: 50% 8%;
    animation: town-limb .34s ease-in-out infinite alternate;
  }
  .town-campus[data-town-ambient-playing="true"] :is([data-town-ambient="person"], [data-town-crossing-person], [data-town-passenger]) .town-legs::after,
  .town-campus[data-town-ambient-playing="true"] :is([data-town-ambient="person"], [data-town-crossing-person], [data-town-passenger]) .town-arms::before {
    animation-delay: -.34s;
  }
}
@keyframes town-limb {
  from { transform: rotate(-24deg); }
  to { transform: rotate(24deg); }
}
.town-car {
  --town-paint: #00a2d4;
  --town-trim: #075476;
  position: absolute;
  z-index: 2;
  width: max(27px, 4.1%);
  aspect-ratio: 2.05;
  transform: translate(-50%, -52%);
  pointer-events: none;
}
.town-car-ochre {
  --town-paint: #ffbe24;
  --town-trim: #8f5215;
}
.town-car-coral { --town-paint: #f05e46; --town-trim: #952b33; }
.town-car-medical { --town-paint: #f6fbff; --town-trim: #417f91; width: max(30px, 4.4%); }
.town-car-medical .town-car-cabin { border-radius: 10%; inset: 15% 14% 17% 15%; }
.town-car-medical .town-car-cabin::before {
  content: ''; position: absolute; width: 31%; height: 62%; left: 25%; top: 17%;
  background: #087e79; clip-path: polygon(34% 0,66% 0,66% 32%,100% 32%,100% 68%,66% 68%,66% 100%,34% 100%,34% 68%,0 68%,0 32%,34% 32%);
}
.town-car-ochre .town-car-cabin::after {
  content: ''; position: absolute; width: 24%; height: 25%; left: 37%; top: 36%;
  border-radius: 2px; background: #fff0b4; box-shadow: 0 .7px 1px #74572c;
}
.town-car-heading, .town-car i { display: block; position: absolute; }
.town-car-heading { inset: 0; filter: drop-shadow(1px 2px 1px #16252d88); }
.town-car-wheels {
  inset: 0 14%;
  background: linear-gradient(to right, #383c38 0 21%, transparent 22% 77%, #383c38 78%);
  border-radius: 14%;
}
.town-car-shell {
  inset: 6% 0 8%;
  border-radius: 19% 27% 26% 18% / 33% 42% 40% 38%;
  background: linear-gradient(to bottom, #fff5 0%, transparent 25%, transparent 64%, #22372760 99%), var(--town-paint);
  box-shadow: inset 0 0 0 1px var(--town-trim), inset 0 -1.5px 0 #17334077;
}
.town-car-shell::before, .town-car-shell::after {
  content: '';
  position: absolute;
  inset-block: 14%;
  width: 7%;
  border-radius: 30%;
}
.town-car-shell::before {
  left: 2%;
  background: linear-gradient(#ad513e 0 25%, transparent 26% 74%, #ad513e 75%);
}
.town-car-shell::after {
  right: 3%;
  background: linear-gradient(#ffefb3 0 30%, transparent 31% 68%, #ffefb3 69%);
}
.town-car-cabin {
  inset: 18% 22% 22% 15%;
  border-radius: 25% 32% 29% 23% / 46% 42% 44% 40%;
  background: linear-gradient(100deg, #344f58 0 16%, #8badb0 18% 22%, var(--town-paint) 25% 64%, #51747e 67% 92%, #a2b9b5 94%);
  box-shadow: inset 0 .7px .4px #e2e8d6, inset 0 -1px .4px var(--town-trim);
}
.town-car-ochre .town-car-cabin {
  right: 25%;
  left: 10%;
  border-radius: 15% 35% 30% 14%;
}
.town-car-bus {
  --town-paint: #3a9488;
  --town-trim: #154d52;
  width: max(34px, 5.8%);
  aspect-ratio: 2.8;
}
.town-car-bus .town-car-shell { border-radius: 12% 17% 17% 12% / 27%; }
.town-car-bus .town-car-cabin {
  inset: 15% 10% 18% 9%;
  border-radius: 9% 13% 13% 9%;
  background: linear-gradient(90deg, transparent 78%, #ecefc9 79% 84%, #245365 85%),
    repeating-linear-gradient(90deg,#397187 0 12%,#b7d6ca 13% 17%);
  border-top: 2px solid #e5e8d3;
}
.town-car-bus .town-car-cabin::after {
  content: ''; position: absolute; right: 14%; bottom: -21%; width: 14%; height: 39%;
  border-radius: 1px; background: #b6dbcf;
}
.town-campus[data-town-bus-state="boarding"] .town-car-bus .town-car-cabin::after { background:#17383d; }
.town-signal, .town-bus-stop { position: absolute; pointer-events: none; z-index: 2; transform: translate(-50%, -100%); }
.town-signal {
  width: max(6px, .86%); aspect-ratio: .30;
  background: linear-gradient(to right,transparent 41%,#626966 42% 65%,transparent 66%);
}
.town-signal-head {
  position: absolute; inset: 0 0 39%; display: grid; gap: 1px; padding: 1px;
  border-radius: 3px; background: #152d33; box-shadow: 1px 1px 1px #33444377;
}
.town-signal-head b { border-radius: 50%; background: #4b5555; }
[data-town-traffic-light="red"] .town-signal-head b:first-child { background: #ff604e; box-shadow: 0 0 2px #ff604e; }
[data-town-traffic-light="amber"] .town-signal-head b:nth-child(2) { background: #ffcb44; box-shadow: 0 0 2px #ffcb44; }
[data-town-traffic-light="green"] .town-signal-head b:last-child { background: #39f8a1; box-shadow: 0 0 2px #39f8a1; }
.town-bus-stop { width: max(23px, 3.7%); aspect-ratio: 1.8; z-index:1; }
.town-stop-roof {
  position: absolute; inset: 0 12% 68% 0; border-radius: 2px;
  transform: skewX(-11deg); background: linear-gradient(#8dd4ce,#338b89); border-bottom: 2px solid #24565b;
}
.town-stop-bench {
  position: absolute; inset: 31% 18% 3% 4%; border-inline: 1.5px solid #315660;
  background: linear-gradient(to bottom,#83c6c057 0 58%,#805e3b 59% 77%,transparent 78%);
}
.town-stop-sign {
  position: absolute; inset: 13% 1% 0 85%; border-radius: 1px;
  background: linear-gradient(to right,transparent 36%,#455861 37% 64%,transparent 65%);
}
.town-stop-sign::before {
  content: ''; position: absolute; inset: 0 -35% 48%; border-radius: 2px;
  background: linear-gradient(#f5fcff,#f5fcff) center 43% / 57% 38% no-repeat, #2074a6;
}
@keyframes town-stride {
  from { transform: scaleX(var(--town-face)) translateY(0) rotate(-2deg); }
  to { transform: scaleX(var(--town-face)) translateY(-4%) rotate(2deg); }
}
.town-target {
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 9px;
  transform: translate(-50%, -50%);
  border: 2px solid #fffde8;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #267457;
}
.town-target[hidden] { display: none; }
.town-footer { padding: 8px clamp(12px, 2vw, 22px); display: flex; gap: 8px 20px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.town-status { margin: 0; color: #38594d; font-size: .87rem; line-height: 1.45; }
.town-shortcuts { color: var(--town-green); font-size: .87rem; }
.town-shortcuts summary { min-height: 36px; padding: 8px 2px; font-weight: 650; }
.town-shortcuts div { display: flex; gap: 6px; flex-wrap: wrap; padding: 1px 0 6px; }
.town-shortcuts button:hover, .town-bar [data-town-resume]:hover { background: #eaf2e7; }
.town-campus[data-town-scene="hospital"] {
  --town-paper: #f6fafb;
  --town-green: #1a5a62;
  border-color: #c4d6dc;
}
.town-campus[data-town-scene="hospital"] .town-bar { gap: 10px; }
.town-campus[data-town-scene="hospital"] .town-bar > div { flex: 1; }
/* The projected doorway is about 6% of the floor width. The walk layer is
   sized in the same map coordinates so its people stay in scale under zoom. */
.town-campus[data-town-scene="hospital"] .town-viewport > .town-actor { width: 6.1%; }
.town-campus[data-town-scene="hospital"] .town-viewport > .town-child { width: 3.95%; }
.town-campus[data-town-scene="hospital"] .town-viewport > .town-doctor { width: 6.45%; }
.town-technician { --town-clothes: #4b83b4; --town-dark: #315275; }
.town-technician .town-person::after {
  content: '';
  position: absolute;
  inset: 60% -5% 19% 67%;
  border: 1px solid #345063;
  border-radius: 2px;
  background: linear-gradient(to bottom,#728a9b 0 28%,#eaf3f7 28%);
}
.town-bar .town-zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #b4cad1;
  border-radius: 9px;
  background: white;
  color: #215762;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 650;
}
.town-bar .town-zoom[aria-pressed="true"] { background: #def0f3; }
.town-campus[data-town-scene="hospital"] [data-town-go="intake"] { --room-accent: #1d606c; }
.town-campus[data-town-scene="hospital"] [data-town-go="office"] { --room-accent: #315785; }
.town-campus[data-town-scene="hospital"] [data-town-go="bedside"] { --room-accent: #256342; }
.town-campus[data-town-scene="hospital"] [data-town-go="diagnostics"] { --room-accent: #655185; }
.town-campus[data-town-scene="hospital"] [data-town-go="treatment"] { --room-accent: #8a4c35; }
.town-campus[data-town-scene="hospital"] .town-pin,
.town-campus[data-town-scene="hospital"] .town-pin::after { background: var(--room-accent); }
.town-campus[data-town-scene="hospital"] .town-pin { border-color: #fff; }
.town-campus[data-town-scene="hospital"] .town-pin-disc { background: #fff; color: var(--room-accent); }
.town-campus[data-town-scene="hospital"] .town-pin:hover { filter: brightness(1.1); }
.town-campus[data-town-scene="hospital"] .town-footer { display: block; padding-block: 10px; }
.town-campus[data-town-scene="hospital"] .town-shortcuts { margin-top: 4px; }
.town-campus[data-town-scene="hospital"] .town-shortcuts div {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(145px,100%),1fr));
  gap: 6px;
}
.town-campus[data-town-scene="hospital"] .town-shortcuts button {
  min-height: 52px;
  border-color: #cbdbe0;
  border-inline-start: 4px solid var(--room-accent);
  text-align: start;
  color: #183c47;
}
.town-campus[data-town-scene="hospital"] .town-shortcuts .town-pin-title { font-size: .89rem; }
.town-campus[data-town-scene="hospital"] .town-shortcuts small { font-size: .76rem; color: #425e69; }
.town-campus[data-town-art-state="unavailable"] .town-viewport { display: none; }
.town-campus[data-town-art-state="unavailable"] .town-camera,
.town-campus[data-town-art-state="unavailable"] .town-camera-tools { display: none; }
.town-camera[data-can-pan] .town-viewport { cursor: grab; }
.town-camera[data-can-pan] .town-viewport:active { cursor: grabbing; }
.town-campus[data-town-art-state="unavailable"] .town-footer { align-items: flex-start; flex-direction: column; padding-bottom: 14px; }
@media (max-width: 620px) {
  .town-campus { border-radius: 12px; }
  .town-bar { padding: 10px 12px; }
  .town-bar h1 { font-size: 1.18rem; }
  .town-pin { padding: 3px 6px; min-height: 36px; max-width: 46%; gap: 3px; border-radius: 9px; transform: translate(-50%, calc(-100% - 5px)); }
  .town-pin::before { content: ''; position: absolute; inset: -4px -2px; }
  .town-pin-disc { display: none; }
  .town-pin-title { font-size: .72rem; }
  .town-campus[data-town-scene="hospital"] .town-pin { max-width: 29%; min-height: 32px; }
  .town-campus[data-town-scene="hospital"] .town-bar { flex-wrap: wrap; }
  .town-campus[data-town-scene="hospital"] .town-bar > div { flex-basis: 55%; }
  .town-bar .town-zoom { width: 44px; justify-content: center; }
  .town-bar [data-town-zoom-label] { display: none; }
  .town-campus[data-town-scene="hospital"] .town-shortcuts div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .town-footer { gap: 0 8px; padding-top: 6px; }
  .town-status { font-size: .8rem; }
  .town-bar [data-town-resume] { padding: 5px 8px; font-size: .76rem; }
  .town-districts { display: grid; grid-template-columns: 1fr 1fr auto; gap: 4px; padding: 0 8px 8px; }
  .town-districts button { min-width: 0; padding: 5px 7px; }
  .town-districts strong { font-size: .79rem; }
  .town-districts small { font-size: .66rem; }
  .town-districts .town-zoom { justify-content: center; width: 44px; }
  .town-districts [data-town-zoom-label] { display: none; }
  .town-pin[data-town-locked] { width: max-content; max-width: 36%; min-height: 35px; padding: 3px 6px; }
  .town-pin[data-town-locked] .town-pin-title { font-size: .66rem; }
  .town-pin[data-town-locked] .town-pin-title small { font-size: .59rem; }
}
@media (prefers-reduced-motion: reduce) {
  .town-campus[data-town-moving="true"] .town-doctor .town-person { animation: none; }
  .town-doctor { transition: none !important; }
}
@media print { .town-campus { display: none !important; } }
