/* Directory of venues (/lokalet), mobile first: the kinds under the header, then rows that slide
   sideways (offers today, nearest, favourites, one per kind), and a Search pill at the bottom.
   Motion is kept to what makes it feel smooth: photos fade in, cards give under the finger. */
:root { --ivory: #fff; --gold: #E9B44C; --gold-ink: #3B2A00; --open: #12794A; --soft: #E7ECF6; --shade: rgba(11,31,79,.10); --ease: cubic-bezier(.2,.8,.2,1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dir { padding-block: 6px 16px; }
/* The room the Search pill needs goes under the footer links, not between the page and the footer. */
.footer .wrap { padding-block: 24px calc(104px + env(safe-area-inset-bottom, 0px)); }
/* The kinds, the filters and the rows line up with the header and the Lokale | Evente switch (same .wrap width). */

/* Kinds: pills under the header, a navy highlight that moves to the chosen one. */
.nav { border-bottom: 0; box-shadow: none !important; }
/* Logo on the left, the moon, the language and "Krijo menunë" on the right edge (site.css pulls them
   left on a computer for the landing page's links, which this page doesn't have). */
.nav .nav-right { margin-left: auto; gap: 12px; }
@media (min-width: 1080px) {
  .nav .wrap { height: 80px; }
  .nav .nav-right { gap: 14px; }
  .pm-switch-wrap { padding-top: 12px; padding-bottom: 8px; }
  .chips { padding-block: 14px 14px; }
  .dir { padding-top: 10px; }
}
.dir-bar { position: sticky; top: var(--nav-h, 72px); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow .25s var(--ease); }
.dir-bar.lifted { box-shadow: 0 8px 24px var(--shade); }
.chips { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 10px 12px; }
.chips::-webkit-scrollbar { display: none; }
/* The kinds row has its height before the script fills it: the rows under it do not move. */
#dir-types { min-height: 56px; }
@media (min-width: 1080px) { #dir-types { min-height: 62px; } }
.chips.dim { opacity: .45; }
.chip { position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 7px; padding: 8px 14px 8px 10px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font: inherit; font-weight: 800; font-size: 14px; color: var(--ink); cursor: pointer; transition: color .25s, border-color .25s, background-color .25s, transform .12s var(--ease); }
.chip:disabled { cursor: default; }
.chip:not(:disabled):active { transform: scale(.96); }
.chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip[aria-pressed="true"] { color: #fff; border-color: transparent; background: transparent; }
.chip-glide { position: absolute; top: 10px; left: 0; width: 0; height: 0; border-radius: var(--r-pill); background: var(--accent); transition: left .3s var(--ease), width .3s var(--ease); }

/* Sections */
.sec { margin-top: 24px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-h h2 { font-size: 21px; }
.sec-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 5px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.sec-sub svg { width: 14px; height: 14px; fill: none; stroke: var(--open); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sec-sub .where { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 700; }
.link { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.all { flex: none; padding: 7px 13px; border-radius: var(--r-pill); background: var(--soft); color: var(--accent); font: inherit; font-weight: 800; font-size: 13px; border: 0; cursor: pointer; transition: background-color .2s; }
.all:hover { background: #D8E0F0; }
.track { display: grid; grid-auto-flow: column; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad) 12px; scroll-padding-inline: var(--pad); }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.t-hero { grid-auto-columns: 88%; }
.t-big { grid-auto-columns: 78%; }
.t-mid { grid-auto-columns: 62%; }
.t-sq { grid-auto-columns: 31%; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) {
  .track { margin-inline: 0; padding-inline: 2px; scroll-padding-inline: 2px; }
  .t-hero { grid-auto-columns: 500px; } .t-hero.one { grid-auto-columns: min(100%, 720px); } .t-big { grid-auto-columns: 340px; } .t-mid { grid-auto-columns: 280px; } .t-sq { grid-auto-columns: 150px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Computer: whole cards only, so no row ends on a card cut in half: 3 offers / events, 4 venues a row.
   The rest is reached with the ‹ › arrows or by dragging (rails.js). */
@media (min-width: 1080px) {
  .track { gap: 16px; }
  .t-hero { grid-auto-columns: calc((100% - 32px) / 3); }
  .t-hero.one { grid-auto-columns: min(100%, 720px); }
  .t-big, .t-mid { grid-auto-columns: calc((100% - 48px) / 4); }
}
@media (min-width: 760px) and (max-width: 1079.98px) {
  .t-hero { grid-auto-columns: calc((100% - 12px) / 2); }
  .t-big, .t-mid { grid-auto-columns: calc((100% - 24px) / 3); }
}

/* ‹ › on the rows (computer only, added by rails.js): round buttons on the row's edges. */
.rail { position: relative; }
.rail-btn { position: absolute; top: calc(50% - 26px); z-index: 5; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); box-shadow: 0 6px 18px var(--shade); cursor: pointer; opacity: 0; visibility: hidden; transform: scale(.9); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s, background-color .2s; }
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:hover { background: var(--soft); }
.rail-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rail-prev { left: -22px; }
.rail-next { right: -22px; }
.rail.can-prev .rail-prev, .rail.can-next .rail-next { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rail .track, .rail .evp-track { cursor: grab; }
.rail .dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail .dragging * { pointer-events: none; }
@media (max-width: 1180px) { .rail-prev { left: -8px; } .rail-next { right: -8px; } }

/* Something you can press: lifts a little under the mouse, gives under the finger. */
.press { position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
@media (hover: hover) { .press:hover { transform: translateY(-2px); box-shadow: 0 12px 26px var(--shade); } }
.press:active { transform: scale(.98); transition-duration: .1s; }

/* A photo: a light shimmer until it has loaded, then a short fade; a small zoom under the mouse. */
/* The shimmer is a light band that slides across (transform only, so the phone's GPU moves it). */
.ph { display: block; position: relative; overflow: hidden; background: #E6EBF3; }
.ph::before, .sk::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.55) 50%, transparent 75%); transform: translateX(-100%); animation: shimmer 1.3s linear infinite; }
.ph.ready { background: var(--soft); }
.ph.ready::before, .vc .no-photo::before { content: none; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease, transform .5s var(--ease); }
.ph.ready img { opacity: 1; }
@media (hover: hover) { .press:hover .ph.ready img { transform: scale(1.04); } }
@keyframes shimmer { to { transform: translateX(100%); } }

/* Offers today */
.hcard { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 196px; padding: 16px; border-radius: var(--r-lg); color: #fff; background: var(--accent); text-decoration: none; }
.hcard:hover { color: #fff; }
.hcard .ph { position: absolute; inset: 0; z-index: -2; }
.hcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,18,48,.05), rgba(6,18,48,.86)); }
.big-b { align-self: flex-start; margin-bottom: auto; padding: 2px 12px; border-radius: var(--r-sm); background: var(--gold); color: var(--gold-ink); font: 800 26px var(--head); }
.hcard h3 { margin-top: 36px; font-size: 22px; color: #fff; overflow-wrap: anywhere; }
.hcard p { margin: 4px 0 0; font-size: 13.5px; color: #E6EBF5; }
.hcard .when { color: #8FE0B0; font-weight: 800; }
.hcard .when.later { color: #E6EBF5; font-weight: 700; }

/* A venue */
.vc { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--r-md); color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(11,31,79,.06); }
.vc:hover { color: var(--ink); }
.vc-top { position: relative; display: block; }
.vc .ph { aspect-ratio: 16 / 10; }
.t-mid .vc .ph, .grid .vc .ph { aspect-ratio: 4 / 3; }
.vc .no-photo { display: grid; place-items: center; animation: none; }
.vc .no-photo .venue-logo { width: 64px; height: 64px; border-radius: var(--r-md); font-size: 28px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.fav { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.fav svg { width: 17px; height: 17px; fill: transparent; stroke: var(--accent); stroke-width: 2.2; transition: fill .2s, stroke .2s; }
.fav[aria-pressed="true"] svg { fill: #E2445C; stroke: #E2445C; }
.fav.pop svg { animation: pop .3s var(--ease); }
@keyframes pop { 50% { transform: scale(1.2); } }
.vc-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 12px 13px; }
.vc-name { font-weight: 800; font-size: 16px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.vc-meta .on { color: var(--open); font-weight: 800; }
.vc-meta i { font-style: normal; opacity: .5; }
.vc-sv { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.vc-sv span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: var(--r-pill); background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 800; white-space: nowrap; }
.vc-sv svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vc-sv .free { background: #E3F5EA; color: var(--open); }
.vc-offer { align-self: flex-start; max-width: 100%; margin-top: 6px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid .vc-name { font-size: 15px; }
.grid .vc-sv span:nth-child(n + 2), .t-mid .vc-sv span:nth-child(n + 3) { display: none; }

/* Favourites: the owner's logo, whole and centred in the square. */
.vt { display: block; text-align: center; color: var(--ink); text-decoration: none; border-radius: var(--r-md); }
.vt:hover { color: var(--ink); }
.vt-box { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); box-shadow: 0 6px 18px var(--shade); font-family: var(--head); font-weight: 700; font-size: 40px; }
.vt-box img { width: 100%; height: 100%; object-fit: contain; }
.vt-disc { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font: 800 12px var(--text); display: grid; place-items: center; transform: rotate(-8deg); }
.vt b { display: block; margin-top: 8px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Venue logos without a photo, in the colours of their kind. */
.venue-logo { overflow: hidden; display: grid; place-items: center; font-family: var(--head); font-weight: 700; }
.venue-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* A logo that is not square: a soft, blurred copy of it fills the frame around it, so there are no empty bars. */
.venue-logo.has-img { position: relative; isolation: isolate; }
.venue-logo.has-img img { position: absolute; inset: 0; }
/* A logo inside a photo frame (a card without a photo) is not a photo that fades in: always visible. */
.ph .venue-logo img { opacity: 1; transform: none; }
.venue-logo.has-img::before { content: ""; position: absolute; inset: -16px; z-index: -1; background: var(--lg) center / cover no-repeat; filter: blur(14px) saturate(1.1); }
.t-bar { background: #0B0B0B; color: #E9B44C; }
.t-lounge { background: #100e08; color: #D4AF37; }
.t-restaurant { background: #F6EFE6; color: #C0502D; }
.t-beach { background: #E9F6F4; color: #0E8FA3; }
.t-agro { background: #F1F5E4; color: #5E7F3A; }
.t-kafe { background: #F3ECE2; color: #7A4B2A; }
.t-restorant { background: #F6EFE6; color: #C0502D; }
.t-piceri { background: #1a1a1a; color: #E2553D; }
.t-fastfood { background: #FFF1D6; color: #B4540A; }
.t-plazh { background: #E9F6F4; color: #0E8FA3; }
.t-pasticeri { background: #FBEAF0; color: #A3345F; }
.t-hotel { background: #E8ECF6; color: #0B1F4F; }

.dir-empty { margin: 24px 0; color: var(--muted); }
/* When the list does not load: what the server wrote into the page stays, and a button tries again. */
.dir-error { margin: 20px 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dir-error p { flex: 1 1 220px; margin: 0; color: var(--ink); font-weight: 700; }
.dir-retry { min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent, #fff); font: inherit; font-weight: 800; cursor: pointer; }
.dir-retry:disabled { opacity: .6; cursor: default; }
.dir-more { margin-top: 16px; }
.dir-more .btn { width: 100%; max-width: 560px; justify-content: center; }

/* Asking where the visitor is. */
.dir-ask { margin-top: 8px; max-width: 560px; display: grid; gap: 10px; }
.ask-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 18px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.ask-card b { font-family: var(--head); font-size: 19px; }
.ask-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; max-width: 40ch; }
.ask-card .ask-fine { font-size: 12.5px; }
.ask-pin { width: 60px; height: 60px; border-radius: 50%; background: #E4E9F5; display: grid; place-items: center; }
.ask-pin svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ask-btn { width: 100%; max-width: 360px; justify-content: center; gap: 8px; }
.ask-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ask-ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.ask-ghost:hover { background: var(--accent); color: #fff; }
.dir-ask .link, .dir-near .link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: 14px; color: var(--accent); text-decoration: underline; cursor: pointer; }
.ask-warn { background: #FFF6E3; border: 1px solid #F1D79A; color: #6B4E0E; border-radius: var(--r-sm); padding: 14px 16px; font-size: 14.5px; line-height: 1.5; }
.ask-warn b { display: block; color: #4A3505; margin-bottom: 2px; }


.dir-ask { margin-top: 18px; margin-inline: auto; }

/* For owners: a navy block near the end, white words and a gold button (dark ink on the gold). */
.dir-cta { margin-top: 40px; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: #0B1F4F; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden; isolation: isolate; }
.dir-cta::before { content: ""; position: absolute; z-index: -1; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: rgba(233, 180, 76, .22); }
.dir-cta-text { flex: 1 1 280px; min-width: 0; }
.dir-cta h2 { margin: 0; font-size: clamp(21px, 3.2vw, 30px); color: #fff; }
.dir-cta p { margin: 8px 0 0; max-width: 46ch; font-size: 15px; line-height: 1.5; color: #DCE4F5; }
.dir-cta-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 15px; white-space: nowrap; text-decoration: none; transition: filter .2s, transform .12s var(--ease); }
.dir-cta-btn:hover { color: var(--gold-ink); filter: brightness(1.06); }
.dir-cta-btn:active { transform: scale(.97); }
@media (max-width: 520px) { .dir-cta-btn { width: 100%; } }

/* Filters for tourists: small outlined pills, filled when on. */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 4px; }
.filters::-webkit-scrollbar { display: none; }
/* Kept open by the server while the filters are on their way, so the rows under them do not move. */
.filters.hold { min-height: 40px; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.fchip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg, #fff); }

/* Price level and the quiet line of languages and amenities on a card. */
.vc-meta .dist { font-weight: 650; color: var(--ink); }
.lvl { font-weight: 800; color: var(--ink); letter-spacing: .5px; }
.lvl s { text-decoration: none; opacity: .3; }
.vc-tags { display: flex; align-items: center; gap: 7px; margin-top: 4px; color: var(--muted); min-height: 16px; }
.vc-tags .tg-lang { font-size: 11.5px; font-weight: 800; letter-spacing: .3px; }
.vc-tags .tg { display: inline-flex; }
.vc-tags svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ev-b { font-size: 20px; }
.ecard .ev-info { display: flex; flex-direction: column; min-width: 0; }
/* With a poster: the poster whole across the top (16:10, as uploaded), the event's words below it,
   so nothing is written over the poster. */
.ecard.has-poster { padding: 0; justify-content: flex-start; }
.ecard.has-poster::after { display: none; }
.ecard.has-poster .ph { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; width: 100%; }
.ecard.has-poster .ev-b { position: absolute; top: 12px; left: 12px; z-index: 1; margin: 0; }
.ecard.has-poster .ev-info { padding: 14px 16px 16px; }
.ecard.has-poster h3 { margin-top: 0; }
.t-hero.one { grid-auto-columns: 100%; }
.ev-tk { align-self: flex-start; margin-top: 10px; padding: 6px 14px; border-radius: var(--r-pill); background: #fff; color: var(--accent); font-weight: 800; font-size: 13.5px; }
html[data-theme="dark"] .ev-tk { color: #0B1F4F; }
/* The event's price beside its pill ("Bileta", "Rezervo"), or alone where the pill would be. */
.ev-foot { display: flex; align-items: center; gap: 10px; min-height: 31px; margin-top: 10px; }
.ev-foot .ev-tk { align-self: auto; margin-top: 0; }
.ev-pr { font-weight: 800; font-size: 14px; white-space: nowrap; }

/* Dish results in the search: the price at the end of the row. */
.sg-price { flex: none; font-weight: 800; font-size: 14px; color: var(--ink); }

/* Links to every city (and a city's venues), for search engines and for people. */
.seo-links { margin-top: 32px; }
.seo-links h2 { font-size: 17px; margin: 18px 0 8px; }
.seo-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.seo-links a { display: inline-flex; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--soft); color: var(--ink); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.seo-links a span { color: var(--muted); font-weight: 600; }
.seo-links a[aria-current] { background: var(--ink); color: var(--bg, #fff); }
.seo-links a[aria-current] span { color: inherit; opacity: .7; }

/* Map */
.fab-map { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 12px 30px rgba(6,18,48,.28); }
.map-view { position: fixed; inset: 0; z-index: 60; background: var(--bg, #fff); opacity: 0; transform: translateY(16px); transition: opacity .25s, transform .3s var(--ease); }
.map-view.open { opacity: 1; transform: none; }
.map-box { position: absolute; inset: 0; }
.map-open body { overflow: hidden; }
.map-error { padding: 16px; }
/* Search, kinds and count float over the map. */
.map-top { position: absolute; left: 0; right: 0; top: 0; z-index: 500; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 0; pointer-events: none; }
.map-top > * { pointer-events: auto; }
.map-bar { display: flex; gap: 10px; }
.map-search { flex: 1; min-width: 0; background: var(--ivory); border-color: transparent; box-shadow: 0 6px 20px rgba(6,18,48,.18); }
.map-close { flex: none; width: 50px; height: 50px; position: static; border-radius: 50%; background: var(--ivory); box-shadow: 0 6px 20px rgba(6,18,48,.18); }
.map-kinds { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px -12px 0; padding: 2px 12px 6px; }
.map-kinds::-webkit-scrollbar { display: none; }
.map-kinds .chip { flex: none; box-shadow: 0 3px 10px rgba(6,18,48,.14); }
.map-count { display: inline-block; margin-top: 2px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--ivory); color: var(--muted); font-size: 12.5px; font-weight: 700; box-shadow: 0 3px 10px rgba(6,18,48,.12); }
.map-count:empty { display: none; }
.map-me { position: absolute; right: 12px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 500; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(6,18,48,.2); }
.map-me svg { width: 24px; height: 24px; fill: none; stroke: #2563EB; stroke-width: 2.2; stroke-linecap: round; }
.map-card:not([hidden]) ~ .map-me, .map-view:has(.map-card:not([hidden])) .map-me { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
/* The pin: the logo in a round drop with a point at the bottom. */
.pin { background: none; border: 0; }
.pin-drop { position: relative; display: block; width: 48px; height: 48px; padding: 3px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); transition: transform .15s var(--ease); transform-origin: 50% 116%; }
.pin-drop::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 3px 0; z-index: -1; box-shadow: 3px 3px 6px rgba(0,0,0,.15); }
.pin-logo { width: 42px; height: 42px; border-radius: 50%; font-size: 18px; }
.pin.on .pin-drop { background: var(--accent); transform: scale(1.22); }
.pin.on .pin-drop::after { background: var(--accent); }
/* The venue picked, at the bottom. */
.map-card { position: absolute; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 500; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: var(--ivory); box-shadow: 0 12px 34px rgba(6,18,48,.28); animation: mc-in .25s var(--ease); }
@keyframes mc-in { from { transform: translateY(20px); opacity: 0; } }
.mc-link { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.mc-logo { flex: none; width: 56px; height: 56px; border-radius: var(--r-sm); font-size: 24px; }
.mc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mc-text b { font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-text small { font-size: 13.5px; color: var(--muted); }
.mc-text .dist { font-weight: 650; color: var(--ink); }
.mc-text .on { color: var(--open); font-weight: 700; }
.mc-text .vc-sv { margin-top: 4px; }
.mc-go { display: block; text-align: center; padding: 13px; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-weight: 800; text-decoration: none; }
.mc-go:hover { color: #fff; }
.leaflet-control-attribution { font-size: 10px; }
.leaflet-popup-content { margin: 12px 14px; }

/* Search pill at the bottom of the screen */
.fab { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 35; display: flex; gap: 10px; transform: translateX(-50%); transition: transform .3s var(--ease), opacity .3s; }
.fab.away { transform: translate(-50%, 140%); opacity: 0; }
.fab button { border: 0; cursor: pointer; font: inherit; transition: transform .1s var(--ease); }
.fab button:active { transform: scale(.96); }
.fab-search { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: min(300px, calc(100vw - 114px)); padding: 16px 22px; white-space: nowrap; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 12px 30px rgba(6,18,48,.35); }
.fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Search sheet */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(6,18,48,.45); opacity: 0; transition: opacity .25s; }
.scrim.open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; margin: 0 auto; height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: var(--bg); padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); transform: translateY(105%); transition: transform .3s var(--ease); }
.sheet.open { transform: none; }
.sheet-top { display: flex; align-items: center; gap: 10px; touch-action: none; }
.sheet-top .sheet-box { flex: 1; min-width: 0; }
.sheet-close { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; cursor: pointer; }
.sheet-close svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.sg-near { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.sec-warn { flex-basis: 100%; color: #8A5A00; font-weight: 700; }
.sheet-box { display: flex; align-items: center; gap: 10px; height: 50px; background: var(--ivory); padding: 0 14px; border: 1.5px solid var(--accent); border-radius: var(--r-sm); }
.sheet-box svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.sheet-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); }
.sheet-res { flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; margin: 8px -16px 0; padding: 0 16px; }
.sg-row { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; }
.sg-row:hover, .sg-row:focus-visible { background: #F2EEE4; color: var(--ink); }
.sg-pic { flex: none; width: 46px; height: 46px; border-radius: var(--r-sm); overflow: hidden; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 20px; }
.sg-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-pic.sg-city { border-radius: 50%; background: var(--soft); }
.sg-pic.sg-city svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sg-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sg-text b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-text small { font-size: 13px; color: var(--muted); }
.sg-text mark { background: #FDEFC8; color: inherit; border-radius: 3px; }
.sg-open { flex: none; font-size: 12.5px; font-weight: 700; color: var(--open); }
.sg-hint { padding: 10px 4px 4px; font-size: 13px; font-weight: 700; color: var(--muted); }

/* The sign-up button in the header: a small pill; on a phone just "+ Krijo". */
.nav-cta { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 11px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; text-decoration: none; }
.nav-cta:hover { color: #fff; filter: brightness(1.12); }
.nav-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.nav-cta .cta-short { display: none; }
@media (max-width: 560px) {
  .nav-cta .cta-long { display: none; }
  .nav-cta .cta-short { display: inline; }
}


@media (prefers-reduced-motion: reduce) {
  .press, .ph img, .chip, .chip-glide, .fab, .sheet, .scrim, .vt-box img { transition: none; }
  .ph::before { animation: none; }
}

/* Skeleton: the shape of the page while the venues load. */
.sk { position: relative; overflow: hidden; border-radius: var(--r-sm); background: #E6EBF3; }
.sk-title { width: 46%; height: 22px; margin-bottom: 10px; }
.sk-line { width: 62%; height: 14px; margin: -2px 0 12px; }
.sk-hero { height: 196px; border-radius: var(--r-lg); }
.sk-card { display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; border-radius: var(--r-md); background: #fff; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.sk-photo { aspect-ratio: 16 / 10; border-radius: 0; }
.t-mid .sk-photo { aspect-ratio: 4 / 3; }
.sk-name { width: 70%; height: 16px; margin-inline: 12px; }
.sk-meta { width: 50%; height: 12px; margin-inline: 12px; }
.sk-pill { width: 40%; height: 22px; margin-inline: 12px; border-radius: var(--r-pill); }
.sk-sec .track { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sk::before { animation: none; } }
.sk-chip { width: 92px; height: 38px; border: 0; }
.chips.dim { opacity: 1; }


/* Light / dark switch in the header: a moon in the light version, a sun in the dark one. */
.theme-btn { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun, html[data-theme="dark"] .theme-btn .i-moon { display: none; }
html[data-theme="dark"] .theme-btn .i-sun { display: block; }

/* Dark version: chosen with the moon button in the header (light is the default), remembered on the phone.
   Graphite surfaces, mustard for buttons and links. */
html[data-theme="dark"] { --bg: #0E1116; --sand: #171B22; --ink: #F2F4F7; --muted: #A7B0C0; --line: #262C36; --soft: #1E2532; --ivory: #171B22; --open: #3DBE7A; --accent: #E9B44C; --on-accent: #2A1E00; --milk: #E8E3D8; --shade: rgba(0,0,0,.45); color-scheme: dark; }
html[data-theme="dark"] .nav { background: rgba(14,17,22,.92); }
html[data-theme="dark"] .brand-pick g { stroke: #F2F4F7; }
html[data-theme="dark"] .logo-tag { color: var(--muted); }
html[data-theme="dark"] .lang-select { background: #171B22; border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .lang-select select { color: var(--ink); background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F2F4F7' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
html[data-theme="dark"] .lang-select select option { background: #171B22; color: var(--ink); }
html[data-theme="dark"] .chip, html[data-theme="dark"] .vc, html[data-theme="dark"] .sk-card, html[data-theme="dark"] .ask-card { background: #171B22; }
html[data-theme="dark"] .chip[aria-pressed="true"], html[data-theme="dark"] .nav-cta, html[data-theme="dark"] .nav-cta:hover, html[data-theme="dark"] .vt-disc { color: var(--on-accent); }
html[data-theme="dark"] .nav-cta svg { stroke: var(--on-accent); }
/* Mustard kept for the main actions only; everything else in a milky grey. */
html[data-theme="dark"] .link, html[data-theme="dark"] .all, html[data-theme="dark"] .dir-ask .link, html[data-theme="dark"] .dir-near .link, html[data-theme="dark"] .vc-sv span { color: var(--milk); }
html[data-theme="dark"] .fav svg, html[data-theme="dark"] .sheet-close svg, html[data-theme="dark"] .sg-pic.sg-city svg, html[data-theme="dark"] .ask-pin svg { stroke: var(--milk); }
html[data-theme="dark"] .fab .fab-search { background: #0B0B0B; color: var(--milk); border: 2px solid var(--accent); box-shadow: 0 12px 30px rgba(0,0,0,.55); }
html[data-theme="dark"] .fab-search svg { stroke: var(--milk); }
html[data-theme="dark"] .hcard, html[data-theme="dark"] .hcard:hover, html[data-theme="dark"] .dir-cta { background: #1E2532; }
html[data-theme="dark"] .all:hover { background: #26304A; }
html[data-theme="dark"] .vc { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(0,0,0,.35); }
html[data-theme="dark"] .fav { background: rgba(14,17,22,.82); }
html[data-theme="dark"] .vc-sv .free { background: #12301F; color: #6FD39B; }
html[data-theme="dark"] .ph, html[data-theme="dark"] .sk { background-color: #1A1F28; }
html[data-theme="dark"] .ph::before, html[data-theme="dark"] .sk::before { background-image: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.07) 50%, transparent 75%); }
html[data-theme="dark"] .ph.ready { background: var(--soft); }
html[data-theme="dark"] .dir-cta-btn, html[data-theme="dark"] .dir-cta-btn:hover { background: var(--accent); color: var(--on-accent); }
html[data-theme="dark"] .sheet-box input { color: var(--ink); background: transparent; }
html[data-theme="dark"] .sg-row:hover, html[data-theme="dark"] .sg-row:focus-visible { background: #24211A; }
html[data-theme="dark"] .sg-text mark { background: #4A3C14; }
html[data-theme="dark"] .scrim { background: rgba(0,0,0,.6); }
html[data-theme="dark"] .t-hotel { background: #1E2532; color: var(--accent); }
html[data-theme="dark"] .dir-cta { background: #171B22; }
html[data-theme="dark"] .fab .fab-map { background: #0B0B0B; color: var(--milk); border: 2px solid var(--accent); }
html[data-theme="dark"] .fchip[aria-pressed="true"], html[data-theme="dark"] .seo-links a[aria-current] { background: var(--milk); border-color: var(--milk); color: #0E1116; }
html[data-theme="dark"] .seo-links a { background: #171B22; }

.nav-right { gap: 10px; }
html[data-theme="dark"] .chip[aria-pressed="true"] { background: transparent; border-color: transparent; }
html[data-theme="dark"] .fav[aria-pressed="true"] svg { stroke: #E2445C; }

/* Search results after Enter: a venue, then its dishes in a row that slides sideways. */
.sheet-clear { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--muted); display: grid; place-items: center; cursor: pointer; padding: 0; }
.sheet-clear[hidden] { display: none; }
.sheet-clear svg { width: 16px; height: 16px; fill: none; stroke: var(--ivory); stroke-width: 2.6; stroke-linecap: round; }
.sheet-box input::-webkit-search-cancel-button { display: none; }
.rs { padding: 14px 0 6px; }
.rs + .rs { border-top: 1px solid var(--line); }
.rs-venue { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.rs-venue:hover { color: var(--ink); }
.rs-venue > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rs-logo { flex: none; width: 56px; height: 56px; border-radius: var(--r-sm); font-size: 24px; }
.rs-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rs-text b { font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-text small { font-size: 13.5px; color: var(--muted); }
.rs-text .dist { font-weight: 650; color: var(--ink); }
.rs-text .on { color: var(--open); font-weight: 700; }
.rs-dishes { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin: 12px -16px 4px; padding: 0 16px; scroll-padding-inline: 16px; }
.rs-dishes::-webkit-scrollbar { display: none; }
.rs-dish { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); background: var(--soft); scroll-snap-align: start; text-decoration: none; }
.rs-dish img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-noimg { position: absolute; inset: 0; display: grid; place-items: center; background: var(--soft); }
.rs-noimg-logo { width: 64px; height: 64px; border-radius: var(--r-md); font-size: 28px; opacity: .85; }
.rs-tag { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 5px 12px; border-radius: var(--r-pill); background: rgba(16,24,40,.72); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (min-width: 641px) { .rs-dishes { grid-auto-columns: 300px; } }
a.all { text-decoration: none; display: inline-flex; align-items: center; }
html[data-theme="dark"] .map-search, html[data-theme="dark"] .map-close, html[data-theme="dark"] .map-me, html[data-theme="dark"] .map-card, html[data-theme="dark"] .map-count { background: #141414; }
html[data-theme="dark"] .mc-go { color: #0B0B0B; }
/* In the round pin the logo sits inside the circle (a square fits at ~70%), on white, so its corners are not cut. */
.pin-logo.has-img { background: #fff; }
.pin-logo.has-img::before { display: none; }
.pin-logo img { position: static !important; box-sizing: border-box; width: 42px !important; height: 42px !important; padding: 6px !important; object-fit: contain; border-radius: 0; }
.map-kinds .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.mc-text .dist, .rs-text .dist { font-size: inherit; }
html[data-theme="dark"] .map-kinds .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0B0B0B; }
.map-kinds .chip { padding: 8px 15px; }
@media (max-width: 374px) { .fab-search { font-size: 15px; padding-inline: 18px; } }

/* Lokale | Evente: the other page fades in, the header and the switch stay put. */
@view-transition { navigation: auto; }
.nav { view-transition-name: pm-nav; }

@media (max-width: 767px) {
  .chip, button.chip { min-height: 44px; }
  .pm-switch a, #pm-switch-lo, #pm-switch-ev { min-height: 44px; }
}

/* ---- Redesign: hero, card facts, foot ---- */
.dir-hero { position: relative; isolation: isolate; text-align: center; padding-block: clamp(22px, 5vw, 44px) 12px; }
.dir-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 360px; background: radial-gradient(60% 100% at 50% 0, var(--soft), transparent 72%); pointer-events: none; }
.dir-hero h1 { max-width: 17ch; margin: 0 auto 10px; font-size: clamp(30px, 6.4vw, 52px); font-weight: 700; line-height: 1.12; text-wrap: balance; }
.dir-hero-sub { max-width: 52ch; margin: 0 auto 22px; color: var(--muted); font-size: clamp(15px, 2.3vw, 18px); line-height: 1.5; }
.hero-search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 640px; min-height: 58px; margin: 0 auto; padding: 6px 6px 6px 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--ivory); color: var(--muted); box-shadow: 0 8px 28px var(--shade); font: inherit; text-align: left; cursor: pointer; transition: box-shadow .2s, transform .12s var(--ease); }
.hero-search:hover { box-shadow: 0 12px 34px var(--shade); }
.hero-search:active { transform: scale(.99); }
.hero-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hero-ph { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 700; }
.hero-go { flex: none; display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent, #fff); font-size: 14px; font-weight: 800; }
@media (max-width: 400px) { .hero-go { display: none; } .hero-search { padding-right: 16px; } }
.dir-where { display: flex; justify-content: center; margin-top: 14px; }
.dir-where .sec-sub { justify-content: center; margin-top: 0; font-size: 14px; }
/* Its line is kept from the first paint (it is written by the script), so nothing under it moves. */
.dir-where:empty { min-height: 22px; }
@media (min-width: 1080px) { .dir-where:empty { min-height: 24px; } }

/* A venue card: open or closed on the photo; the facts, the tags, the price level and "Shiko menunë" below. */
.vc-badge { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .95); color: var(--open); font-size: 12px; font-weight: 800; line-height: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.vc-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vc-badge.off { color: #9B2C1B; }
.vc-badge.off::before { background: none; box-shadow: inset 0 0 0 2px currentColor; }
.vc-body { flex: 1; }
.vc-tags { flex-wrap: wrap; gap: 6px; margin-top: 6px; min-height: 0; color: var(--ink); }
.vc-tags .tg { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: var(--r-pill); background: var(--soft); font-size: 12px; font-weight: 700; white-space: nowrap; }
.vc-tags .tg-lang { font-weight: 800; letter-spacing: .3px; }
.vc-tags .tg svg { width: 13px; height: 13px; }
.vc-tags .tg-more { padding-inline: 9px; }
.grid .vc-tags .tg:nth-child(n + 3), .t-mid .vc-tags .tg:nth-child(n + 3) { display: none; }
.vc-body > :nth-last-child(2) { margin-bottom: 10px; }
.vc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.vc-foot .lvl { font-size: 14px; }
.vc-see { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13.5px; font-weight: 800; }
.vc-see svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
@media (hover: hover) { .vc:hover .vc-see svg { transform: translateX(3px); } }
/* The heart keeps its small look, with a 44 px area to press. */
.fav::after { content: ""; position: absolute; inset: -5px; }

/* Fingers: 44 px to press on a touch screen. */
.footer .links a { display: inline-flex; align-items: center; min-height: 24px; }
@media (max-width: 767px), (pointer: coarse) {
  .fchip, .all, .dir-cta-btn, .nav-cta, .dir-retry { min-height: 44px; }
  .filters.hold { min-height: 50px; }
  #dir-types { min-height: 66px; }
  .theme-btn { width: 44px; height: 44px; }
  .lang-select select { min-height: 44px; }
  .sec-sub .link { padding-block: 12px; margin-block: -12px; }
  .footer .links a, .seo-links a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* The header on the smallest phones: the moon, the language and "Krijo" stay on one line, 320 px and up. */
@media (max-width: 400px) {
  .nav .wrap .nav-right { gap: 6px; }
  .nav .wrap { gap: 10px; }
  .lang-select select { padding: 0 22px 0 10px; background-position: right 7px center; }
  .nav-cta { padding-inline: 10px 12px; gap: 4px; }
}

html[data-theme="dark"] .vc-badge { background: rgba(14, 17, 22, .88); }
html[data-theme="dark"] .vc-badge.off { color: #F08A7A; }
html[data-theme="dark"] .vc-see, html[data-theme="dark"] .vc-tags { color: var(--milk); }
html[data-theme="dark"] .vc-tags .tg { background: #232B3A; color: var(--milk); }
html[data-theme="dark"] .dir-cta { background: #1E2532; color: var(--ink); }
html[data-theme="dark"] .dir-cta h2 { color: var(--ink); }
html[data-theme="dark"] .dir-cta p { color: var(--muted); }
html[data-theme="dark"] .dir-cta-btn, html[data-theme="dark"] .dir-cta-btn:hover { background: var(--accent); color: var(--on-accent); }
html[data-theme="dark"] .dir-retry { color: var(--on-accent); }
html[data-theme="dark"] .hero-search { background: #171B22; }

/* The search pill and the map button always fit the screen, down to 320 px. */
.fab { max-width: calc(100vw - 20px); }
.fab-search { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.fab-search span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 374px) { .fab-search { padding-inline: 16px; font-size: 14px; } }

/* Never under 24 px to press (WCAG 2.2 AA), also with a mouse. */
.link { display: inline-flex; align-items: center; min-height: 24px; }
.footer-logo { display: inline-flex; align-items: center; min-height: 24px; }


/* The venues the server wrote stay out of sight while the page loads (the skeleton shows instead), so nothing is swapped
   under the visitor's eyes; they appear only when the list cannot be loaded, or without a script. */
.ssr-block { display: none; }
#dir-rows.show-ssr .ssr-block { display: block; }
#dir-rows.show-ssr .sk-sec { display: none; }

/* A venue listed before its owner joined. */
.vc-badge.pending { color: #6B4E0E; background: #FFF6E3; }
.vc-badge.pending::before { background: none; box-shadow: inset 0 0 0 2px currentColor; }
html[data-theme="dark"] .vc-badge.pending { color: #E9B44C; background: rgba(14, 17, 22, .88); }
/* The search pill and the map button come only once the hero's search bar has scrolled away. */
.fab.hero-on { transform: translate(-50%, 140%); opacity: 0; visibility: hidden; pointer-events: none; }
.fab { transition: transform .3s var(--ease), opacity .3s, visibility 0s; }
.fab.hero-on { transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s; }

/* A card says the main things only: one service, the languages and one thing the venue offers. */
.vc-sv span:nth-child(n + 4) { display: none; }
.vc-sv { margin-top: 6px; }

/* Under a venue card: the price level and "Shiko menunë" always on one line, also on a narrow card
   (two cards side by side) and with the phone's text made bigger. */
.vc { container-type: inline-size; }
.vc-foot { flex-wrap: nowrap; }
.vc-foot .lvl, .vc-see { white-space: nowrap; flex: none; }
@container (max-width: 12.5em) {
  .vc-foot { gap: 6px; }
  .vc-foot .lvl { font-size: 13px; letter-spacing: 0; }
  .vc-see { gap: 3px; font-size: 12.5px; }
  .vc-see svg { width: 13px; height: 13px; }
}
@container (max-width: 10.5em) {
  .vc-foot .lvl s { display: none; }
  .vc-see svg { display: none; }
}

/* An event with a poster: the poster on top, then a white body like the venue cards (no blue). */
.ecard.has-poster, .ecard:not(:has(.ph)) { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(11,31,79,.06); }
.ecard:not(:has(.ph))::after { display: none; }
.ecard.has-poster:hover, .ecard:not(:has(.ph)):hover { color: var(--ink); }
.ecard.has-poster h3, .ecard:not(:has(.ph)) h3 { color: var(--ink); }
.ecard.has-poster p, .ecard:not(:has(.ph)) p { color: var(--muted); }
.ecard.has-poster .when, .ecard:not(:has(.ph)) .when { color: var(--open); }
.ecard.has-poster .ev-tk, .ecard:not(:has(.ph)) .ev-tk { background: var(--accent); color: var(--on-accent, #fff); }
html[data-theme="dark"] .ecard.has-poster, html[data-theme="dark"] .ecard:not(:has(.ph)) { background: #171B22; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(0,0,0,.35); }
html[data-theme="dark"] .ecard.has-poster .ev-tk, html[data-theme="dark"] .ecard:not(:has(.ph)) .ev-tk { color: var(--on-accent); }

/* Cards stand out from the light page with a soft shadow (Ermal, 2026-11-13). The dark version keeps its own. */
html:not([data-theme="dark"]) .vc, html:not([data-theme="dark"]) .ecard.has-poster, html:not([data-theme="dark"]) .ecard:not(:has(.ph)) {
  box-shadow: 0 1px 3px rgba(11, 31, 79, .08), 0 10px 28px rgba(11, 31, 79, .13);
}
/* Room in the scrolling rows for that shadow (the row clips what is outside it); the negative margin keeps every row where it was. */
.track { padding-top: 8px; padding-bottom: 32px; margin-top: -4px; margin-bottom: -20px; }

/* ---- The kinds of event: each has its colour, icon and name on a ribbon under the poster (the poster is the venue's own) ---- */
.k-none { --c: #0B1F4F; --f: #fff; }
.k-match { --c: #1D4ED8; --f: #fff; }
.k-party { --c: #9333EA; --f: #fff; }
.k-music { --c: #C2410C; --f: #fff; }
.k-show { --c: #9F1239; --f: #fff; }
.k-adventure { --c: #15803D; --f: #fff; }
.k-sport { --c: #0E7490; --f: #fff; }
.k-experience { --c: #A16207; --f: #fff; }
.k-family { --c: #DB2777; --f: #fff; }
html[data-theme="dark"] .k-none { --c: #7BA2FF; --f: #0B1230; }
html[data-theme="dark"] .k-match { --c: #60A5FA; --f: #0B1230; }
html[data-theme="dark"] .k-party { --c: #C084FC; --f: #1E0A33; }
html[data-theme="dark"] .k-music { --c: #FB923C; --f: #2A1203; }
html[data-theme="dark"] .k-show { --c: #FB7185; --f: #3B0613; }
html[data-theme="dark"] .k-adventure { --c: #4ADE80; --f: #052E16; }
html[data-theme="dark"] .k-sport { --c: #22D3EE; --f: #03222B; }
html[data-theme="dark"] .k-experience { --c: #FACC15; --f: #2A1D00; }
html[data-theme="dark"] .k-family { --c: #F472B6; --f: #3B0A21; }
.kind-rib { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 12px; background: var(--c); color: var(--f); font-size: 13.5px; font-weight: 800; line-height: 1.2; }
.kind-rib svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kind-rib b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 900; font-size: 12.5px; letter-spacing: .01em; text-transform: uppercase; }
.kind-rib .when { margin-left: auto; flex: none; padding: 0; background: none; color: inherit; font-weight: 800; white-space: nowrap; }
.kind-rib .when.today { padding: 2px 9px; border-radius: 999px; background: #E9B44C; color: #0A0A0A; }

.ecard.has-poster .ev-b { display: none; }
.ecard.has-poster:has(.kind-rib) { border: 2px solid var(--c, transparent); }
.ecard.has-poster .kind-rib { position: relative; z-index: 1; margin: 0 -2px; }

/* On the home page the day is on the ribbon: its colour is the ribbon's own, and the green line below goes */
.ecard.has-poster .kind-rib .when, .ecard.has-poster .kind-rib .when.later { color: inherit; font-weight: 800; }
.ecard.has-poster .kind-rib .when.today { color: #0A0A0A; }
.ecard.has-poster .ev-info .when { display: none; }
.ecard.has-poster .ev-tk, html[data-theme="dark"] .ecard.has-poster .ev-tk { background: var(--c, var(--accent)); color: var(--f, #fff); }
