/* finishposter.nl: poster preview (map, route, lettering) and the choices. Fonts: URW Gothic (also in the PDF). */
@font-face { font-family: "PK Gothic Demi"; src: url(/assets/fonts/URWGothic-Demi.otf) format("opentype"); font-display: block; }
@font-face { font-family: "PK Gothic Book"; src: url(/assets/fonts/URWGothic-Book.otf) format("opentype"); font-display: block; }

.fp-poster { position: absolute; inset: 0; overflow: hidden; }
.fp-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fp-front { pointer-events: none; }
.fp-t1 { font-family: "PK Gothic Demi", sans-serif; text-anchor: middle; }
.fp-t2 { font-family: "PK Gothic Book", sans-serif; text-anchor: middle; }
#fpCredit { text-anchor: end; }
.fp-map { position: absolute; display: block; pointer-events: none; }
.fp-drop { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6%;
  border: 2px dashed rgba(32, 40, 44, .28); border-radius: 6px; background: rgba(32, 40, 44, .03); color: #4a5357; text-align: center; cursor: pointer; font-size: clamp(11px, 1.6cqw, 16px); }
.fp-drop b { font-size: 1.15em; color: #20282c; }
.fp-drop.over { border-color: #d62839; background: rgba(214, 40, 57, .06); }
.fp-drop input, .fp-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fp-loading { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: rgba(32, 40, 44, .82); color: #fff; font-size: 12px; font-weight: 650; pointer-events: none; }

.fp-source { display: grid; gap: 10px; }
.fp-upload { position: relative; justify-content: center; font-weight: 650; }
.fp-upload svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fp-upload span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 85%; }
.fp-upload:focus-within { box-shadow: 0 0 0 3px rgba(244, 242, 238, .35); }
.fp-or { display: grid; gap: 6px; font-size: 14px; color: var(--on-muted); }
.fp-or select { height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; color: var(--text); font-size: 16px; }
.fp-help { margin: 0; font-size: 13px; color: var(--on-faint); }
.fp-help a { color: var(--on-muted); }
.fp-text { display: grid; gap: 12px; }
.fp-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fp-swatch { height: 46px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1.5px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--on); font-size: 14px; cursor: pointer; white-space: nowrap; }
.fp-swatch:hover { border-color: rgba(255, 255, 255, .34); }
.fp-swatch[aria-checked="true"] { border-color: var(--on); background: rgba(255, 255, 255, .14); }
.fp-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); background: linear-gradient(135deg, var(--a) 0 55%, var(--b) 55%); }
.fp-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fp-colors .pill { justify-content: center; height: 46px; font-size: 15px; }
.fp-chip { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5); }
.sp-credit { margin: 18px 0 0; font-size: 12px; color: var(--on-faint); }
.sp-credit a { color: inherit; }
.sp-explain { grid-template-columns: 1fr; max-width: 760px; }

/* home */
.fp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1040px; margin: 0 auto; }
.fp-gallery figure { margin: 0; display: grid; gap: 10px; }
.fp-gallery img { width: 100%; height: auto; display: block; box-shadow: 0 18px 36px -20px rgba(32, 40, 44, .55); }
.fp-gallery figcaption { font-size: 15px; color: var(--muted); }
.gpx-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1040px; margin: 0 auto; }
.gpx-help div { padding: 22px 24px; background: var(--card); border: 1px solid var(--line); }
.gpx-help h3 { margin: 0 0 8px; }
.gpx-help ol { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
@media (max-width: 900px) { .fp-gallery, .gpx-help { grid-template-columns: 1fr; } }
