/* Czech Island — the drawer ("ticket sheet") and every content module inside it. */

/* ---------- sheet container ---------- */
.sheet {
  --peek: 74px;
  position: fixed; z-index: 40; top: calc(12px + var(--safe-t)); right: calc(12px + var(--safe-r));
  width: 440px; height: calc(100dvh - 24px - var(--safe-t) - var(--safe-b));
  display: flex; flex-direction: column;
  background: var(--paper) var(--paper-grain); border: var(--line); border-radius: 8px; box-shadow: 6px 6px 0 var(--ink);
  transition: height .6s var(--ease-spring), width .5s var(--ease-out), transform .55s var(--ease-spring), opacity .3s;
  will-change: transform;
}
.sheet[data-wide] { width: min(780px, 58vw); }
.sheet[data-state="peek"] { height: var(--peek); }
.sheet.bump { animation: sheet-bump .6s var(--ease-spring); }
@keyframes sheet-bump { 0% { transform: translateX(30px) rotate(1deg); opacity: .4; } 100% { transform: none; opacity: 1; } }
html.no-js .sheet { position: relative; inset: auto; width: auto; height: auto; max-width: 760px; margin: 84px auto 40px; }
html.no-js .topbar { position: absolute; }

.sheet-grip { flex: none; position: relative; padding: 10px 10px 10px 16px; border-bottom: 1.5px dashed var(--ink); cursor: pointer; user-select: none; touch-action: none; }
.sheet-grip::before, .sheet-grip::after { /* ticket notches */
  content: ''; position: absolute; bottom: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper-3); border: var(--line);
}
.sheet-grip::before { left: -9px; } .sheet-grip::after { right: -9px; }
.grip-bar { display: none; }
.sheet-ticket { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.tk-no { flex: none; font-family: var(--f-display); font-weight: 900; font-size: 12px; letter-spacing: .1em; color: var(--paper); background: var(--red); padding: 3px 8px; border-radius: 2px; transform: rotate(-2deg); max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-title { flex: 1; min-width: 0; font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-toggle, .tk-close { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1.5px solid transparent; transition: background .2s, transform .3s var(--ease-spring); }
.tk-toggle:hover, .tk-close:hover { background: var(--paper-2); border-color: var(--ink); color: var(--red); }
.tk-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tk-toggle span { width: 12px; height: 12px; border-right: 2.2px solid currentColor; border-bottom: 2.2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .4s var(--ease-spring); }
.sheet:not([data-state="peek"]) .tk-toggle span { transform: translateY(3px) rotate(-135deg); }
.sheet[data-route-kind="home"] .tk-close { display: none; }

.sheet-body {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  container-type: inline-size; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; touch-action: pan-y;
}
.sheet[data-state="peek"] .sheet-body { visibility: hidden; }
html.no-js .sheet-body { overflow: visible; }

@media (max-width: 760px) {
  .sheet {
    top: auto; left: 0; right: 0; bottom: 0; width: auto !important;
    height: calc(100dvh - var(--top-h) - 22px - var(--safe-t));
    border-radius: 18px 18px 0 0; border-bottom: 0; box-shadow: 0 -3px 0 var(--ink), 0 -12px 30px rgba(28,26,25,.12);
    transform: translateY(var(--sheet-y, 46%));
  }
  .sheet[data-state="peek"] { height: calc(100dvh - var(--top-h) - 22px - var(--safe-t)); --sheet-y: calc(100% - var(--peek) - var(--safe-b)); }
  .sheet[data-state="half"] { --sheet-y: 46%; }
  .sheet[data-state="full"] { --sheet-y: 0px; }
  .sheet.dragging { transition: none; }
  .sheet[data-state="peek"] .sheet-body { visibility: visible; }
  .sheet-grip { padding: 4px 6px 6px 14px; }
  .tk-no { max-width: 38%; font-size: 11px; }
  .tk-toggle, .tk-close { width: 44px; }
  .sheet-ticket { gap: 6px; }
  .grip-bar { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--ink); margin: 2px auto 2px; opacity: .8; }
  .sheet-body { padding-bottom: var(--safe-b); }
  .sheet[data-state="half"] .sheet-body { padding-bottom: calc(46vh + var(--safe-b)); }
  .sheet.bump { animation: sheet-bump-m .6s var(--ease-spring); }
  html.no-js .sheet { margin: 70px 0 0; border-radius: 0; transform: none; }
}
@keyframes sheet-bump-m { 0% { filter: brightness(.96); } 100% { filter: none; } }

/* ---------- content ---------- */
.sc { padding: 0 20px 34px; }
.sc > .blk, .sc > header, .sc > form, .sc > p { animation: none; }
.sc.enter > * { animation: rise .7s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.cover { position: relative; margin: 0 -20px; padding: 0 20px; overflow: hidden; }
.cover-ph { margin: 0 -20px; aspect-ratio: var(--ar, 16 / 9); max-height: 62vh; overflow: hidden; border-bottom: var(--line); background: var(--paper-2); }
.cover-ph .plx { display: block; height: 100%; will-change: transform; }
.cover-ph img { width: 100%; height: 100%; object-fit: cover; background-size: cover; cursor: zoom-in; }
.bigword { position: relative; margin-top: -.7em; font-size: clamp(42px, 17cqw, 92px); line-height: .95; pointer-events: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 .2em; }
.bw {
  font-family: var(--f-display); font-weight: 900; letter-spacing: -.01em; color: var(--paper);
  -webkit-text-stroke: 1.6px var(--ink); paint-order: stroke fill; text-shadow: .05em .05em 0 var(--red);
  white-space: nowrap; max-width: 100%;
}
.bw.wrap { white-space: normal; overflow-wrap: anywhere; }
.cover.no-ph .bigword, .cover-plain .bigword { margin-top: 18px; }
.cover-plain .bw, .cover.no-ph .bw { color: var(--paper); }
.bw-m {
  font-size: 13px; font-weight: 700; color: var(--paper); background: var(--ink); padding: 2px 8px; border-radius: 2px; letter-spacing: .1em;
  transform: rotate(-4deg) translateY(-.6em); align-self: flex-end;
}
.sc.enter .bw { animation: bw-in .9s var(--ease-spring) both; }
@keyframes bw-in { from { letter-spacing: .3em; opacity: 0; } to { letter-spacing: -.01em; opacity: 1; } }

.crumb { font-size: 13px; color: var(--ink-3); margin: 10px 0 2px; }
.crumb a { color: var(--ink-2); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--red); }
.title { font-size: 26px; font-weight: 700; letter-spacing: .02em; }
.title .cs { display: block; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 17px; color: var(--ink-3); letter-spacing: 0; margin-top: 2px; }
.tagline { font-size: 17px; line-height: 1.6; margin: 12px 0 0; padding-left: 12px; border-left: 4px solid var(--red); }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }

.blk { margin-top: 30px; }
.blk-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 18px; }
.blk-h > span, .blk-h > a { position: relative; font-weight: 700; padding-left: 20px; color: var(--ink); text-decoration: none; }
.blk-h > span::before, .blk-h > a::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--red); border: 1.5px solid var(--ink); transform: rotate(45deg); }
.blk-h > a:hover { color: var(--red); }
.blk-h small { font-size: 12px; color: var(--ink-3); font-weight: 400; white-space: nowrap; }
.blk-intro p { font-size: 16px; }
.blk-intro p:first-child::first-letter { font-family: var(--f-display); font-weight: 900; font-size: 2.6em; float: left; line-height: .9; margin: 4px 8px 0 0; color: var(--red); }

