/* The New York in 20 minutes showcase page (showcase/nyc-20-minutes/index.html), from the Miami and Adelaide pages, in a gritty inked night-street look (Anton, SIL OFL):
   mobile first, one column; pairs, the eight maps in four columns and the table wider from 700 px. Uses the site's
   tokens (style.css). */
.sc { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 18px 16px 40px; }
.titleblock { position: relative; z-index: 1; }
.sc h1 { font: 600 clamp(30px, 7vw, 54px)/1.04 var(--cond); margin: 6px 0 14px; color: var(--ink); letter-spacing: -.01em; }
.sc h2 { margin: 34px 0 10px; }
.sc p, .sc li { font-size: 17px; line-height: 1.55; }
.sc-kicker { font: 600 12.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--red); margin: 0; }
.sc-lede { font-size: 19px !important; }
.sc figure { margin: 16px 0; }
.sc figure img, .sc figure video { display: block; width: 100%; height: auto; border: 1px solid var(--rule); background: var(--paper-2); }
.sc figcaption { font: 13px/1.4 var(--mono); color: var(--ink-3); margin-top: 6px; }
.sc-cta { display: grid; gap: 10px; margin: 18px 0 8px; }
.sc-btn { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border: 2px solid var(--blue); background: var(--panel); color: var(--ink); text-decoration: none; font: 600 15px var(--mono); text-transform: uppercase; letter-spacing: .03em; }
.sc-btn span { font: 400 13px var(--mono); text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.sc-btn-main { background: var(--blue); color: var(--paper); }
.sc-btn-main span { color: rgba(22, 25, 30, .85); }
.sc-btn:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.sc-btn:hover span { color: rgba(22, 25, 30, .9); }
.sc-stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--blue); border-left: 1px solid var(--rule); margin: 14px 0; }
.sc-stats div { padding: 12px 14px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: rgba(27, 31, 37, .7); }
.sc-stats b { display: block; font: 600 26px var(--mono); color: var(--ink); }
.sc-stats div:first-child b { color: var(--red); }
.sc-stats span { font: 13px/1.3 var(--mono); color: var(--ink-3); }
.sc-mapwrap { display: grid; gap: 0; border: 2px solid var(--blue); background: var(--paper-2); margin: 12px 0 8px; }
#sc-map { height: 62vh; min-height: 340px; max-height: 640px; }
.sc-panel { padding: 12px 14px; display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--rule); }
.sc-time { display: flex; gap: 10px; align-items: center; }
.sc-time input { flex: 1; min-width: 0; accent-color: var(--blue); }
.sc-time output { font: 600 18px var(--mono); min-width: 48px; text-align: right; }
.sc-time button, .sc-jump button { font: 600 13px var(--mono); text-transform: uppercase; border: 2px solid var(--blue); background: var(--panel); color: var(--ink); padding: 6px 12px; min-height: 36px; cursor: pointer; }
.sc-time button[aria-pressed=true] { background: var(--blue); color: var(--paper); }
.sc-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-jump button { font-size: 12px; padding: 5px 9px; min-height: 34px; }
.sc-jump button:hover, .sc-time button:hover { background: var(--blue); color: var(--paper); }
.sc-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font: 12.5px var(--mono); color: var(--ink-1); padding-top: 8px; border-top: 1px solid var(--rule); }
.sc-legend p { flex-basis: 100%; margin: 0; font: 12px/1.35 var(--mono) !important; }
.sc-legend .sc-legend-t { font-weight: 600 !important; color: var(--ink); }
.sc-legend .sc-legend-n { color: var(--ink-3); margin-top: 2px; }
.sc-legend span { display: inline-flex; align-items: center; gap: 5px; }
.sc-legend i { width: 16px; height: 12px; border: 1px solid var(--ink); display: inline-block; }
.sc-legend i.sc-dash { border-style: dashed; background: transparent; }
.sc-info { min-height: 230px; font-size: 15px; }
.sc-info b { display: block; font-size: 17px; }
.sc-info span { font: 12.5px var(--mono); color: var(--ink-3); }
.sc-info dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 8px 0 4px; font: 14px var(--mono); }
.sc-info dt { color: var(--ink-3); }
.sc-info dd { margin: 0; }
.sc-info .sc-big { margin: 8px 0 2px; font: 13px var(--mono); color: var(--ink-3); }
.sc-info .sc-big strong { display: block; font: 600 34px/1.05 var(--mono); color: var(--red); }
.sc-info .sc-big strong.sc-nc { color: var(--ink-3); }
.sc-spark { display: block; width: 100%; height: 46px; margin-top: 8px; overflow: visible; }
.sc-spark polyline { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.sc-spark circle { fill: var(--red); stroke: var(--panel); stroke-width: 1.5; }
.sc-spark .sc-spark-now { stroke: var(--rule); stroke-dasharray: 3 3; }
.sc-spark-axis { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--ink-3); }
.sc-info p { font-size: 13.5px !important; margin: 4px 0 0; }
.sc-info .sc-src, .sc-hint { font: 12px/1.4 var(--mono) !important; color: var(--ink-3); }
.leaflet-container { font: 12px var(--mono); background: var(--card); }
/* the short names on the outlines, shown from zoom 15 (map.js sets .sc-named) */
.leaflet-tooltip.sc-lab { display: none; background: rgba(27, 31, 37, .92); border: 0; box-shadow: none; padding: 1px 5px; font: 600 11px var(--mono); color: var(--ink); white-space: nowrap; }
.leaflet-tooltip.sc-lab::before { display: none; }
.sc-named .leaflet-tooltip.sc-lab { display: block; }
.leaflet-tooltip.sc-tip { font: 600 12px var(--mono); color: var(--ink); }
/* the animations: no player bar over the picture; the button to pause sits beside the caption */
.sc-anim-box { position: relative; }
.sc-anim-btn { float: right; margin: 6px 0 0 12px; font: 600 12px var(--mono); text-transform: uppercase; border: 2px solid var(--blue); background: rgba(32, 37, 44, .9); color: var(--ink); padding: 4px 10px; min-height: 32px; cursor: pointer; }
.sc-anim-btn:hover { background: var(--blue); color: var(--paper); }
.sc-pair { display: grid; gap: 0 18px; }
.sc-steps { padding-left: 22px; }
.sc-steps li { margin: 6px 0; }
.sc-link { font: 600 14px var(--mono); color: var(--blue); }
.sc-pbi { display: grid; gap: 14px; align-items: start; }
.sc-placeholder { margin: 0 !important; border: 2px dashed var(--rule); aspect-ratio: 16 / 9; display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 12px, var(--paper) 12px, var(--paper) 24px); }
.sc-placeholder div { text-align: center; padding: 16px; }
.sc-placeholder b { display: block; font: 600 16px var(--mono); color: var(--ink); }
.sc-placeholder span { font: 13px var(--mono); color: var(--ink-3); }
.sc-caveats li { margin: 4px 0; }
.sc-credits { margin-top: 34px; padding-top: 6px; border-top: 2px solid var(--blue); }
.sc-credits p { font-size: 14px; color: var(--ink-3); }
.sc-signup { margin: 34px 0 0; padding: 18px 20px 20px; border: 2px solid var(--blue); background: var(--paper-2); }
.sc-signup h2 { margin-top: 0; }
.sc-signup .sc-btn { max-width: 420px; }
@media (min-width: 700px) {
  .sc { padding: 28px 24px 56px; }
  .sc-cta { grid-template-columns: repeat(3, 1fr); }
  .sc-stats { grid-template-columns: repeat(4, 1fr); }
  .sc-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .sc-mapwrap { grid-template-columns: 1fr 320px; }
  #sc-map { height: 600px; max-height: none; }
  .sc-panel { border-top: 0; border-left: 1px solid var(--rule); }
  .sc-pbi { grid-template-columns: 1.2fr 1fr; }
}

