/* Content blocks for hand-written texts (reviews, guides, bonus pages). Prefix cb- ; works inside .prose or any section.
   Paste the HTML of a block from anmeldelse/ukazka-bloky.html into the text slot. js/fs-blocks.js adds gallery, tabs, promo-code copy.
   Look: flat, same tokens as the rest of the site (--fs-*), thin borders, no gradients, nothing decorative. */
.cb{margin:18px 0}
.cb h3,.cb h4{margin:0 0 6px}

/* ---- lists ---- */
.cb-list{list-style:none;margin:12px 0;padding:0;display:grid;gap:7px}
.cb-list li{position:relative;padding-left:24px;line-height:1.5}
.cb-list li:before{content:"";position:absolute;left:0;top:4px;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.cb-list.no li:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' fill='none' stroke='%23e23a4c' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}
.cb-list.dot li{padding-left:18px}.cb-list.dot li:before{width:6px;height:6px;top:9px;left:4px;border-radius:50%;background:var(--fs-green)}
.cb-num{list-style:none;counter-reset:cb;margin:12px 0;padding:0;display:grid;gap:12px}
.cb-num li{counter-increment:cb;position:relative;padding-left:38px;min-height:28px;line-height:1.5}
.cb-num li:before{content:counter(cb);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:8px;background:var(--fs-bg);border:1px solid var(--fs-line);color:var(--fs-green-ink);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center}
.cb-num li b{display:block}
.cb-key{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:12px 0;padding:0;list-style:none}
.cb-key li{border:1px solid var(--fs-line);border-radius:var(--fs-rad-s);padding:10px 12px}
.cb-key li b{display:block;font-size:18px;color:var(--fs-green-ink);line-height:1.2}.cb-key li span{font-size:13px;color:var(--fs-muted)}

/* ---- callouts: thin coloured edge, soft background ---- */
.cb-note{border-left:4px solid;border-radius:0 var(--fs-rad-s) var(--fs-rad-s) 0;padding:12px 14px;margin:16px 0}
.cb-note b{display:block;margin-bottom:2px;font-size:14.5px}.cb-note p{margin:0;font-size:14.5px;line-height:1.5}
.cb-note>i{display:none}
.cb-note.n-info{background:#f1f7fd;border-color:#2b8fe6}.cb-note.n-info b{color:#1e6fb8}
.cb-note.n-warn{background:#fff9ea;border-color:#f59e0b}.cb-note.n-warn b{color:#9a6200}
.cb-note.n-tip{background:#f2faf5;border-color:#16a34a}.cb-note.n-tip b{color:var(--fs-green-ink)}
.cb-note.n-danger{background:#fdf4f5;border-color:#e23a4c}.cb-note.n-danger b{color:#b4232f}
.cb-quote{border-left:3px solid var(--fs-line);padding:2px 0 2px 16px;margin:16px 0}
.cb-quote p{margin:0 0 6px;font-size:16px;line-height:1.55}.cb-quote footer{font-size:13px;color:var(--fs-muted)}

/* ---- pros / cons ---- */
.cb-pc{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
.cb-pc>div{border:1px solid var(--fs-line);border-top-width:3px;border-radius:var(--fs-rad-s);padding:12px 14px}
.cb-pc .pro{border-top-color:#16a34a}.cb-pc .con{border-top-color:#e23a4c}
.cb-pc h4{margin:0 0 8px;font-size:15px}.cb-pc .pro h4{color:var(--fs-green-ink)}.cb-pc .con h4{color:#b4232f}
.cb-pc ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}.cb-pc li{position:relative;padding-left:20px;font-size:14.5px;line-height:1.45}
.cb-pc .pro li:before,.cb-pc .con li:before{position:absolute;left:0;top:0;font-weight:800;font-size:16px;line-height:1.3}
.cb-pc .pro li:before{content:"+";color:#16a34a}.cb-pc .con li:before{content:"–";color:#e23a4c}

/* ---- FAQ ---- */
.cb-faq{margin:14px 0;border-top:1px solid var(--fs-line)}
.cb-faq details{border-bottom:1px solid var(--fs-line)}
.cb-faq summary{cursor:pointer;list-style:none;padding:14px 36px 14px 0;font-weight:700;position:relative;line-height:1.35}
.cb-faq summary::-webkit-details-marker{display:none}
.cb-faq summary:after{content:"";position:absolute;right:4px;top:50%;width:8px;height:8px;margin-top:-6px;border-right:2px solid var(--fs-muted);border-bottom:2px solid var(--fs-muted);transform:rotate(45deg);transition:transform .15s}
.cb-faq details[open] summary:after{transform:rotate(-135deg);margin-top:-2px}
.cb-faq .a{padding:0 0 14px;font-size:14.5px;line-height:1.55;color:var(--fs-ink2)}

/* ---- tables ---- */
.cb-table{overflow-x:auto;margin:16px 0;border:1px solid var(--fs-line);border-radius:var(--fs-rad-s);-webkit-overflow-scrolling:touch}
.cb-table table{width:100%;border-collapse:collapse;font-size:14px;min-width:400px}
.cb-table th{background:var(--fs-bg);color:var(--fs-ink);text-align:left;padding:10px 12px;font-weight:700;font-size:13px;border-bottom:1px solid var(--fs-line)}
.cb-table td{padding:10px 12px;border-top:1px solid var(--fs-line);vertical-align:top}
.cb-table tbody tr:first-child td{border-top:0}
.cb-table td:first-child{font-weight:600}
.cb-table .c{text-align:center}.cb-table .y{color:#16a34a;font-weight:800;text-align:center}.cb-table .n{color:#e23a4c;font-weight:800;text-align:center}
.cb-table.kv table{min-width:0}.cb-table.kv th{background:transparent;color:var(--fs-muted);width:40%;font-weight:500;border-bottom:0;border-top:1px solid var(--fs-line)}.cb-table.kv tr:first-child th{border-top:0}.cb-table.kv td{font-weight:700;border-top:1px solid var(--fs-line)}.cb-table.kv tr:first-child td{border-top:0}
.cb-table th.hl,.cb-table td.hl{background:var(--fs-green-l)}.cb-table td.hl{font-weight:700}
.cb-table .bar{display:inline-block;vertical-align:middle;width:90px;margin-right:8px}

/* ---- images: heights are capped, so tall screenshots never fill a phone screen ---- */
.cb-fig{margin:16px 0}.cb-fig img{display:block;width:100%;height:auto;border-radius:var(--fs-rad-s);border:1px solid var(--fs-line)}
.cb-fig.ph{max-width:260px;margin-left:auto;margin-right:auto}
.cb-fig figcaption{font-size:12.5px;color:var(--fs-muted);margin-top:6px;text-align:center}
.cb-imgtext{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:center;margin:16px 0}
.cb-imgtext.rev>:first-child{order:2}.cb-imgtext img{width:100%;height:auto;border-radius:var(--fs-rad-s);border:1px solid var(--fs-line);display:block}
.cb-imgs{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:16px 0}
.cb-imgs figure{margin:0}.cb-imgs img{width:100%;height:auto;display:block;border-radius:var(--fs-rad-s);border:1px solid var(--fs-line)}.cb-imgs figcaption{font-size:12.5px;color:var(--fs-muted);margin-top:4px;text-align:center}

/* ---- gallery ---- */
.cb-gal{margin:16px 0;position:relative}
.cb-gal .tr{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.cb-gal .tr a{flex:0 0 auto;scroll-snap-align:start;width:180px;display:block;color:inherit;text-decoration:none}
.cb-gal.wide .tr a{width:min(78%,340px)}
.cb-gal img{width:100%;height:auto;display:block;border-radius:12px;border:1px solid var(--fs-line);background:#fff}
.cb-gal .tr span{display:block;font-size:12.5px;color:var(--fs-muted);margin-top:4px;text-align:center}
.cb-gal .nv{position:absolute;top:40%;width:32px;height:32px;border-radius:50%;border:1px solid var(--fs-line);background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.18);cursor:pointer;font-size:18px;line-height:1;z-index:2}.cb-gal .nv.p{left:-10px}.cb-gal .nv.n{right:-10px}
.cb-lb{position:fixed;inset:0;background:rgba(8,16,28,.92);z-index:100;display:none;align-items:center;justify-content:center;padding:16px}
.cb-lb.on{display:flex}.cb-lb img{max-width:100%;max-height:86vh;border-radius:10px}
.cb-lb button{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;width:40px;height:40px;border-radius:50%;font-size:22px;cursor:pointer}
.cb-lb .x{top:12px;right:12px}.cb-lb .p{left:10px;top:50%}.cb-lb .n{right:10px;top:50%}.cb-lb .t{position:absolute;bottom:14px;left:0;right:0;text-align:center;color:#cbd5e1;font-size:13px}

/* ---- steps with a screenshot ---- */
.cb-step{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:16px;align-items:start;padding:14px 0;border-bottom:1px solid var(--fs-line)}
.cb-step h4{margin:0 0 4px;font-size:15.5px}.cb-step p{margin:0;font-size:14.5px;line-height:1.5}
.cb-step img{width:100%;height:auto;max-height:300px;object-fit:cover;object-position:top;border-radius:10px;border:1px solid var(--fs-line);display:block}

/* ---- bonus / CTA ---- */
.cb-cta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:var(--fs-navy);color:#fff;border-radius:var(--fs-rad);padding:16px 18px;margin:18px 0}
.cb-cta .lg{flex:0 0 auto;width:64px;height:44px}.cb-cta .tx{flex:1;min-width:180px}.cb-cta small{color:#9fb2cc;display:block;font-size:12.5px}.cb-cta b{font-size:19px;display:block;margin:2px 0;line-height:1.25}
.cb-cta .cd{display:inline-flex;align-items:center;gap:8px;border:1px dashed #6aa9d8;border-radius:8px;padding:5px 10px;margin-top:6px;font-weight:700;letter-spacing:.5px;font-size:14px}
.cb-cta .cd button{border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:6px;padding:2px 8px;cursor:pointer}
.cb-cta .btn{white-space:nowrap}

/* ---- stat tiles, badges, rating bars, tabs, toc ---- */
.cb-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:14px 0}
.cb-stats>div{border:1px solid var(--fs-line);border-radius:var(--fs-rad-s);padding:12px;text-align:center}.cb-stats b{display:block;font-size:22px;color:var(--fs-green-ink);line-height:1.2}.cb-stats span{font-size:12.5px;color:var(--fs-muted)}
.cb-badge{display:inline-block;border-radius:6px;padding:3px 9px;font-size:12px;font-weight:700;background:var(--fs-green-l);color:var(--fs-green-ink)}.cb-badge.o{background:#fff1d6;color:#9a6200}.cb-badge.r{background:#fde8ea;color:#b4232f}
.cb-rate{display:grid;gap:8px;margin:14px 0}.cb-rate>div{display:grid;grid-template-columns:140px 1fr 36px;gap:10px;align-items:center;font-size:14px}
.cb-tabs{margin:16px 0}.cb-tabs .th{display:flex;gap:4px;margin-bottom:12px;border-bottom:1px solid var(--fs-line);overflow-x:auto}
.cb-tabs .th button{border:0;background:none;padding:9px 14px;font:inherit;font-size:14px;font-weight:600;color:var(--fs-muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}.cb-tabs .th button.on{color:var(--fs-green-ink);border-bottom-color:var(--fs-green)}
.cb-tabs .tp[hidden]{display:none}
.cb-toc{border:1px solid var(--fs-line);border-radius:var(--fs-rad-s);padding:12px 16px;margin:16px 0}.cb-toc b{display:block;margin-bottom:6px}
.cb-toc ol{margin:0;padding-left:20px;display:grid;gap:4px;font-size:14.5px}.cb-toc a{color:var(--fs-ink);text-decoration:none}.cb-toc a:hover{color:var(--fs-green-ink);text-decoration:underline}

/* ---- mobile ---- */
@media(max-width:640px){
  .cb-pc{grid-template-columns:1fr}
  .cb-imgtext{grid-template-columns:1fr;gap:10px}.cb-imgtext.rev>:first-child{order:0}
  .cb-imgtext img,.cb-fig img{max-height:210px;object-fit:cover;object-position:top}
  .cb-fig.ph{max-width:170px}.cb-fig.ph img{max-height:none;object-fit:contain}
  .cb-imgs{grid-template-columns:1fr 1fr}.cb-imgs img{aspect-ratio:4/3;object-fit:cover;object-position:top}
  .cb-gal .tr a{width:132px}.cb-gal.wide .tr a{width:78%}.cb-gal .nv{display:none}
  .cb-step{grid-template-columns:minmax(0,1fr) 104px;gap:12px}.cb-step img{max-height:200px}
  .cb-rate>div{grid-template-columns:1fr 36px}.cb-rate>div .bar{grid-column:1/-1;order:3}
  .cb-cta{padding:14px}.cb-cta .btn{width:100%;text-align:center}
  .cb-key{grid-template-columns:1fr 1fr}.cb-stats{grid-template-columns:1fr 1fr}
  .cb-table table{font-size:13px}.cb-table th,.cb-table td{padding:8px 10px}
}
.cb-mono{font-style:normal;font-weight:800;font-size:22px;color:#fff}
.bkx-logo .cb-mono{line-height:1}
.bkx-logo:has(.cb-mono){background:var(--fs-green);border-color:var(--fs-green);width:56px;height:56px}.cb-cta .bkx-logo:has(.cb-mono){width:48px;height:48px}

/* ---- fixed bonus bar (always visible, all screens) ---- */
.cb-fixbar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#0b1b30;border-top:1px solid rgba(255,255,255,.12);box-shadow:0 -4px 16px rgba(0,0,0,.25)}
.cb-fixbar .in{max-width:1180px;margin:0 auto;padding:9px 16px;display:flex;align-items:center;gap:14px}
.cb-fixbar .bkx-logo{flex:0 0 auto;width:44px;height:44px;border-radius:10px}.cb-fixbar .tx{flex:1;min-width:0;color:#fff}
.cb-fixbar small{display:block;color:#9fb2cc;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cb-fixbar b{display:block;font-size:16px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cb-fixbar .btn{white-space:nowrap;flex:0 0 auto}
body.fs:has(.cb-fixbar){padding-bottom:70px}
@media(max-width:640px){.cb-fixbar .in{padding:8px 12px;gap:10px}.cb-fixbar .bkx-logo{width:38px;height:38px}.cb-fixbar b{font-size:14px;white-space:normal;max-height:2.5em}.cb-fixbar small{display:none}.cb-fixbar .btn{padding:10px 14px}}
.sl .bkx-logo{width:44px;height:30px}.sl .ll{border-radius:4px}

/* ---- review: expert take, app cards, authors, subscribe, tabs, ring, pills, related ---- */
.cb-exp{background:#f1f7fd;border:1px solid #cfe3f6;border-radius:var(--fs-rad-s);padding:14px 16px;margin:16px 0}
.cb-exp .who{display:flex;gap:10px;align-items:center;margin-bottom:8px}.cb-exp .av,.cb-auth .av,.bkx-au .av{flex:0 0 38px;height:38px;border-radius:50%;background:var(--fs-green);color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
.cb-exp b{display:block;font-size:14.5px}.cb-exp small{color:var(--fs-muted);font-size:12.5px;display:block}.cb-exp h4{margin:0 0 4px;font-size:15px}.cb-exp p{margin:0;font-size:14.5px;line-height:1.5;color:var(--fs-ink2)}
.cb-apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:14px 0}
.cb-app{border:1px solid var(--fs-line);border-radius:var(--fs-rad-s);padding:12px 14px;display:flex;flex-direction:column;gap:8px}.cb-app b{font-size:15px}.cb-app .st{font-size:13px;color:var(--fs-ink2)}.cb-app .btn{text-align:center}
.cb-auth{display:grid;gap:2px}.cb-auth a{display:flex;gap:10px;align-items:center;padding:8px 4px;color:var(--fs-ink);text-decoration:none;border-radius:8px}.cb-auth a:hover{background:var(--fs-bg)}.cb-auth b{display:block;font-size:14px}.cb-auth small{color:var(--fs-muted);font-size:12.5px}
.cb-sub{background:var(--fs-navy);color:#fff}.cb-sub b{display:block;font-size:16px;margin-bottom:2px}.cb-sub small{display:block;color:#9fb2cc;margin-bottom:10px}
.cb-sub form{display:flex;flex-direction:column;gap:8px}.cb-sub input{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;border-radius:8px;padding:10px 12px;font:inherit}.cb-sub input::placeholder{color:#9fb2cc}
.bkx-why{margin-top:12px}.bkx-why summary{cursor:pointer;color:#9fd2f5;font-size:13.5px;font-weight:600}.bkx-why p{margin:8px 0 0;color:#cbd5e1;font-size:13px}
.bkx-tabs{display:flex;gap:2px;margin-top:14px;border-top:1px solid rgba(255,255,255,.15);overflow-x:auto}.bkx-tabs a{padding:12px 18px;color:#cbd5e1;text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap;border-bottom:3px solid transparent}.bkx-tabs a.on{color:#fff;border-bottom-color:#38bdf8}.bkx-tabs a:hover{color:#fff}
.cb-score{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.cb-ring{--p:94;flex:0 0 112px;width:112px;height:112px;border-radius:50%;background:conic-gradient(var(--fs-green) calc(var(--p)*1%),#e5e7eb 0);display:flex;align-items:center;justify-content:center;position:relative;flex-direction:row;gap:2px}
.cb-ring:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}.cb-ring b,.cb-ring small{position:relative}.cb-ring b{font-size:28px;color:var(--fs-green-ink)}.cb-ring small{color:var(--fs-muted);align-self:flex-end;margin-bottom:34px}
.cb-pill{background:var(--fs-green-l);color:var(--fs-green-ink);border-radius:999px;padding:3px 10px;font-size:13px;font-weight:800;white-space:nowrap}
.fsch .cb-pill{margin-left:auto}
.cb-rel{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.cb-rel a{border:1px solid var(--fs-line);border-radius:var(--fs-rad-s);padding:12px;color:var(--fs-ink);text-decoration:none;display:flex;flex-direction:column;gap:6px;align-items:flex-start}.cb-rel a:hover{border-color:var(--fs-green)}.cb-rel .bkx-logo{width:64px;height:40px}.cb-rel small{color:var(--fs-muted);font-size:12.5px}
@media(max-width:640px){.cb-ring{flex-basis:92px;width:92px;height:92px}.cb-ring b{font-size:22px}.cb-ring small{margin-bottom:26px}}
.bkx-upd{color:#cbd5e1;font-size:13px;margin-top:8px}