/* postmarks */
.stamps { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.postmark { display: inline-block; text-decoration: none; color: var(--red); transform: rotate(var(--rot, -10deg)); transition: transform .3s var(--ease-spring); }
.postmark:nth-child(even) { --rot: 8deg; }
.postmark:nth-child(3n) { --rot: -3deg; }
.postmark:hover { color: var(--red-d); transform: rotate(0) scale(1.1); }
.pm-ring {
  width: 74px; height: 74px; border-radius: 50%; border: 2.5px solid currentColor; display: grid; place-content: center; text-align: center; line-height: 1.05;
  outline: 1.5px solid currentColor; outline-offset: -8px; background: radial-gradient(circle, rgba(215,20,26,.04), transparent 70%);
  mix-blend-mode: multiply;
}
.pm-ring b { font-family: var(--f-display); font-weight: 900; font-size: 19px; }
.pm-top, .pm-bot { font-size: 8.5px; font-weight: 700; letter-spacing: .14em; }
.postmark.big { position: absolute; right: 14px; top: 14px; z-index: 2; }
.postmark.big .pm-ring { width: 92px; height: 92px; background: rgba(247,243,236,.85); }
.postmark.big .pm-ring b { font-size: 24px; }
.cover.no-ph .postmark.big { top: 10px; }
.cover.no-ph:has(.postmark.big) .bigword { padding-right: 100px; }
.reveal-stamp { opacity: 0; }
.reveal-stamp.seen { animation: stamp .55s var(--ease-spring) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes stamp { 0% { opacity: 0; transform: rotate(var(--rot, -10deg)) scale(2.2); } 55% { opacity: 1; transform: rotate(calc(var(--rot, -10deg) - 4deg)) scale(.9); } 100% { opacity: 1; transform: rotate(var(--rot, -10deg)) scale(1); } }

.visits { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.visits li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px dotted var(--ink-3); font-size: 15px; }
.visits a { font-family: var(--f-display); font-weight: 900; color: var(--red); text-decoration: none; }
.visits span { font-family: var(--f-display); font-weight: 600; }
.visits small { color: var(--ink-3); font-size: 12px; }
.we-text { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* gallery wall (masonry) */
.wall { columns: 2; column-gap: 12px; }
@container (min-width: 620px) { .wall { columns: 3; } }
.wall-item { break-inside: avoid; margin: 0 0 14px; }
.wall-btn { display: block; width: 100%; background: var(--paper); border: var(--line); padding: 5px 5px 0; box-shadow: var(--shadow-sm); transform: rotate(var(--tilt, 0deg)); transition: transform .35s var(--ease-spring), box-shadow .3s; }
.wall-item:nth-child(3n+1) .wall-btn { --tilt: -1.2deg; } .wall-item:nth-child(3n+2) .wall-btn { --tilt: .9deg; } .wall-item:nth-child(3n) .wall-btn { --tilt: -.4deg; }
.wall-btn:hover { transform: rotate(0) translateY(-3px) scale(1.02); box-shadow: 4px 6px 0 var(--ink); }
.wall-btn img { width: 100%; background-size: cover; margin-bottom: 5px; }
.wall-item figcaption { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); margin-top: 6px; }
.reveal { opacity: 0; transform: translateY(24px) rotate(-1deg); transition: opacity .6s, transform .7s var(--ease-spring); transition-delay: calc(var(--i, 0) * 50ms); }
.reveal.seen { opacity: 1; transform: none; }

/* hotspots */
.hs-fig { position: relative; margin: 0 0 16px; }
.hs-fig > img { width: 100%; border: var(--line); background-size: cover; }
.hs-dot {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: var(--red); color: var(--paper); border: 2px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink);
  font-family: var(--f-display); font-weight: 900; font-size: 14px; display: grid; place-items: center; transition: transform .3s var(--ease-spring);
}
.hs-dot::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--red); animation: hs-pulse 1.8s ease-out infinite; }
.hs-dot:nth-of-type(2)::before { animation-delay: .5s; } .hs-dot:nth-of-type(3)::before { animation-delay: 1s; }
.hs-dot[aria-expanded="true"] { transform: scale(1.2); background: var(--ink); }
.hs-dot::after { content: ''; position: absolute; inset: -6px; } /* bigger hit area (≥44px) */
@keyframes hs-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.hs-cards { margin-top: 10px; display: grid; gap: 8px; }
html.js .hs-card { display: none; }
.hs-card { background: var(--paper); border: var(--line); box-shadow: var(--shadow-sm); padding: 10px 12px; font-size: 14px; border-radius: 3px; }
html.js .hs-card.on { display: block; animation: hs-card .45s var(--ease-spring); }
@keyframes hs-card { from { opacity: 0; transform: translateY(-10px) scale(.95); } to { opacity: 1; transform: none; } }
.hs-card b { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.hs-card b i { font-style: normal; font-family: var(--f-display); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--paper); font-size: 12px; }
.hs-card p { margin: 4px 0 2px; }
.hs-card a { font-size: 12px; }

