/* Yakvia — site chrome and pages (header, strip, cards, guide, forum, account).
   Colours and fonts only through brand.css tokens. */

.page { max-width: 1200px; }
.ico { display: inline-flex; width: 22px; height: 22px; flex: none; }
.ico svg { width: 100%; height: 100%; }
.row.between { justify-content: space-between; }
.grow { flex: 1; }
.center { text-align: center; margin-top: 14px; }
.h2 { font-size: 1.3rem; margin: 30px 0 12px; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 760px; margin: 6px 0 0; }
.kicker-dark { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); font-weight: var(--w-medium); }
.page-head { margin: 8px 0 22px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.page-head h1 { margin: 2px 0 0; font-size: 2rem; letter-spacing: -.02em; }
.page-head .btn { margin-top: 12px; }
.empty { text-align: center; color: var(--ink-2); padding: 30px; }

/* ---------- header ---------- */
/* fixed + spacer (layout.js withSpacer): folding must not move the page */
.hdr-spacer { position: relative; z-index: 50; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: fixed; top: 0; left: 0; right: 0; z-index: 50; box-shadow: 0 1px 0 rgba(74, 58, 42, .04); transition: box-shadow .2s ease; }
body.scrolled .site-header { box-shadow: 0 6px 18px rgba(74, 58, 42, .10); }
.hdr-row { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 18px; transition: padding .18s ease; }
.site-header .brand { padding: 0; gap: 0; }
.site-header .brand-logo { height: 44px; min-width: 120px; transition: height .18s ease; }
.search { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.search .ico { color: var(--ink-2); }
.search-input { flex: 1; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 11px 0; outline: none; min-width: 0; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: none; max-height: 70vh; overflow: auto; }
.search-results.open { display: block; }
.sr-item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sr-item .tag { grid-row: span 2; align-self: center; min-width: 64px; text-align: center; }
.sr-item:hover, .sr-item.sel { background: var(--surface-2); }
.sr-title { font-weight: var(--w-semibold); }
.sr-sub { color: var(--ink-2); font-size: .85rem; }
.sr-empty { padding: 12px; color: var(--ink-2); }
.sr-all { display: block; padding: 10px; color: var(--accent-text); font-weight: var(--w-semibold); text-decoration: none; border-top: 1px solid var(--line); margin-top: 4px; }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.streak-chip .ico { color: var(--accent); width: 20px; height: 20px; }
.hdr-link { color: var(--ink); text-decoration: none; font-weight: var(--w-medium); padding: 8px 6px; }
.hdr-link:hover { color: var(--accent-text); }
.hdr-signup .ico { width: 20px; height: 20px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); font-weight: var(--w-medium); font-size: .88rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ico { width: 18px; height: 18px; color: var(--ink-2); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 160px; z-index: 60; }
.lang-opt { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.lang-opt:hover { background: var(--surface-2); }
.lang-opt.active { font-weight: var(--w-bold); color: var(--accent-text); }
.lang-note { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); text-align: center; padding: 6px 16px; }

/* ---------- section strip (icon cards) ---------- */
.strip { max-width: 1200px; margin: 0 auto; padding: 4px 16px 12px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transition: padding .18s ease; }
.strip::-webkit-scrollbar { display: none; }
.strip-item { flex: 1 0 118px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 9px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--ink); font-weight: var(--w-semibold); transition: border-color .12s, transform .12s, background .12s; }
.strip-item:hover { border-color: var(--accent); transform: translateY(-1px); }
.strip-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--mountain-brown); transition: width .18s ease, height .18s ease; }
.strip-ico .ico { width: 24px; height: 24px; }
.strip-item.active { background: var(--surface); border-color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.strip-item.active .strip-ico { background: var(--accent); color: var(--accent-ink); }

body.scrolled .strip { padding: 0 16px 8px; gap: 8px; }
body.scrolled .strip-item { flex-direction: row; justify-content: center; padding: 6px 10px; gap: 8px; border-radius: 12px; }
body.scrolled .strip-ico { width: 28px; height: 28px; border-radius: 8px; }
body.scrolled .strip-ico .ico { width: 18px; height: 18px; }
body.scrolled .hdr-row { padding-top: 6px; padding-bottom: 6px; }
body.scrolled .site-header .brand-logo { height: 38px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 56px; background: var(--surface); border-top: 1px solid var(--line); }
.foot-grid { max-width: 1200px; margin: 0 auto; padding: 32px 16px 18px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 24px; }
.foot-grid h4 { margin: 4px 0 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.foot-grid a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; }
.foot-grid a:hover { color: var(--accent-text); }
.foot-bottom { max-width: 1200px; margin: 0 auto; padding: 12px 16px 26px; border-top: 1px solid var(--line); }

/* ---------- home hero ---------- */
.hero-home { position: relative; overflow: hidden; background: var(--hero); color: var(--hero-ink); border-radius: 22px; padding: 38px 36px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: center; margin-top: 6px; }
.hero-home h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 8px 0 6px; letter-spacing: -.03em; line-height: 1.02; color: var(--hero-ink); }
.hero-home h1 .accent { color: var(--accent); }
.hero-home .lead { color: color-mix(in srgb, var(--hero-ink) 86%, transparent); }
.hero-home .kicker { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: var(--w-medium); opacity: .85; }
.hero-home .row { margin-top: 14px; }
.hero-home > *:not(.hero-trail) { position: relative; }
.daily-done { font-weight: var(--w-semibold); }
.btn.light { background: color-mix(in srgb, var(--hero-ink) 14%, transparent); color: var(--hero-ink); }
.btn.light:hover { background: color-mix(in srgb, var(--hero-ink) 24%, transparent); }
.btn.dark { background: var(--mountain-brown); color: var(--paper-white); }
.btn.dark:hover { background: #3a2d20; }
.hero-cards { position: relative; height: 290px; }
.postcard { position: absolute; width: 58%; aspect-ratio: 4 / 3; background: var(--paper-white); padding: 8px 8px 28px; border-radius: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.postcard img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; display: block; }
.postcard span { position: absolute; left: 10px; bottom: 6px; color: var(--mountain-brown); font-weight: var(--w-semibold); font-size: .85rem; }
.postcard.p0 { left: 2%; top: 30px; transform: rotate(-7deg); }
.postcard.p1 { left: 38%; top: 0; transform: rotate(5deg); z-index: 2; }
.postcard.p2 { left: 24%; top: 120px; transform: rotate(-2deg); z-index: 3; }
.hero-home h1 .accent { display: block; }
.hero-sign { display: flex; align-items: center; gap: 9px; margin: 12px 0 4px; font-weight: var(--w-semibold); font-size: 1.05rem; }
.hero-sign img { border-radius: 7px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--hero-ink) 18%, transparent); }
.sign { font-weight: var(--w-semibold); }