/* the By height and By source buttons */
.sc-jump button[aria-pressed="true"] { background: var(--blue); color: var(--paper); }
/* phones: the map, Play and the legend share the dock under the map (/showcase/showcase-map.css and .js); here the
   legend's note and the dot key are left out to keep the dock slim (the dots read at street level) */
@media (max-width: 899px) {
  .sc-dock .sc-legend .sc-legend-n { display: none; }
}
/* desktop: the panel beside the map is taller than 600 px (three rows of buttons and the decade bars), so the map
   stretches to its height instead of leaving a band under it */
@media (min-width: 900px) {
  .sc-docked:not(.sc-twin) #sc-map { height: auto; min-height: 640px; }
}
.sc-pbi-shots { display: grid; gap: 14px; }
.sc-pbi-shots figure { margin: 0; }
/* the count under the legend, the three other views side by side */
.sc-count { font: 12.5px/1.4 var(--mono); color: var(--ink-3); margin: 0 !important; }
.sc-strip { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 0; gap: 8px; margin: 16px 0 6px; }
.sc-strip figure { margin: 0; min-width: 0; }
.sc-strip picture, .sc-strip img { display: block; width: 100%; height: auto; }
.sc-strip figcaption { font-size: 12px; }
@media (min-width: 700px) { .sc-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sc-info { min-height: 150px; }
.sc-src-table { border-collapse: collapse; width: 100%; margin: 10px 0 4px; font: 14px/1.4 var(--mono); }
.sc-src-table th, .sc-src-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.sc-src-table td:nth-child(2), .sc-src-table th:nth-child(2), .sc-src-table td:nth-child(3), .sc-src-table th:nth-child(3) { text-align: right; white-space: nowrap; }
.sc-src-table th { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--blue); }
@media (max-width: 699px) { .sc-src-table { font-size: 12.5px; } .sc-src-table th, .sc-src-table td { padding: 5px 4px; } }