/* flip cards */
.flips { display: grid; gap: 14px; }
@container (min-width: 620px) { .flips { grid-template-columns: 1fr 1fr; } }
.flip { perspective: 1000px; }
.flip-in { display: grid; transform-style: preserve-3d; transition: transform .8s var(--ease-spring); }
.flip.on .flip-in { transform: rotateY(180deg); }
.flip-f, .flip-b { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: var(--line); border-radius: 6px; box-shadow: var(--shadow-sm); min-height: 168px; }
.flip-f {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; padding: 18px 18px 14px; position: relative; overflow: hidden;
  background: var(--red); color: var(--paper);
  background-image: repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0 2px, transparent 2px 9px);
}
.flip-f::after { content: ''; position: absolute; right: -26px; top: -26px; width: 90px; height: 90px; border-radius: 50%; border: 2px dashed rgba(247,243,236,.5); }
.flip-f:hover .ff-hint { transform: rotate(-360deg); }
.ff-cs { font-family: var(--f-display); font-weight: 900; font-size: 32px; line-height: 1; letter-spacing: .02em; overflow-wrap: anywhere; }
.ff-m { font-size: 12px; font-weight: 700; background: var(--paper); color: var(--ink); padding: 0 6px; border-radius: 2px; margin-top: 6px; }
.ff-q { font-size: 17px; font-weight: 700; margin-top: 12px; }
.ff-hint { position: absolute; right: 14px; bottom: 10px; font-size: 12px; opacity: .85; transition: transform .7s var(--ease-out); }
.flip-b { transform: rotateY(180deg); background: var(--paper); padding: 16px 18px 10px; font-size: 14.5px; display: flex; flex-direction: column; justify-content: space-between; }
.flip-b p { margin: 0 0 8px; }
.fb-src { display: flex; align-items: center; gap: 6px; font-size: 13px; margin: 0 !important; }
.fb-src a { font-weight: 700; }
.flip-back { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); font-size: 18px; }
.flip-back:hover { background: var(--ink); color: var(--paper); }
html.no-js .flip-in { display: block; }
html.no-js .flip-b { transform: none; margin-top: 6px; }
html.no-js .ff-hint, html.no-js .flip-back { display: none; }
.flip.wiggle .flip-in { animation: wiggle .6s ease; }
@keyframes wiggle { 0%,100% { transform: rotateY(0); } 30% { transform: rotateY(18deg); } 60% { transform: rotateY(-8deg); } }