/* ---------- play tiles (games) — always on a dark panel, always with ▶ ---------- */
.hero-games { grid-column: 1 / -1; margin-top: 10px; }
.hero-games-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.hero-games-head span { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: var(--w-medium); opacity: .85; }
.hero-games-head a { color: var(--accent); font-weight: var(--w-semibold); text-decoration: none; }
.hero-games-head a:hover { text-decoration: underline; }
.play-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.play-tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; background: #2A2016;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .10), 0 10px 24px rgba(0, 0, 0, .28); transition: transform .15s ease, box-shadow .15s ease; }
.play-tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent), 0 14px 30px rgba(0, 0, 0, .35); }
.play-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.play-tile:hover img { transform: scale(1.06); }
.pt-text { position: absolute; left: 14px; right: 64px; bottom: 12px; display: flex; flex-direction: column; gap: 1px; }
.pt-text strong { font-size: 1.1rem; line-height: 1.2; }
.pt-text span { font-size: .82rem; opacity: .92; }
.pt-play { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35); transition: transform .15s ease; }
.pt-play svg { width: 20px; height: 20px; fill: var(--accent-ink); }
.play-tile:hover .pt-play { transform: scale(1.12); }
.pt-tag { position: absolute; left: 12px; top: 12px; }
.pt-cost { position: absolute; right: 12px; top: 12px; font-size: .74rem; font-weight: var(--w-bold); background: rgba(20, 14, 9, .62); padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.play-tile.big { aspect-ratio: auto; min-height: 260px; border-radius: 20px; }
.play-tile.big .pt-text { left: 22px; bottom: 22px; right: 110px; }
.play-tile.big .pt-text strong { font-size: 1.9rem; letter-spacing: -.01em; }
.play-tile.big .pt-text span { font-size: 1rem; }
.play-tile.big .pt-play { width: 76px; height: 76px; right: 22px; bottom: 22px; }
.play-tile.big .pt-play svg { width: 32px; height: 32px; }
@keyframes pulse-play { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent), 0 6px 16px rgba(0, 0, 0, .35); }
  50% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 0%, transparent), 0 6px 16px rgba(0, 0, 0, .35); } }
