/* roksasex.pl — one stylesheet, `external` css axis.

   Class names are hashed (`naming: hashed`): an underscore and six hex digits, derived
   from the role's name. The key is STYLE.md; each rule below names its role in the
   comment beside it, so the file can be read without the key open.

   Palette `violet-magenta`: a plum band up top, a magenta-to-coral strip under it, a pale
   pink page, carmine for the name. Type `serif`, system stack, no webfont. Radius `sharp`:
   nothing is rounded. Layout `full-bleed`: band and strip run edge to edge. */

:root {
    --ink: #2a1a24;
    --paper: #fdf2f8;
    --card: #fff;
    --line: #ecd0e0;
    --dim: #7a5f70;
    --wash: #f8e3ef;
    --accent: #d6167a;
    --accent-ink: #fff;
    --carmine: #e0233f;
    --plum: #4b1040;
    --plum-ink: #fbe9f3;
    --coral: #ff4f6d;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    /* A column at least as tall as the window, with `main` taking the slack below. Without
       it the footer sits wherever the content happened to end, and a short page — the
       crossing, the rules, a 404, a city with nothing in it yet — leaves a band of bare
       ground under it. The crossing page is half the length of a listing, so it is where
       this shows first. */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: var(--paper);
    font: 17px/1.55 Georgia, "Times New Roman", "DejaVu Serif", serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }

/* skip — clipped until focused, then a plain button over the header.
   Clipped rather than pushed to left:-9999px: a magnifier follows the caret, and a link
   parked nine thousand pixels away is announced and then unreachable. `fixed` on focus,
   because `absolute` would place it 12px from the DOCUMENT top — off-screen whenever
   focus arrives on a scrolled page. Plum, not coral: white on coral measures 3.19:1,
   under the 4.5:1 a body-sized string needs; on plum it is 14.5:1. */