/* food */
.food-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.food-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 12px; background: var(--paper); border: 1px solid var(--ink); border-left: 5px solid var(--gold); border-radius: 3px; font-size: 14.5px; }
.food-list i { font-style: normal; font-size: 11px; font-weight: 700; padding: 0 6px; background: var(--ink); color: var(--paper); border-radius: 2px; }
.food-list b { font-weight: 700; }
.food-list span { color: var(--ink-2); flex-basis: 100%; font-size: 13.5px; }

/* missed / status */
.st-stamp {
  display: inline-block; font-weight: 900; font-size: 14px; letter-spacing: .14em; color: var(--red); border: 2.5px solid var(--red); padding: 2px 10px; border-radius: 4px;
  transform: rotate(-6deg); text-transform: uppercase; box-shadow: inset 0 0 0 1.5px var(--paper), inset 0 0 0 3px var(--red); background: rgba(247,243,236,.8);
}
.st-stamp.st-outside { color: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--paper), inset 0 0 0 3px var(--blue); }
.sc.enter .st-stamp { animation: stamp .6s .5s var(--ease-spring) both; --rot: -6deg; }
.missed-card { position: relative; padding: 12px 14px; margin-bottom: 10px; border: 1.5px dashed var(--ink); border-radius: 4px; background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(28,26,25,.03) 8px 10px); }
.missed-card b { display: block; margin: 4px 0 2px; }
.missed-card p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.st-tag { position: absolute; z-index: 2; top: 8px; right: -4px; font-size: 11px; font-weight: 900; letter-spacing: .1em; padding: 1px 8px; background: var(--red); color: var(--paper); border: 1px solid var(--ink); transform: rotate(4deg); }
.st-tag.st-outside { background: var(--blue); }
.stop-n .st-tag { position: static; display: inline-block; margin-left: 8px; transform: rotate(-3deg); }