.play-tile.big .pt-play { animation: pulse-play 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .play-tile.big .pt-play { animation: none; } .play-tile img { transition: none; } }
@media (max-width: 1080px) { .play-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- blocks ---------- */
.block { margin-top: 38px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.block-head h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.02em; }
.more { color: var(--accent-text); font-weight: var(--w-semibold); text-decoration: none; }
.more:hover { text-decoration: underline; }
.section-lead { margin: -6px 0 14px; }
.grid.four { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid.offers { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 18px; }
.grid.two-one { grid-template-columns: 2fr 1fr; }

.game-tile { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: var(--mountain-brown); box-shadow: var(--shadow); transition: transform .15s; }
.game-tile:hover { transform: translateY(-3px); }
.game-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gt-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 22, 15, .05) 30%, rgba(30, 22, 15, .82) 100%); }
.gt-text { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.gt-text strong { font-size: 1.25rem; }
.gt-text span { font-size: .88rem; opacity: .92; }
.tag.hot { background: var(--accent); color: var(--accent-ink); align-self: flex-start; }
.tag.demo { background: color-mix(in srgb, var(--mid) 16%, var(--surface)); color: var(--mid); border: 1px dashed color-mix(in srgb, var(--mid) 60%, transparent); }

/* ---------- photos ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--surface-2); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo.cover { aspect-ratio: 16 / 10; }
.photo.cover.short { aspect-ratio: 16 / 9; }
.photo.cover.wide { aspect-ratio: 21 / 9; border-radius: 18px; }
.photo figcaption { position: absolute; right: 6px; bottom: 6px; max-width: 80%; }
.photo figcaption a { display: inline-block; font-size: .64rem; color: #fff; background: rgba(30, 22, 15, .55); padding: 2px 6px; border-radius: 6px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.photo.silhouette { display: grid; place-items: center; background: var(--surface-2); }
.photo.silhouette .sil { width: 58%; height: 78%; }
.sil { --sil-fill: #E3DED6; --sil-line: var(--concrete-gray); }

/* ---------- offer card (style of Filip's cestujlevne reference) ---------- */
.offer { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.offer-photo { position: relative; width: 100%; }
.offer-img { aspect-ratio: 6 / 5; border-radius: 14px; box-shadow: var(--shadow); }
.offer:hover .offer-img img { transform: scale(1.03); }
.offer-img img { transition: transform .35s ease; }
.offer-off { position: absolute; left: 16px; top: 16px; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--mountain-brown) 82%, transparent); color: var(--paper-white); font-weight: var(--w-bold); font-size: .98rem; }
.offer-demo { position: absolute; right: 10px; top: 10px; }
/* the price pill sits on the bottom edge — the photo credit moves up */
.offer .photo figcaption { top: 40px; bottom: auto; right: 8px; }
.offer-price { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font-weight: var(--w-bold); font-size: 1.12rem; white-space: nowrap; box-shadow: 0 6px 16px rgba(240, 122, 28, .35); }
.offer-price .ico { width: 20px; height: 20px; }
.offer-title { margin-top: 32px; text-align: center; font-size: 1.02rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; padding: 0 6px; }
.offer:hover .offer-title { color: var(--accent-text); }
.offer-meta { margin-top: 8px; display: flex; gap: 14px; align-items: center; justify-content: center; font-size: .8rem; color: var(--ink-2); font-weight: var(--w-light); }
.offer-com { display: inline-flex; align-items: center; gap: 4px; }
.offer-com .ico { width: 16px; height: 16px; }