._70eb33 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
._70eb33:focus { position: fixed; width: auto; height: auto; overflow: visible; clip-path: none; left: 12px; top: 12px; z-index: 20; background: var(--plum); color: #fff; padding: 10px 16px; outline: 2px solid var(--coral); outline-offset: 2px; }

/* bounds — the text column inside a full-bleed band */
._5f997d { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* top — the plum band */
._1ef257 { background: var(--plum); color: var(--plum-ink); }
._1ef257 ._5f997d { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

/* sign — the wordmark link; mark — the name itself, a script drawn as a path */
._f94295 { display: inline-flex; align-items: center; color: var(--plum-ink); text-decoration: none; }
._f94295:hover { color: #fff; }
._ef58e0 { display: block; }

/* menu, menu-link, menu-here */
._d7ef46 { display: flex; gap: 22px; }
._c1fb00 { color: var(--plum-ink); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
._c1fb00:hover { border-bottom-color: var(--coral); }
._7de514 { border-bottom-color: var(--coral); }

/* band — the strip under the top, magenta to coral; slogan — the line in it */
._5e7f21 { background: linear-gradient(90deg, var(--accent), var(--coral)); color: var(--accent-ink); }
._de3357 { max-width: 1040px; margin: 0 auto; padding: 9px 20px; font-style: italic; font-size: 15px; text-align: center; }

/* main */
/* Takes the slack, so the footer below it reaches the bottom of a short page. */
._20ed89 { flex: 1 0 auto; padding: 26px 20px 48px; }

/* trail, trail-link */
._e00925 { font-size: 14px; color: var(--dim); margin-bottom: 14px; }
._ee5b40 { color: var(--dim); }

/* title (h1), lead, sub (h2), prose */
._343bba { font-size: 34px; color: var(--plum); margin-bottom: 10px; }
._7cecb6 { font-size: 19px; color: var(--dim); margin-bottom: 18px; }
._9cfde5 { font-size: 21px; color: var(--plum); margin: 30px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
/* A question. Smaller than the section heading above it and without the rule: it
   opens a pair, it does not open a section. */
._5b2ad8 { font-size: 17px; color: var(--plum); margin: 22px 0 6px; }
._a29c2e { max-width: 68ch; }

/* facts, fact, fact-main */
._8ebe2f { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
._535b23 { color: var(--dim); }
._a37fb4 { color: var(--accent); font-weight: 700; }

/* places, place, place-link, place-name, place-count */
._800d8e { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 6px 18px; }
._e72cff { margin: 0; }
._a746d1 { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--line); text-decoration: none; color: var(--ink); }
._a746d1:hover { color: var(--accent); }
._0908bb { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
._d97b4c { color: var(--dim); font-size: 14px; }

/* row — one listing entry: the whole row is the link (`aside-rows`) */
._737a43 { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--line); margin-bottom: 6px; text-decoration: none; color: var(--ink); }
._737a43:hover { border-left-color: var(--accent); background: #fff; }
._737a43:hover ._2ddcb4 { color: var(--carmine); }
/* row-shot — the aside holding the photograph; row-photo — the photograph */
._665670 { width: 68px; height: 78px; background: var(--wash); overflow: hidden; }
._61d369 { width: 68px; height: 78px; object-fit: cover; object-position: 50% 25%; }
/* row-facts — the text of the row; row-name, row-age, row-price, row-open */
._893970 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin: 0; padding: 6px 14px 6px 0; }
._e40b3f { font-size: 18px; color: var(--plum); max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
._33d440 { color: var(--dim); font-size: 15px; }
._07960b { color: var(--accent); font-weight: 700; font-size: 15px; }
._2ddcb4 { margin-left: auto; color: var(--accent); font-weight: 700; font-size: 15px; white-space: nowrap; }
/* place-note — the line written about a city, in the cities list */
._4ab945 { flex: 1 1 100%; color: var(--dim); font-size: 15px; }

/* pager, pager-link, pager-back */
._fa457c { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
._1cfcfa { color: var(--accent); font-weight: 700; text-decoration: none; }
._917cc8 { margin-right: auto; }

/* empty */
._3e74a0 { color: var(--dim); font-style: italic; }

/* action, action-quiet */
._e5be2b { display: inline-block; margin: 0 8px 8px 0; padding: 11px 22px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; }
._e5be2b:hover { background: var(--carmine); }
._53f25c { background: transparent; color: var(--accent); border: 2px solid var(--accent); padding: 9px 20px; }
._53f25c:hover { background: var(--wash); }

/* foot, foot-menu, foot-link, fineprint */
._8538d1 { background: var(--plum); color: var(--plum-ink); padding: 26px 0; margin-top: 40px; }
._63dbb5 { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }
._029aac { color: var(--plum-ink); text-decoration: none; font-size: 15px; }
._029aac:hover { color: var(--coral); }
._c94b42 { font-size: 13px; color: var(--dim); }
._8538d1 ._c94b42 { color: #d9b8cc; }

/* thumbs, thumb, thumb-photo — the strip on a card */
._822f71 { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-bottom: 8px; }
._9ba3c9 { flex: none; scroll-snap-align: start; }
._71d102 { width: 120px; height: 160px; object-fit: cover; background: var(--wash); }

/* film-mark */
/* Plakietka w wierszu ogłoszenia: słowo, a przed nim trójkąt z ramek (nie z czcionki —
   znak z czcionki wygląda inaczej w każdym systemie, a w jednym jest pustym kwadratem).

   ⚠️ Wcześniej stał tu sam trójkąt 7×8 px w kolorze --dim i czytało się go jako strzałkę:
   w tym samym wierszu kończy się „Otwórz ›”, więc szary znaczek obok ceny wyglądał na
   typografię. Plakietka ma tło i litery, bo ma powiedzieć, co jest w ogłoszeniu, a nie
   ozdobić wiersz. */
/* Wiersz jest flexem z align-items: baseline, więc plakietka jest jego elementem, a nie
   pudełkiem w tekście: vertical-align nic by tu nie zrobił. Własna linia bazowa ustawia
   litery równo z ceną obok. */
._170d4c { display: inline-flex; align-items: center; gap: 4px;
    align-self: baseline;
    padding: 1px 6px; border-radius: 2px;
    background: var(--plum); color: var(--plum-ink);
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
._170d4c::before { content: ""; width: 0; height: 0;
    border-style: solid; border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent currentColor; }

/* film-pick, film-frame */
/* Miniatura nagrania: ten sam kafelek co przy zdjęciu, ze znakiem na wierzchu. Wymiary
   stoją na LINKU, bo film bez plakatu nie ma obrazka i kafelek zwinąłby się do zera —
   czyli akurat tam, gdzie znak jest najbardziej potrzebny, nie byłoby w co kliknąć. */
._162eb4 { position: relative; width: 120px; height: 160px; background: var(--wash); }
/* Trójkąt z ramek, nie znak z czcionki: ten wygląda inaczej w każdym systemie, a w
   jednym z nich jest pustym kwadratem. */
._162eb4::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    transform: translate(-42%, -50%);
    border-style: solid; border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,.8));
    pointer-events: none;
}
/* Film w przeglądarce zachowuje ramkę zdjęcia; czarne tło, żeby pasy po bokach nie
   świeciły kolorem tła strony. */
._8df0d7 { background: #000; }

/* viewer, frame, frame-photo, frame-count, arrow, arrow-back, arrow-on, shut */
._7ac531 { display: none; }
._7ac531:has(:target) { display: flex; position: fixed; inset: 0; z-index: 10; background: rgba(43, 8, 36, .96); overflow-x: auto; scroll-snap-type: x mandatory; }
._560979 { flex: none; width: 100vw; height: 100vh; margin: 0; display: grid; place-items: center; position: relative; scroll-snap-align: start; }
._217f24 { max-width: 100vw; max-height: 100vh; width: auto; height: auto; object-fit: contain; }
._192181 { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--plum-ink); font-size: 14px; }
._05f7b2 { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; display: grid; place-items: center; color: #fff; font-size: 44px; text-decoration: none; background: rgba(0,0,0,.35); }
._9aa2bb { left: 6px; }
._a0485a { right: 6px; }
._89ad8e { position: absolute; top: 10px; right: 12px; color: #fff; font-size: 34px; text-decoration: none; line-height: 1; }

/* pairs, pair, pair-key, pair-value */
._acb9ea { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 6px 24px; }
._33f513 { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--line); padding: 5px 0; }
._08bb5b { color: var(--dim); }
._c601b6 { margin: 0; font-weight: 700; text-align: right; }

/* tags, tag */
._da87e8 { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
._df41bc { background: var(--wash); color: var(--plum); padding: 4px 10px; font-size: 15px; }

/* notes, note */
._ec3ece { list-style: none; margin: 0; padding: 0; }
._7a039c { background: var(--card); border-left: 3px solid var(--accent); padding: 10px 14px; margin-bottom: 10px; }

/* shot, shot-photo — the portrait on the step page */
._07e115 { margin-bottom: 14px; }
._f52be5 { width: 150px; height: 200px; object-fit: cover; }

@media (max-width: 640px) {
    ._1ef257 ._5f997d { min-height: 64px; }
    ._d7ef46 { gap: 14px; }
    ._c1fb00 { font-size: 14px; }
    ._343bba { font-size: 27px; }
    ._737a43 { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; }
    ._665670, ._61d369 { width: 60px; height: 72px; }
    ._e40b3f { max-width: 100%; flex: 1 1 100%; }
    ._893970 { padding: 8px 12px 8px 0; }
    ._e40b3f { font-size: 18px; }
}

/* Miejsce: zarys granic i pogoda nad nim. */
/* The shape and the reading side by side, the credit on its own line beneath both.
   Wrapping matters here: at 390px the page has 350px to give, the outline takes 72 and
   the gap 16, so a third item on the same row would leave the weather about 250px and
   push the credit into a column of single words. */
._c4a1f8 { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 18px 0; }
._2f7b19 { flex: 0 0 auto; width: 72px; height: 72px; fill: rgba(75, 16, 64, .10); stroke: var(--plum); stroke-width: 2; }
._9d3e07 { margin: 0; min-width: 0; flex: 1 1 180px; color: var(--plum); }
/* Sized down and off its own row, because a full-width line directly under the heading
   read as a second sentence of the page — the weight of the text a visitor came for,
   spent on a credit.

   Quieter by SIZE only. `opacity` was tried here and taken straight back out: .75 over
   this paper composites #7a5f70 down to #9b8492, which is 3.15:1 against 4.5 required at
   this size — and an attribution nobody can read is not an attribution, whatever the
   markup says. ODbL asks that the notice be reasonably visible; the colour is what makes
   it so, and it is the one line on the page with a legal reason to stay legible. Wanted
   fainter still: pick a lighter colour and MEASURE it against --paper. */
._b71c05 { flex: 0 1 auto; margin: 0; font-size: .68rem; line-height: 1.2; color: var(--dim); }