/* prev/next & actions */
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pn { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; min-height: 64px; background: var(--paper); border: var(--line); border-radius: 4px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-spring), box-shadow .3s; position: relative; }
.pn small { font-size: 12px; color: var(--red); font-weight: 700; letter-spacing: .06em; }
.pn b { font-size: 15px; line-height: 1.35; }
.pn-next { text-align: right; align-items: flex-end; }
a.pn:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 3px 5px 0 var(--ink); }
a.pn-prev:hover { transform: translate(-3px, -3px); } a.pn-next:hover { transform: translate(3px, -3px); }
.pn-empty { opacity: .55; box-shadow: none; border-style: dashed; }
.blk-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* place cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@container (min-width: 600px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border: var(--line); border-radius: 4px; box-shadow: var(--shadow-sm);
  color: var(--ink); text-decoration: none; overflow: visible; transition: transform .35s var(--ease-spring), box-shadow .3s;
}
.pcard:hover, .pcard:focus-visible { color: var(--ink); transform: translateY(-4px) rotate(-.8deg); box-shadow: 4px 6px 0 var(--ink); }
.pcard:nth-child(even):hover { transform: translateY(-4px) rotate(.8deg); }
.pc-ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--line); background: var(--paper-2); border-radius: 3px 3px 0 0; }
.pc-ph img { width: 100%; height: 100%; object-fit: cover; background-size: cover; transition: transform .6s var(--ease-out); }
.pcard:hover .pc-ph img { transform: scale(1.06); }
.pc-noph { display: grid; place-items: center; height: 100%; font-family: var(--f-display); font-weight: 900; font-size: 22px; color: var(--paper); -webkit-text-stroke: 1px var(--ink); text-shadow: 2px 2px 0 var(--red); padding: 6px; overflow-wrap: anywhere; text-align: center; }
.pc-txt { display: flex; flex-direction: column; padding: 8px 10px 10px; min-width: 0; }
.pc-txt b { font-size: 15px; line-height: 1.35; }
.pc-txt small { font-family: var(--f-display); font-style: italic; font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pc-kind { font-size: 11px; font-weight: 700; padding: 0 6px; border: 1px solid var(--ink); border-radius: 999px; }
.pc-meta i { font-style: normal; font-family: var(--f-display); font-weight: 900; font-size: 11px; color: var(--red); }
.pcard.is-missed .pc-ph img, .pcard.is-outside .pc-ph img { filter: grayscale(.7) contrast(.95); }
.pcard.hide { display: none; }

/* regions / day list / howto (home) */
.regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rchip { position: relative; display: flex; flex-direction: column; padding: 10px 12px 10px 18px; border: var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease-spring); }
.rchip::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--rc); border-right: 1px solid var(--ink); }
.rchip small { font-family: var(--f-display); font-style: italic; color: var(--ink-3); font-size: 12px; }
.rchip i { position: absolute; right: 10px; top: 8px; font-style: normal; font-family: var(--f-display); font-weight: 900; font-size: 22px; color: var(--red); }
.rchip:hover { color: var(--ink); transform: translateY(-3px) rotate(-1deg); }
.daylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.daylist a { display: grid; grid-template-columns: 34px 46px 1fr; align-items: center; gap: 8px; min-height: 44px; padding: 4px 10px; border: 1px solid var(--ink); border-radius: 4px; background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease-spring), background .2s; }
.daylist a:hover { color: var(--ink); background: var(--paper-2); transform: translateX(4px); }
.dl-n { font-family: var(--f-display); font-weight: 900; font-size: 20px; color: var(--red); text-align: center; }
.dl-d { font-family: var(--f-display); font-weight: 600; font-size: 13px; color: var(--ink-3); }
.daylist b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.howto { counter-reset: h; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.howto li { counter-increment: h; position: relative; padding: 10px 12px 10px 52px; border: var(--line); border-radius: 4px; background: var(--paper); }
.howto li::before { content: counter(h); position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--paper); font-family: var(--f-display); font-weight: 900; border: 1.5px solid var(--ink); }
.howto b { display: block; }
.howto span { font-size: 14px; color: var(--ink-2); }
.fine { font-size: 13px; color: var(--ink-3); margin-top: 26px; }