/* the eight places: a map each, its share large; two columns on a phone, four from 900 px */
.sc-grid8 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 6px; }
.sc-tile { margin: 0 !important; position: relative; background: #0e121a; border: 1px solid var(--rule); }
.sc-tile img { border: 0 !important; }
.sc-tile figcaption { position: absolute; left: 0; top: 0; right: 0; margin: 0 !important; padding: 8px 10px 22px; color: #e7eaef; font: 12px/1.3 var(--mono); background: linear-gradient(rgba(12, 16, 24, .92), rgba(12, 16, 24, .8) 75%, rgba(12, 16, 24, 0)); display: flex; flex-direction: column; }
.sc-tile figcaption b { font: 600 15px/1.15 var(--cond); color: var(--ink); }
.sc-tile .sc-big { font: 600 34px/1.05 var(--cond); color: #f0a040; }
.sc-tile .sc-rush { color: #96c8fa; }
@media (min-width: 900px) { .sc-grid8 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sc-tile .sc-big { font-size: 40px; } }
.sc-src-table td:nth-child(4), .sc-src-table th:nth-child(4), .sc-src-table td:nth-child(5), .sc-src-table th:nth-child(5) { text-align: right; white-space: nowrap; }
.sc-src-table .sc-total th, .sc-src-table .sc-total td { font-weight: 600; border-top: 2px solid var(--blue); }
.sc-list { padding-left: 20px; }
.sc-list li { margin: 4px 0; font-size: 15.5px !important; }
.sc-pair h3 { margin: 18px 0 4px; }
.sc-anim video { background: #0e121a !important; }
.sc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sc-t5 caption { text-align: left; font: 13px/1.4 var(--mono); color: var(--ink-3); padding-bottom: 4px; }
.sc-t5 th, .sc-t5 td { white-space: normal !important; }
@media (max-width: 699px) { .sc-t5 { font-size: 12px; } .sc-t5 thead th { font-size: 11px; line-height: 1.25; } .sc-t5 th:first-child { min-width: 92px; } }
@media (min-width: 700px) { .sc-anim-sq { max-width: 600px; margin-left: auto; margin-right: auto; } }

/* New York: a gritty inked comic-poster look for this page only (23 Nov 2026). Heavy outlined lettering in Anton (SIL OFL 1.1)
   with an ink outline and a hard drop shadow; original illustrations in ink-bordered panels; the night-street palette (overcast
   slate, brown and steel blue, sodium orange, cab yellow). Charts, maps and tables keep their own colours: only frames, headings
   and panels change. Body copy stays in the site's faces. */
.sc-poster-look { --ink-line: #0e0d0c; --sun-a: #ffd65c; --sun-b: #e87c28; --teal: #b0c4d6; --warm: #ffcc33; --violet: #181b21; }
.sc-poster-look .sc { background: radial-gradient(circle at 1px 1px, rgba(240, 138, 44, .10) 1.2px, transparent 1.6px) 0 0 / 14px 14px; }
.sc-poster-look .sc-kicker { color: var(--teal); }
.sc-poster { position: relative; margin: 10px 0 18px; border: 5px solid var(--ink-line); box-shadow: 8px 8px 0 var(--ink-line); background: var(--violet); }
.sc-poster img { display: block; width: 100%; height: auto; }
.sc-poster h1.sc-night-title { position: absolute; left: 5%; top: 6%; width: 88%; margin: 0; }
.sc-night .sc-night-title, .sc-poster-look .sc h2 { font-family: 'Anton', var(--cond), sans-serif; font-weight: 400; letter-spacing: .01em; }
.sc-night .sc-night-title { font-size: clamp(32px, 9vw, 66px); line-height: 1.02; color: var(--sun-a); background: linear-gradient(180deg, var(--sun-a) 15%, var(--sun-b) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0; filter: drop-shadow(2px 0 0 var(--ink-line)) drop-shadow(-2px 0 0 var(--ink-line)) drop-shadow(0 2px 0 var(--ink-line)) drop-shadow(0 -2px 0 var(--ink-line)) drop-shadow(5px 5px 0 var(--ink-line)); text-shadow: none; }
.sc-poster-look .sc h2 { font-size: clamp(26px, 6.4vw, 38px); line-height: 1.08; color: var(--warm); paint-order: stroke fill; -webkit-text-stroke: 6px var(--ink-line); text-shadow: 4px 4px 0 var(--ink-line); margin-top: 38px; }
.sc-poster-look .sc h3 { color: var(--teal); }
/* the section panels: an illustrated strip in an ink border, its heading set over the foot of it */
.sc-artstrip { margin: 40px 0 0; border: 5px solid var(--ink-line); box-shadow: 8px 8px 0 var(--ink-line); background: var(--violet); line-height: 0; }
.sc-artstrip img { display: block; width: 100%; height: clamp(110px, 30vw, 300px); object-fit: cover; }
.sc-poster-look .sc h2.sc-on-art { position: relative; margin: -0.95em 0 14px 14px; z-index: 2; }
/* the data's figures and pictures sit in ink-bordered panels with a hard shadow, like the panels of a comic */
.sc-poster-look .sc figure img, .sc-poster-look .sc figure video { border: 4px solid var(--ink-line); box-shadow: 6px 6px 0 var(--ink-line); }
.sc-poster-look .sc figure { margin: 18px 6px 18px 0; }
.sc-night .sc-stats { background: linear-gradient(180deg, #181b21 0%, #26262b 60%, #4e3a2c 100%); border: 4px solid var(--ink-line); box-shadow: 6px 6px 0 var(--ink-line); margin-right: 6px; }
.sc-night .sc-stats b { font-family: 'Anton', var(--cond), sans-serif; font-weight: 400; font-size: 34px; color: var(--warm); paint-order: stroke fill; -webkit-text-stroke: 5px var(--ink-line); text-shadow: 3px 3px 0 var(--ink-line); }
.sc-night .sc-stats div:first-child b { color: var(--warm); }
.sc-night .sc-stats div:nth-child(2) b { color: var(--sun-b); }
.sc-night .sc-stats div:nth-child(3) b, .sc-night .sc-stats div:nth-child(4) b { color: #8aa4c0; }
.sc-night .sc-stats span { color: #e6e2da; }
.sc-night .sc-stats div { background: transparent; border-color: rgba(240, 138, 44, .35); }
.sc-poster-look .sc-btn { border: 3px solid var(--ink-line); box-shadow: 5px 5px 0 var(--ink-line); background: #1f2127; }
.sc-poster-look .sc-btn-main { background: var(--warm); color: var(--violet); }
.sc-poster-look .sc-btn-main span { color: rgba(24, 27, 33, .85); }
.sc-poster-look .sc-btn:hover { background: var(--warm); border-color: var(--ink-line); color: var(--violet); }
.sc-poster-look .sc-signup { border: 5px solid var(--ink-line); box-shadow: 8px 8px 0 var(--ink-line); background: linear-gradient(180deg, #181b21, #2c2a2e 70%, #5a4030); }
.sc-poster-look .sc-signup h2 { margin-top: 0; }
@media (min-width: 700px) {
  .sc-poster h1.sc-night-title { width: 52%; top: 9%; }
}
/* 23 Nov: the borough table fits a phone without its two minutes-to-Midtown columns (they are in the data download) */
@media (max-width: 699px) { .sc-boro th:nth-child(n+6), .sc-boro td:nth-child(n+6) { display: none; } }
