:root {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #203d35;
  background: #f4f3e8;
  font-synthesis: none;
  --green: #264c3d;
  --muted: #597064;
  --orange: #ce593e;
  --line: #d5dac9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  height: 100dvh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: inherit;
  background: #fafaf2;
  border: 1px solid #cbd3c1;
  border-radius: 7px;
  min-height: 44px;
  padding: 8px 12px;
}
button:hover {
  background: #e5ead9;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
canvas:focus-visible,
input:focus-visible {
  outline: 3px solid #da7249;
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
header {
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 27px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.back {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--green);
  text-decoration: none;
  font-weight: 800;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand {
  text-align: center;
}
.brand h1 {
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1;
  margin: 0;
  font-weight: normal;
  letter-spacing: -1.1px;
}
.brand em {
  color: #bd5439;
}
.brand > span {
  font-size: 8px;
  letter-spacing: 2.1px;
  display: block;
  margin-top: 9px;
}
#help {
  border-radius: 50%;
  width: 44px;
  font-family: Georgia, serif;
  font-size: 20px;
}
.dashboard {
  height: 78px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 15px 32px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  background: #fdfcf4;
}
.dashboard > div {
  border-right: 1px solid var(--line);
}
.dashboard > div:last-child {
  border: 0;
}
.dashboard span,
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 700;
}
.dashboard strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
  margin-top: 4px;
}
.dashboard small {
  font-size: 15px;
  color: #798879;
  font-weight: 400;
}
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  flex: 1;
  min-height: 0;
}
.map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #e9edd9;
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  outline-offset: -4px !important;
}
.map-caption {
  pointer-events: none;
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #526e58;
}
.map-caption > span:first-child {
  font-weight: 800;
  color: #995138;
}
.map-controls {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 4px;
}
.map-controls button {
  width: 44px;
  font-size: 21px;
  padding: 4px;
  background: #fbfcf0ed;
  box-shadow: 0 2px 6px #2344280b;
}
.time-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 5px;
}
.time-controls button {
  width: 44px;
  font-weight: 700;
  background: #fbfcf0ed;
}
#map-hint {
  pointer-events: none;
  position: absolute;
  bottom: 77px;
  left: 15%;
  right: 15%;
  text-align: center;
  font:
    italic 14px Georgia,
    serif;
  color: #496450;
}
#paused {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #fcf8d7e8;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.6px;
}
aside {
  border-left: 1px solid var(--line);
  padding: 22px 20px 14px;
  background: #f8f7ed;
  overflow-y: auto;
}
.mission {
  margin-bottom: 19px;
}
.mission h2 {
  font:
    26px/1.1 Georgia,
    serif;
  margin: 9px 0;
}
.mission p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.progress {
  height: 3px;
  background: #dce2cd;
  margin-top: 14px;
}
.progress i {
  display: block;
  height: 3px;
  width: 0;
  background: #d26948;
  transition: width 0.4s;
}
.tool-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  gap: 5px;
  margin-bottom: 15px;
}
.tool-tabs button {
  flex: 1;
  padding: 5px 2px;
  border-color: transparent;
  background: transparent;
  font:
    23px Georgia,
    serif;
}
.tool-tabs span {
  display: block;
  font: 10px system-ui;
  margin-top: 4px;
}
.tool-tabs button[aria-pressed='true'] {
  background: #e1e8d6;
  border-color: #c4d0b8;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.section-heading span {
  color: var(--muted);
}
.track-buttons {
  display: flex;
  gap: 6px;
}
.track-buttons button {
  flex: 1;
  font-size: 27px;
  padding: 4px 0 8px;
}
.track-buttons span {
  display: block;
  font-size: 10px;
}
.slope-buttons {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.slope-buttons button {
  flex: 1;
  padding: 6px 4px;
  font-size: 11px;
}
.slope-buttons #remove {
  flex: 0.7;
}
#message {
  min-height: 38px;
  line-height: 1.45;
  font-size: 12px;
  color: #855038;
  margin: 13px 0;
}
#tile-panel {
  min-height: 117px;
}
#tool-title {
  font-size: 13px;
}
#tool-help {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.ride-controls {
  display: flex;
  gap: 7px;
}
.primary {
  background: var(--green);
  color: #fffce9;
  border-color: var(--green);
  font-weight: 600;
}
.primary:hover {
  background: #36654d;
}
.ride-controls .primary {
  flex: 1;
}
.economy {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 15px;
}
.economy label {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.economy strong {
  font-size: 16px;
}
input[type='range'] {
  width: 100%;
  height: 26px;
  accent-color: #c76143;
}
.ledger {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 4px;
}
.ledger b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #334f3f;
}
footer {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 10px;
}
footer button {
  min-height: 36px;
  font-size: 11px;
  padding: 6px 9px;
}
#save-status {
  font-size: 9px;
  color: var(--muted);
  width: 100%;
  min-height: 14px;
}
dialog {
  border: 1px solid #acbda3;
  border-radius: 16px;
  background: #f9f7eb;
  color: #294736;
  width: min(530px, 94vw);
  max-height: 90dvh;
  padding: 30px;
  box-shadow: 0 20px 100px #17352250;
}
dialog::backdrop {
  background: #243c3266;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font:
    30px Georgia,
    serif;
}
dialog p {
  font-size: 14px;
  line-height: 1.6;
}
dialog .fine {
  font-size: 11px;
  color: var(--muted);
}
dialog .close {
  float: right;
  min-height: 32px;
  font-size: 20px;
}
.warning {
  color: #ae412b !important;
}
@media (min-width: 1500px) {
  main {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
  aside {
    padding: 28px;
  }
}
@media (max-width: 760px) {
  body {
    min-height: 730px;
    height: 100dvh;
  }
  header {
    height: 58px;
    padding: 6px 13px;
    gap: 5px;
  }
  .back span {
    display: none;
  }
  .back {
    font-size: 19px;
  }
  .brand h1 {
    font-size: 26px;
  }
  .brand > span {
    font-size: 6px;
    letter-spacing: 1.2px;
    margin-top: 5px;
  }
  #help {
    width: 40px;
    min-height: 40px;
  }
  .dashboard {
    height: 63px;
    padding: 9px 15px;
    gap: 12px;
  }
  .dashboard span {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .dashboard strong {
    font-size: 20px;
  }
  .dashboard small {
    font-size: 11px;
  }
  .dashboard .day {
    display: none;
  }
  .dashboard {
    grid-template-columns: repeat(3, 1fr);
  }
  .dashboard > div:nth-child(3) {
    border: 0;
  }
  main {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .map {
    flex: 1;
    min-height: 310px;
  }
  .map-caption {
    top: 13px;
    left: 14px;
    right: 14px;
    font-size: 7px;
    letter-spacing: 1px;
  }
  .map-caption > span:last-child {
    display: none;
  }
  .map-controls {
    left: 12px;
    bottom: 12px;
  }
  .time-controls {
    right: 12px;
    bottom: 12px;
  }
  .map-controls button,
  .time-controls button {
    width: 40px;
    min-height: 42px;
  }
  #map-hint {
    font-size: 12px;
    bottom: 60px;
    left: 10%;
    right: 10%;
  }
  aside {
    flex-shrink: 0;
    height: 350px;
    max-height: 350px;
    overflow-y: auto;
    padding: 11px 14px 8px;
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    align-content: start;
  }
  .mission {
    grid-column: 1/-1;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .mission .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .mission h2 {
    display: none;
  }
  .mission p {
    font-size: 10px;
  }
  .progress {
    margin: 0;
    height: 2px;
    width: 100%;
  }
  .progress i {
    height: 2px;
  }
  .tool-tabs {
    grid-column: 1/-1;
    margin-bottom: 8px;
    padding-bottom: 5px;
    gap: 8px;
  }
  .tool-tabs button {
    font-size: 18px;
    min-height: 43px;
    padding: 3px;
  }
  .tool-tabs span {
    font-size: 9px;
    margin-top: 2px;
  }
  #track-panel,
  #tile-panel {
    grid-column: 1/-1;
  }
  .section-heading {
    display: none;
  }
  .track-buttons {
    width: 51%;
    float: left;
  }
  .track-buttons button {
    font-size: 20px;
    min-height: 46px;
    padding: 2px;
  }
  .track-buttons span {
    font-size: 9px;
  }
  .slope-buttons {
    width: 48%;
    float: right;
    margin: 0;
    flex-wrap: wrap;
    gap: 3px;
  }
  .slope-buttons button {
    min-width: 44px;
    min-height: 46px;
    font-size: 9px;
  }
  .slope-buttons #remove {
    display: block;
  }
  #message {
    grid-column: 1/-1;
    min-height: 17px;
    font-size: 10px;
    margin: 7px 0;
    line-height: 1.3;
  }
  .ride-controls {
    grid-column: 1;
    align-self: start;
    gap: 4px;
  }
  .ride-controls button {
    min-height: 41px;
    font-size: 10px;
    padding: 5px 6px;
  }
  .economy {
    grid-column: 2;
    grid-row: 5/7;
    margin: 0;
    border: 0;
    padding: 0;
  }
  .economy label {
    font-size: 10px;
  }
  .economy strong {
    font-size: 13px;
  }
  input[type='range'] {
    height: 19px;
  }
  .ledger {
    font-size: 8px;
    margin: 0;
    line-height: 1.3;
  }
  .ledger b {
    font-size: 10px;
  }
  footer {
    grid-column: 1/-1;
    padding-top: 6px;
    margin-top: 7px;
    align-items: center;
    flex-wrap: nowrap;
  }
  footer button {
    font-size: 9px;
    min-height: 44px;
    padding: 3px 8px;
  }
  #save-status {
    font-size: 8px;
    flex: 1;
    width: auto;
  }
  #tile-panel {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  #tool-title {
    font-size: 11px;
    min-width: 60px;
  }
  #tool-help {
    font-size: 10px;
    margin: 0;
    flex: 1;
  }
  #erase {
    font-size: 10px;
    min-height: 42px;
    padding: 4px;
  }
  dialog {
    padding: 24px;
  }
  dialog p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Text stays inside the pause target at narrow widths. */