/* ---------- deal / tour / country / trip cards ---------- */
.deal { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.deal-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.deal h3 { margin: 0; }
.price-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.price { font-size: 1.4rem; font-weight: var(--w-bold); color: var(--ink); }
.price-sub { font-size: 1.05rem; font-weight: var(--w-semibold); color: var(--ink-2); }
.total { margin-left: auto; text-align: right; }
.total .price { color: var(--accent-text); }
.badge-off { background: var(--mountain-brown); color: var(--paper-white); border-radius: 999px; padding: 2px 8px; font-weight: var(--w-bold); font-size: .8rem; }
.stars { color: var(--accent); letter-spacing: 1px; font-size: .9em; }
.stars .off { color: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-s { font-size: .74rem; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); font-weight: var(--w-medium); }
.chip-s.score { background: color-mix(in srgb, var(--secondary) 16%, var(--surface)); color: var(--secondary-text); }
.breakdown { border-top: 1px dashed var(--line); padding-top: 8px; }
.breakdown summary { cursor: pointer; color: var(--accent-text); font-weight: var(--w-semibold); font-size: .9rem; }
.breakdown table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: .88rem; }
.breakdown td { padding: 4px 0; border-bottom: 1px solid var(--surface-2); }
.breakdown td.num { text-align: right; }
.breakdown tr.zero { color: var(--ink-2); }
.breakdown tr.sum td { font-weight: var(--w-bold); border-bottom: 0; }
.country, .trip { padding: 0; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .12s, border-color .12s; }
.country:hover, .trip:hover { transform: translateY(-2px); border-color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--ink-2); }
.facts strong { color: var(--ink); }
.facts.big { font-size: 1rem; margin: 10px 0; }
.author { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary); color: var(--paper-white); font-weight: var(--w-bold); font-size: .78rem; text-transform: uppercase; flex: none; }
.avatar.xl { width: 84px; height: 84px; font-size: 1.6rem; background: var(--accent); color: var(--accent-ink); }
.author.big .avatar { width: 44px; height: 44px; }
.threads { display: flex; flex-direction: column; gap: 2px; }
.threads h3 { margin-bottom: 8px; }
.thread { display: flex; gap: 12px; justify-content: space-between; padding: 12px 6px; border-bottom: 1px solid var(--surface-2); text-decoration: none; color: var(--ink); }
.thread:last-child { border-bottom: 0; }
.thread:hover .thread-title { color: var(--accent-text); }
.thread-title { font-weight: var(--w-semibold); }
.thread-stats { text-align: right; flex: none; }