/* day stops */
.stops { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.stops::before { content: ''; position: absolute; left: 51px; top: 8px; bottom: 8px; border-left: 2px dashed var(--red); }
.stops li { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: baseline; padding: 7px 0; }
.stops li::before { content: ''; position: absolute; left: 41px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.stops time { font-family: var(--f-display); font-weight: 900; font-size: 14px; }
.stop-n { font-size: 15px; }
.stop-n a { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); }
.stop-n > span { color: var(--ink-3); }
.stops small { color: var(--ink-3); font-size: 12px; }
.stops li.now::before { background: var(--red); animation: live 1.4s infinite; }

/* list filters */
.filters { position: sticky; top: 0; z-index: 3; margin: 18px -20px 0; padding: 12px 20px 8px; background: rgba(247,243,236,.95); border-bottom: 1px solid var(--ink); backdrop-filter: blur(4px); }
.f-search input { width: 100%; min-height: 46px; padding: 8px 14px 8px 40px; border: var(--line); border-radius: 999px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1A19' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") 14px 50% / 18px no-repeat; font-size: 16px; }
.f-search input:focus { outline: 3px solid var(--red); outline-offset: 1px; }
.f-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.f-row select { width: 100%; min-height: 44px; padding: 0 8px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper); font-size: 14px; }
.f-count { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); }
.f-empty { text-align: center; padding: 30px 0; color: var(--ink-3); }
.blk-region .blk-h a { font-size: 19px; }
.blk-region .blk-h > a::before { background: var(--rc); }
.blk-region.hide { display: none; }

/* about */
.sources { padding-left: 1.4em; margin: 0; font-size: 14px; }
.sources li { padding: 6px 0; border-bottom: 1px dotted var(--ink-3); }
.src-where { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; margin-right: 6px; background: var(--paper-2); border: 1px solid var(--ink-3); border-radius: 2px; }
.sources a { margin-left: 8px; font-size: 13px; word-break: break-all; }

/* source links: red, no underline (about list, fact cards, photo details) */
.sources a, .fb-src a, .hs-card a { color: var(--red); text-decoration: none; font-weight: 700; }
.sources a:hover, .fb-src a:hover, .hs-card a:hover, .sources a:focus-visible, .fb-src a:focus-visible, .hs-card a:focus-visible { color: var(--ink); text-decoration: none; }