.time-controls button {
  width: 52px;
  padding: 4px;
  font-size: 11px;
}

/* Switchback's enamel, timber and field-notebook presentation. */
:root { --green:#294e44; --orange:#b95138; --muted:#50685d; --line:#c9cdb5; background:#f2eddb; }
header { background:#f4eedc; box-shadow:inset 0 4px #315d50; }
.brand h1 { letter-spacing:-1.4px; }
.dashboard { background:#fffae9; }
.dashboard strong { font-family:Georgia,serif; font-weight:normal; }
.map { background:#e2e6d2; }
aside { background:#f4eedf; box-shadow:-3px 0 18px #294c3d07; }
button { border-radius:5px; border-color:#bec5ad; background:#fff9e8; box-shadow:0 2px 0 #72806b12; }
button[aria-pressed='true'] { background:#dfe7cf; color:#234e43; }
.park-actions { position:absolute; top:44px; right:18px; display:flex; gap:5px; z-index:2; }
.park-actions button { font-size:10px; min-height:34px; padding:6px 10px; background:#fff8e8eb; }
.ride-readout { position:absolute; left:50%; bottom:112px; transform:translateX(-50%); width:max-content; max-width:calc(100% - 30px); background:#244d45ed; color:#fff4d9; padding:10px 16px; border-radius:6px; box-shadow:0 4px 10px #274e3926; pointer-events:none; text-align:center; }
.ride-readout strong { font-size:12px; display:block; letter-spacing:.2px; }
.ride-readout span { font-size:10px; color:#d4dec2; display:block; margin-top:4px; }
.park-journal { display:flex; gap:10px; border-bottom:1px solid #c9cdb5; margin:-2px 0 17px; padding-bottom:14px; align-items:center; }
.park-journal img { width:45px; height:51px; object-fit:contain; flex-shrink:0; border:1px solid #c3b992; border-radius:13px; }
.park-journal strong { font-size:10px; color:#365a4b; }
.park-journal p { font:italic 12px/1.45 Georgia,serif; color:#5b6651; margin:4px 0 0; }
.park-story { width:min(520px,94vw); padding:28px; border:2px solid #a49771; border-radius:10px; box-shadow:0 22px 80px #15382966; }
.story-hero { min-height:150px; border-bottom:1px solid #d2c6a2; padding:20px 0 15px; }
.story-hero img { float:right; width:108px; height:126px; margin:0 0 8px 18px; border-radius:28px; }
.story-hero h2 { margin:13px 0; font:34px/1.04 Georgia,serif; }
.story-subtitle { font:italic 14px/1.5 Georgia,serif; color:#6d7056; }
.park-story .story-quote { font:20px/1.5 Georgia,serif; clear:both; margin:22px 0 8px; }
.park-story .story-credit { font-size:11px; color:#5e735f; margin-bottom:24px; }
.park-story .story-continue { width:100%; }
.depth-panel { border-top:1px solid var(--line); padding:10px 0; margin-top:12px; }
.depth-panel summary { min-height:44px; display:flex; align-items:center; cursor:pointer; font-size:13px; font-weight:600; }
.depth-panel button,.depth-row button { min-height:44px; }
.depth-row { display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin:8px 0; font-size:12px; }
.depth-row>* { min-width:0; }
.depth-row select,.depth-panel select,.depth-panel input[type='number'] { min-height:44px; max-width:100%; padding:6px; border:1px solid #adb99d; background:#fff9e8; border-radius:4px; font:inherit; color:inherit; }
.depth-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:10px 0; font-size:11px; line-height:1.5; }
.segment-list { max-height:190px; overflow-y:auto; padding-left:0; list-style:none; font-size:11px; }
.segment-list li { padding:8px; border-left:3px solid; border-bottom:1px solid #dbd7c4; line-height:1.4; }
.segment-good { border-color:#59836c!important; background:#e6ead9; }
.segment-slow { border-color:#9d8644!important; background:#ece6cd; }
.segment-harsh,.segment-stall { border-color:#b5563d!important; background:#f0dfcc; }
.objectives { padding-left:0; list-style:none; font-size:12px; line-height:1.6; }
.objectives li { padding:5px 0; border-bottom:1px solid #d4d4bc; }
.scenario-list { display:grid; gap:8px; }
.scenario-list button { min-height:68px; text-align:left; padding:12px; background:#f9f2df; }
.scenario-list button strong { display:block; font:19px Georgia,serif; }
.scenario-list button span { display:block; margin-top:6px; font-size:12px; line-height:1.4; }
.finance-warning { color:#983e2d; font-weight:600; background:#f4dfcb; padding:8px; border-radius:4px; font-size:12px; }
#management { margin-top:12px; }
#map-hint { bottom:78px; }
@media(max-width:760px) {
 .park-actions { top:34px; right:10px; left:10px; justify-content:flex-end; gap:4px; }
 .park-actions button { min-height:44px; font-size:10px; padding:5px 9px; }
 .park-journal { grid-column:1/-1; margin:0 0 8px; padding:0 0 8px; gap:9px; }
 .park-journal img { width:34px;height:38px;border-radius:10px; }
 .park-journal strong { font-size:9px; }
 .park-journal p { font-size:11px; line-height:1.3; margin-top:2px; }
 .ride-readout { bottom:98px; padding:7px 10px; }
 .ride-readout strong { font-size:10px; }
 .ride-readout span { font-size:9px; }
 #map-hint { bottom:68px; font-size:11px; }
 #management { grid-column:1/-1; }
 .depth-panel { margin-top:8px; }
 .depth-row { font-size:11px; }
 .story-hero h2 { font-size:29px; }
 .story-hero img { width:86px;height:102px; }
 .park-story .story-quote { font-size:18px; }
 .economy { grid-row:auto; }
 .map { min-height:360px; }
}
#management p { font-size:12px;line-height:1.55;color:#52685a; }
#management > details { border-top:1px solid #c9cdb5;margin-top:12px;padding-top:4px; }
#management summary { min-height:44px;cursor:pointer;align-content:center;font-size:13px;font-weight:600; }
#management select { max-width:100%;min-height:44px;padding:7px;border-radius:4px;border:1px solid #adb99d;background:#fff9e8;color:inherit;font:inherit; }
#management label { font-size:11px; }
.segment-list > div { padding:8px;border-left:3px solid;line-height:1.5;margin:5px 0; }
.objectives > div { padding:6px 0;border-bottom:1px solid #d4d4bc; }
@media(max-width:760px) {
 #paused { top:84px;font-size:10px;padding:5px 10px; }
 #management { padding-bottom:12px; }
 .park-actions button { min-height:44px; }
}
/* Keep important state beside the controls instead of covering the miniature. */
.ride-readout { position:static; transform:none; width:auto;max-width:none; margin:0 0 18px; padding:10px 12px;text-align:left;box-shadow:none; }
.ride-readout strong { line-height:1.4; }
@media(max-width:760px) {
 .ride-readout { grid-column:1/-1; margin:0 0 9px; padding:8px 10px; }
 #paused { left:12px;top:35px;transform:none;width:64px;white-space:normal;font-size:0;min-height:44px;text-align:center;align-content:center;border-radius:5px; }
 #paused::after { content:'Paused';font-size:10px; }
 .park-actions { left:auto; }
 .map.has-ride #map-hint { font-size:10px;bottom:65px;background:#f4f0daed;border-radius:4px;padding:5px;left:22%;right:22%; }
 .track-buttons span,.slope-buttons button { font-size:10px; }
 button:disabled { opacity:.6; }
}
.scenario-list button { padding-left:80px;position:relative;line-height:1.5;min-height:104px;background-color:#faf2df;background-repeat:no-repeat;background-position:12px center;background-size:54px 63px; }
.scenario-list button[data-scenario='meadow'],.scenario-list button[data-scenario='sandbox'] { background-image:url('./assets/ada.svg');border-left:4px solid #809769; }
.scenario-list button[data-scenario='rush'],.scenario-list button[data-scenario='festival'] { background-image:url('./assets/kit.svg');border-left:4px solid #447366; }
.scenario-list button[data-scenario='ridge'],.scenario-list button[data-scenario='turnaround'] { background-image:url('./assets/ren.svg');border-left:4px solid #b48b45; }
.scenario-list button[data-scenario='value'] { background-image:url('./assets/jo.svg');border-left:4px solid #607d9d; }
.guest-reactions { display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px; }
.guest-reaction { display:flex;gap:6px;align-items:center;flex:1;min-width:90px; }
.guest-reaction span { font-size:10px;font-weight:600; }
.guest-reaction small { display:block;font-size:9px;font-weight:normal;line-height:1.3;color:#5b6b58;max-width:98px; }
.guest-face { flex-shrink:0;position:relative;display:block;width:26px;height:28px;border-radius:44% 44% 48% 48%;background:#e4b585;border-top:5px solid #68523b;box-shadow:0 2px 0 #a8865b; }
.guest-face::before { content:'';position:absolute;left:6px;top:5px;width:3px;height:3px;border-radius:50%;background:#4e4538;box-shadow:10px 0 #4e4538; }
.guest-face::after { content:'';position:absolute;left:8px;top:12px;width:9px;height:4px;border-bottom:2px solid #8a543b;border-radius:0 0 8px 8px; }
.guest-face[data-feeling='impatient']::after,.guest-face[data-feeling='disappointed']::after { border-bottom:0;border-top:2px solid #8a543b;border-radius:8px 8px 0 0; }
.guest-face[data-feeling='confused']::before { top:3px;box-shadow:10px 3px #4e4538; }
.guest-face[data-feeling='excited']::after { background:#8a543b;border-radius:50%;height:6px; }
.guest-face[data-feeling='leaving']::after { border-radius:0;height:2px; }
@media(max-width:760px) { .guest-reactions { grid-column:1/-1;margin-bottom:8px; }.guest-reaction small { font-size:9px;max-width:90px; } }
.map.is-testing #map-hint { visibility:hidden; }
.map.is-testing::after { content:'EMPTY TEST TRAIN · NO FARES CHARGED';pointer-events:none;position:absolute;bottom:67px;left:50%;transform:translateX(-50%);background:#284f46e8;color:#fff2d7;white-space:nowrap;padding:7px 11px;border-radius:5px;font-size:10px;letter-spacing:.6px; }
.story-diagnosis { margin:14px 0 20px;padding:12px;background:#ede3cc;border-left:3px solid #b45d40; }
.story-diagnosis:empty { display:none; }
.story-diagnosis strong,.story-diagnosis p { font:12px/1.45 system-ui; }
.story-diagnosis p { margin:6px 0; }
#scenario-dialog::after { content:'Seven parks · scroll to explore';display:block;position:sticky;bottom:-30px;padding:12px 0 6px;text-align:center;background:linear-gradient(transparent,#f9f7eb 20%);font-size:11px;color:#456052; }
@media(max-width:760px) {
 .track-buttons,.slope-buttons { width:100%;float:none;gap:6px; }
 .slope-buttons { margin-top:6px; }
 .track-buttons button,.slope-buttons button { min-height:44px;font-size:12px; }
 .track-buttons span { font-size:11px; }
 .slope-buttons #remove { flex:1; }
}