/* ---------- vip band ---------- */
.vip-band { margin-top: 44px; background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: var(--accent-ink); border-radius: 22px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.vip-band h2 { margin: 0 0 4px; font-size: 1.7rem; }
.vip-band p { margin: 0; max-width: 640px; font-weight: var(--w-medium); }

/* ---------- games hub ---------- */
.hub { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.hub-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 150px; }
.daily-banner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 220px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; padding: 22px; background: var(--mountain-brown); box-shadow: var(--shadow); }
.daily-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.daily-banner > *:not(img):not(.gt-shade) { position: relative; }
.db-text { display: flex; flex-direction: column; gap: 4px; }
.db-text strong { font-size: 1.7rem; letter-spacing: -.01em; }
.mode-country { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.map-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .12s, border-color .12s; }
.map-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.map-card img, .map-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.map-ph { display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.map-card.soon { opacity: .6; }
.map-card.soon:hover { transform: none; border-color: var(--line); }
.mc-body { padding: 10px 12px; display: flex; flex-direction: column; }
.lb { list-style: none; padding: 0; margin: 8px 0; }
.lb li { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--surface-2); align-items: center; }
.lb-rank { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: .78rem; font-weight: var(--w-bold); }
.lb li:first-child .lb-rank { background: var(--accent); color: var(--accent-ink); }
.lb-lvl { font-size: .75rem; color: var(--ink-2); }
.lb-score { font-weight: var(--w-semibold); }
.lb-me { font-size: .88rem; background: var(--surface-2); padding: 8px 10px; border-radius: 10px; margin-bottom: 8px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
.stat-grid div, .stat-strip div { display: flex; flex-direction: column; }
.stat-grid strong { font-size: 1.4rem; }
.stat-grid span { font-size: .8rem; color: var(--ink-2); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 6px 0 18px; }
.tab { padding: 10px 16px; text-decoration: none; color: var(--ink-2); font-weight: var(--w-semibold); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab.active { color: var(--ink); border-bottom-color: var(--accent); }
.table { width: 100%; border-collapse: collapse; }
.table td, .table th { padding: 10px 8px; border-bottom: 1px solid var(--surface-2); text-align: left; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.table .num { text-align: right; }
.lb-table tr.me td { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); font-weight: var(--w-semibold); }
/* real leaderboards (2. 10. 2026): a bot is always 🤖 and quieter than a player, the viewer's own line stands out */
.lb li.me { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border-radius: 8px; padding-left: 4px; padding-right: 4px; }
.lb li.bot .lb-name, .lb-table tr.bot td { color: var(--ink-2); }
.lb-botname small { font-size: .82em; color: var(--ink-2); }
.lb-me { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.lb-me .btn { margin-left: auto; }
.lb-count { margin: 0 0 6px; }
.lb-table th:first-child, .lb-table td:first-child { width: 3.2em; }
/* longer tab labels („Týdenní liga · 28. 9. – 4. 10.“): one line, narrower on a phone */
.tab { white-space: nowrap; }
@media (max-width: 480px) { .tab { padding: 10px 9px; font-size: .9rem; } }

/* ---------- search bar + form fields ---------- */
.searchbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--ink-2); font-weight: var(--w-medium); min-width: 150px; }
.field.grow { flex: 1; }
.field.inline { flex-direction: row; align-items: center; gap: 8px; min-width: 0; }
.select, .input { font: inherit; font-size: .95rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.select:focus, .input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); border-color: var(--accent); }
textarea.input { resize: vertical; }
.with-side { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 150px; }
.tour-list { display: flex; flex-direction: column; gap: 16px; }
.tour-list .tour { display: grid; grid-template-columns: 300px 1fr; }
.tour-list .tour .photo { height: 100%; aspect-ratio: auto; min-height: 220px; }
.steps { padding-left: 18px; margin: 6px 0 0; display: grid; gap: 8px; }
.vip-mini h3 { display: flex; align-items: center; gap: 8px; }

/* ---------- guide ---------- */
.map-card-wrap { padding: 14px; }
.map-tools { margin-bottom: 10px; gap: 12px; flex-wrap: wrap; }
.map-box { position: relative; }
.world-map { height: 460px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map-tip { position: absolute; pointer-events: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: .85rem; z-index: 5; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 10px; font-size: .78rem; color: var(--ink-2); }
.legend-title { font-weight: var(--w-semibold); color: var(--ink); margin-right: 4px; }
.legend-item { display: inline-flex; align-items: center; gap: 5px; }
.legend-item i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid rgba(74, 58, 42, .15); }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 3px; }
.seg-btn { border: 0; background: none; padding: 8px 14px; border-radius: 9px; cursor: pointer; font-weight: var(--w-semibold); color: var(--ink-2); }
.seg-btn.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(74, 58, 42, .15); }
.chip-f { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 13px; cursor: pointer; font-weight: var(--w-medium); color: var(--ink); }
.chip-f:hover { border-color: var(--accent); }
.chip-f.active { background: var(--mountain-brown); color: var(--paper-white); border-color: var(--mountain-brown); }
.crumbs { color: var(--ink-2); margin: 6px 0 12px; }
.crumbs a { color: var(--ink-2); }
.country-hero { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: center; padding: 22px; }
.country-hero h1 { margin: 2px 0 4px; font-size: 2.4rem; letter-spacing: -.02em; }
.detail-sil { background: var(--surface-2); border-radius: 18px; aspect-ratio: 1; display: grid; place-items: center; }
.detail-sil .sil { width: 82%; height: 82%; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.photo-row .photo { border-radius: 14px; }
.chart { margin: 0; position: relative; }
.chart figcaption { font-weight: var(--w-semibold); margin-bottom: 6px; }
.mchart { width: 100%; height: auto; display: block; }
.mchart .ax { font-size: 10px; fill: var(--ink-2); font-family: var(--font); }
.chart-tip { position: absolute; background: var(--mountain-brown); color: var(--paper-white); font-size: .8rem; padding: 4px 8px; border-radius: 8px; pointer-events: none; white-space: nowrap; }
.pli { margin: 8px 0; }
.pli-bar { position: relative; height: 12px; border-radius: 99px; background: var(--surface-2); overflow: visible; }
.pli-bar i { display: block; height: 100%; border-radius: 99px; background: var(--secondary); }
.pli-bar b { position: absolute; top: -4px; width: 2px; height: 20px; background: var(--ink); }
.airports { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }

/* ---------- forum ---------- */
.trip-detail h1 { font-size: 2.1rem; letter-spacing: -.02em; margin: 14px 0 10px; }
.trip-detail > .row { margin-top: 14px; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 12px 0 18px; }
.stat-strip strong { font-size: 1.05rem; }
.bars { display: grid; gap: 8px; margin: 8px 0; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 90px; gap: 10px; align-items: center; font-size: .88rem; }
.bar { height: 12px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.bar-val { text-align: right; font-weight: var(--w-semibold); }
.ratings { display: grid; gap: 8px; margin: 8px 0; }
.rating-row { display: flex; justify-content: space-between; }
.rating-row .stars { font-size: 1.1rem; }
.text-sec { margin-top: 14px; }
.text-sec h3 { margin-bottom: 4px; }
.posts { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.post.first { border-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.form-grid fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.form-grid legend { font-weight: var(--w-bold); padding: 0 6px; color: var(--ink); }
.form-grid .wide { grid-column: 1 / -1; }
.cost-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.calc { display: flex; gap: 22px; flex-wrap: wrap; background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.calc div { display: flex; flex-direction: column; }
.calc strong { font-size: 1.2rem; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: 4px; accent-color: var(--accent); }

/* ---------- profile, auth, vip ---------- */
.profile-head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.profile-head h1 { margin: 4px 0 8px; font-size: 1.8rem; }
.xpbar.big { width: 100%; max-width: 460px; height: 10px; margin-bottom: 6px; }
.profile-cta { max-width: 240px; }
.badge-card { display: flex; flex-direction: column; gap: 4px; }
.badge-card.locked { opacity: .5; filter: grayscale(1); }
.badge-ico { font-size: 28px; }
.wish { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wish li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); max-width: 980px; margin: 12px auto; }
.auth-art { background: var(--hero); color: var(--hero-ink); padding: 34px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.auth-art img { border-radius: 20px; }
.auth-art h2 { margin: 6px 0; color: var(--accent); font-size: 2rem; }
.auth-art ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.auth-form { border-radius: 0; border: 0; box-shadow: none; padding: 34px; display: flex; flex-direction: column; gap: 12px; }
.auth-form h1 { margin: 0; }
.or { text-align: center; color: var(--ink-2); font-size: .85rem; position: relative; }
.proto-note { background: color-mix(in srgb, var(--mid) 12%, var(--surface)); color: var(--mid); border-radius: 10px; padding: 8px 10px; margin: 6px 0 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { display: flex; flex-direction: column; gap: 8px; position: relative; }
.plan.hot { border: 2px solid var(--accent); }
.plan .tag.hot { position: absolute; top: -12px; left: 18px; }
.plan-price { font-size: 1.9rem; font-weight: var(--w-bold); letter-spacing: -.02em; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 8px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: center; }
.plan li .ico { width: 16px; height: 16px; color: var(--accent); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.yes { color: var(--good); font-weight: var(--w-bold); font-size: 1.1rem; }
.no { color: var(--ink-2); }
.prose p { margin: 0 0 12px; }
.prose h3 { margin: 16px 0 6px; }
.prose h3:first-child { margin-top: 0; }
.cols { columns: 2 320px; padding-left: 18px; }
.results { display: flex; flex-direction: column; }

/* ---------- game: normal photos ---------- */
.view-host { position: absolute; inset: 0; }
.flat-host { background: #111; overflow: hidden; touch-action: none; cursor: zoom-in; display: grid; place-items: center; }
.flat-img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; user-select: none; transition: transform .08s linear; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hdr-link { display: none; }
  /* the text only — the icon is a span too (.ico), and without it the button is an empty dot */
  .hdr-signup > span:not(.ico) { display: none; }
  .hdr-signup { padding: 10px; }
}
@media (max-width: 980px) {
  .hub, .with-side, .grid.two-one { grid-template-columns: 1fr; }
  .hub-side, .side { position: static; }
  .hero-home { grid-template-columns: 1fr; padding: 28px 22px; }
  .hero-cards { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .tour-list .tour { grid-template-columns: 1fr; }
  .tour-list .tour .photo { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  .hdr-row { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .hdr-link { display: none; }
  .hdr-signup > span:not(.ico) { display: none; }
  .hdr-signup { padding: 10px; }
  .site-header .brand-logo { height: 38px; }
  .strip-item { flex: 0 0 92px; padding: 8px 4px; font-size: .86rem; }
  .strip-ico { width: 34px; height: 34px; }
  .country-hero { grid-template-columns: 1fr; }
  .detail-sil { max-width: 220px; }
  .photo-row { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 110px 1fr 76px; }
  .world-map { height: 340px; }
  .page-head h1 { font-size: 1.6rem; }
}

/* ---------- avatar, wardrobe, coins ---------- */
.coin { display: inline-flex; align-items: center; gap: 6px; }
.coin .ico { width: 20px; height: 20px; }
.coin-chip .ico { width: 20px; height: 20px; }
.profile-avatar { display: block; width: 150px; flex: none; border-radius: 50%; }
.profile-avatar:hover { filter: drop-shadow(0 6px 14px rgba(255, 138, 43, .35)); }
.profile-avatar svg { display: block; width: 150px; height: 180px; }
.wardrobe { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.wardrobe-side { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.wardrobe-preview svg { width: 240px; height: 288px; display: block; }
.balance, .wearing { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.balance .coin strong { font-size: 1.5rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.shop-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px; }
.shop-item.worn { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.shop-art svg { width: 110px; height: 132px; display: block; }
.shop-item .btn { width: 100%; margin-top: auto; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.pack { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pack .coin strong { font-size: 1.3rem; }

/* ---------- travel diary ---------- */
.diary { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.diary-map { height: 340px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.diary-side .row { flex-wrap: nowrap; }
.diary-side .input { flex: 1; min-width: 0; }
.diary-list { display: flex; flex-direction: column; max-height: 280px; overflow: auto; }
.diary-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 2px; border-bottom: 1px solid var(--surface-2); }
.diary-row a { color: var(--ink); text-decoration: none; font-weight: var(--w-medium); }
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.step { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: var(--w-bold); }
.step:hover { border-color: var(--accent); }
.diary-stats { margin-top: 12px; }
.diary-next { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.diary-next .chip-s { text-decoration: none; }
@media (max-width: 980px) {
  .wardrobe, .diary { grid-template-columns: 1fr; }
  .wardrobe-side { position: static; }
}

/* ---------- duel with a (labelled) bot ---------- */
.chip.opp { gap: 6px; padding: 3px 12px 3px 4px; }
.opp-av { display: inline-flex; }
.opp-av svg { display: block; }
.chip.opp .opp-av svg { width: 26px; height: 31px; }
.opp-round { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.opp-round .opp-av svg { width: 34px; height: 41px; }
.opp-final { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.opp-final .opp-av svg { width: 60px; height: 72px; }
.duel-bots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.duel-bot { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--bg); transition: transform .12s, border-color .12s; }
.duel-bot:hover { transform: translateY(-2px); border-color: var(--accent); }
.duel-av svg { width: 86px; height: 103px; display: block; }
.duel-bot .btn { margin-top: 6px; }
@media (max-width: 720px) { .duel-bots { grid-template-columns: 1fr; } }

/* ---------- energy ---------- */
.energy-chip .ico { width: 18px; height: 18px; color: var(--accent); }
.energy-meter { display: inline-flex; gap: 3px; }
.energy-meter i { width: 7px; height: 14px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); display: block; }
.energy-meter i.on { background: var(--accent); border-color: var(--accent-2); }
.no-energy { display: grid; place-items: center; padding: 40px 16px; }
.no-energy.fs { position: fixed; inset: 0; background: var(--bg); z-index: 40; }
.no-energy-card { max-width: 520px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px; }
.ne-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--line); }
.ne-ico .ico { width: 40px; height: 40px; }
.ne-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 8px; }
.ne-actions .btn { width: 100%; }
.btn.light-o { background: var(--mountain-brown); color: var(--paper-white); }
.energy-card .energy-meter i { width: 12px; height: 22px; }

/* ---------- mystery trip ---------- */
.mystery-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; background: var(--hero); color: var(--hero-ink); border-radius: 22px; padding: 34px; margin-top: 6px; }
.mystery-hero h1 { color: var(--hero-ink); font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 6px 0; letter-spacing: -.03em; }
.mystery-hero .lead { color: color-mix(in srgb, var(--hero-ink) 86%, transparent); }
.mystery-hero .kicker { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.mystery-hero .row { margin-top: 14px; }
.envelope svg { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .35)); }
.step-card { position: relative; padding-top: 26px; }
.step-no { position: absolute; top: -14px; left: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: var(--w-bold); }
.mystery-band { margin-top: 44px; background: var(--surface); border: 2px dashed var(--accent); border-radius: 22px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.mystery-band h2 { margin: 6px 0 4px; font-size: 1.6rem; }
.mystery-band p { margin: 0; max-width: 640px; }
@media (max-width: 980px) { .mystery-hero { grid-template-columns: 1fr; } }

/* ---------- Připravujeme: letenky a zájezdy (Filip 1. 10. 2026) ---------- */
.strip-item { position: relative; }
.strip-soon { position: absolute; top: 6px; right: 6px; font-size: .62rem; font-weight: var(--w-semibold); text-transform: uppercase; letter-spacing: .04em;
  padding: 1px 6px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); line-height: 1.5; }
body.scrolled .strip-soon { position: static; }
.foot-soon { color: var(--ink-2); font-weight: var(--w-light); }
.offer.soon { cursor: default; }
a.offer.soon { cursor: pointer; }
.offer-price.soon { background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow); text-transform: uppercase; font-size: .9rem; letter-spacing: .06em; }
.offer.soon .offer-meta { text-transform: none; }
.soon-line { margin: 26px 0 0; }
.soon-side .row { margin-top: 6px; }

/* ---------- prerendered page content (dist/<adresa>.html, pipeline/routes.py) ----------
   Crawlable copy of the page inside #app. JS replaces it on load, so a visitor
   never sees it; without JS it appears after 1.6 s instead of flashing first. */
.seo-static { opacity: 0; animation: seo-show 0s linear 1.6s forwards; max-width: 1100px; margin: 0 auto; padding: 16px; }
@keyframes seo-show { to { opacity: 1; } }
.seo-head { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; padding: 8px 0 14px; border-bottom: 1px solid var(--line); }
.seo-head nav { display: flex; gap: 6px; flex-wrap: wrap; }
.seo-foot { margin-top: 30px; padding-top: 12px; border-top: 1px solid var(--line); }
.seo-static ul.cols { columns: 4 180px; }

/* sign-up: e-mail notifications on, with the box to refuse (NAPADY.md §6) */
.reg-mail { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.reg-mail p { margin: 0; }

/* ---------- accounts (2. 10. 2026) ---------- */
.auth-fields { display: flex; flex-direction: column; gap: 12px; }
.auth-msg { color: var(--bad); min-height: 1.2em; margin: 0; }
.auth-sent { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.auth-sent-ico { font-size: 2.6rem; }
.auth-sent h2 { margin: 0; }
.auth-dev { background: var(--surface-2); border-radius: 10px; padding: 8px 12px; }
.auth-finish { margin: 0 auto; max-width: 460px; }
.account-box { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 240px; }
.account-box .check { font-size: .9rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font: inherit; }
.linkish:hover { color: var(--bad); }
.hdr-me { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-code-form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.auth-code { width: 9em; text-align: center; font-size: 1.2rem; letter-spacing: .12em; }

/* ---------- Yakoiny v trezoru (bez profilu, Filip 2. 10. 2026) ---------- */
.coin-chip.locked { opacity: .92; }
.coin-chip .lock { font-size: .72rem; margin-left: 2px; }
.vault-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.vault-ico { font-size: 2.6rem; }
.vault-card h2 { margin: 0 0 6px; }
@media (max-width: 720px) { .vault-card { grid-template-columns: 1fr; text-align: center; } .vault-card .row { justify-content: center; } }
