.preview-bar {
  background: #101d31; color: #fff; font: 600 12px/1.3 system-ui, sans-serif;
}
.bt-svelte-skip {
  position: fixed; z-index: 10000; inset: 8px auto auto 8px; min-height: 44px; padding: 10px 14px;
  background: #fff; color: #111; border: 2px solid currentColor; border-radius: 4px;
  transform: translateY(calc(-100% - 12px));
}
.bt-svelte-skip:focus { transform: none; }
#bt-main { scroll-margin-top: 5rem; }
.preview-bar-inner {
  max-width: 1250px; padding: 6px 18px; margin: auto; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 3px 14px;
}
.preview-status { color: #b3e9d5; }
.preview-bar nav { display: flex; flex-wrap: wrap; gap: 5px 14px; }
.preview-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
:root[data-preview-choice] .preview-consent:not([data-preview-open]) { display: none; }
.preview-consent {
  position: fixed; z-index: 9990; bottom: 8px; inset-inline: 0; display: grid;
  justify-items: center; padding: 0 12px; pointer-events: none;
}
.preview-consent-card {
  width: min(100%, 640px); padding: 12px 16px; box-sizing: border-box;
  border: 1px solid var(--bt-line, #46536a); border-radius: 10px;
  color: var(--bt-text, #eef3fb); background: var(--bt-surface, #122039);
  font: 13px/1.45 system-ui, sans-serif; pointer-events: auto;
}
.preview-consent-card p { margin: 0 0 8px; }
.preview-consent-actions { display: flex; gap: 8px; }
.preview-consent-actions button {
  flex: 1; min-height: 44px; border: 2px solid currentColor; border-radius: 6px;
  color: inherit; background: transparent; padding: 5px; font: 600 14px/1.1 system-ui, sans-serif;
  cursor: pointer;
}
.preview-directory {
  max-width: 880px; padding: 28px max(18px, env(safe-area-inset-left)); margin: auto;
  color: #edf5ff; font: 16px/1.55 system-ui, sans-serif;
}
body:not(:has(.bt-header)) { margin: 0; background: #101a2b; }
.preview-directory a { color: #b3e9f3; }
.preview-directory h1,.preview-directory h2 { line-height: 1.15; }
.preview-directory input {
  display: block; box-sizing: border-box; width: min(100%, 28rem); min-height: 44px;
  margin-top: .4rem; border: 1px solid #64748b; border-radius: 5px; padding: 8px 12px;
  background: #152237; color: #fff; font: inherit;
}
.preview-benchmarks,.preview-page-list { padding: 0; list-style: none; }
.preview-benchmarks {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 10px;
}
.preview-benchmarks a {
  display: block; padding: 12px; background: #1b2c44; border-radius: 6px;
}
.preview-page-list li { padding: 8px 0; border-bottom: 1px solid #334155; }
.preview-page-list small { display: block; overflow-wrap: anywhere; color: #a5b4c7; }
[data-bt-standalone] .bt-header,
[data-bt-standalone] .bt-hero,
[data-bt-standalone] .bt-hero__copy { border-bottom: 0; }
.bt-header__inner:has(.bt-header-search) { position: relative; }
.bt-header-search summary {
  display: flex; align-items: center; justify-content: center; list-style: none;
  gap: .4rem; min-width: 44px; min-height: 44px; padding-inline: .55rem;
  border-radius: var(--radius-sm, .5rem); white-space: nowrap;
  color: var(--bt-text, #edf5ff); cursor: pointer; font-weight: 650;
}
.bt-header-search__label { display: none; }
.bt-header-search summary::-webkit-details-marker { display: none; }
.bt-header-search[open] summary,
.bt-header-search summary:hover { background: var(--bt-surface-2, #1d2a41); }
.bt-header-search form {
  position: absolute; z-index: 125; inset: calc(100% + .25rem) 1rem auto auto;
  box-sizing: border-box; width: min(calc(100% - 2rem), 25rem); padding: 1rem;
  background: var(--bt-surface, #152237); color: var(--bt-text, #edf5ff);
  border: 1px solid var(--bt-line, #64748b); border-radius: var(--radius, .75rem);
  box-shadow: var(--bt-shadow-lg, 0 12px 30px #0004);
}
.bt-header-search label, .bt-search-results label { display: block; font-weight: 650; }
.bt-site-search-fields {
  display: flex; gap: .5rem; align-items: stretch; margin-top: .35rem;
}
.bt-site-search-fields input {
  margin: 0; min-width: 0; flex: 1 1 0; min-height: 44px; padding: .5rem .65rem;
  font: inherit; color: inherit; background: var(--bt-surface-2, #101b2b);
  border: 1px solid var(--bt-input-border, #64748b); border-radius: .4rem;
}
.bt-site-search-fields button {
  flex: 0 0 auto; min-height: 44px; padding: .5rem .8rem; cursor: pointer;
  color: #fff; background: #a7192b; border: 1px solid transparent; border-radius: .4rem;
  font: inherit; font-weight: 650;
}
.bt-site-search-fields button:hover { background: #8a1323; }
.bt-header-search summary:focus-visible, .bt-site-search-fields :focus-visible {
  outline: 2px solid currentColor; outline-offset: 2px;
}
.bt-site-search-fields button:focus-visible { outline-color: var(--bt-text, #edf5ff); }
body:has(.bt-search-results) { background: #101a2b; }
.bt-search-results { box-sizing: border-box; padding-block: clamp(2rem, 7vw, 4rem); }
.bt-search-results h1 { margin: 1.25rem 0 1.5rem; font-size: clamp(1.9rem, 5vw, 2.8rem); }
.bt-search-results form { max-width: 36rem; margin-bottom: 1.5rem; }
.bt-search-result-list { list-style: none; display: grid; gap: .65rem; margin: 0; padding: 0; }
.bt-search-result-list li { padding: .8rem 1rem; background: #152237; border-radius: .55rem; }
.bt-search-result-list small { color: #b6c1d0; }
.bt-search-result-list h2 { margin: .25rem 0; font-size: 1.15rem; }
.bt-search-result-list p { margin: .35rem 0 0; color: #c9d5e5; }
[data-theme="light"] body:has(.bt-search-results) { background: #f3f5f8; }
[data-theme="light"] .bt-search-results { color: #172334; --bt-surface-2: #fff; --bt-text: #172334; }
[data-theme="light"] .bt-search-results a { color: #184d73; }
[data-theme="light"] .bt-search-result-list li { background: #fff; }
[data-theme="light"] .bt-search-result-list :is(p, small) { color: #42546b; }
@media (min-width: 1280px) {
  .bt-header-search__label { display: inline; }
  .bt-header__actions:has(.bt-header-search) .bt-header__cta { white-space: nowrap; }
}
@media (max-width: 767px) {
  .bt-header:has(.bt-header-search) .bt-logo { flex-shrink: 1; min-width: 0; }
  .bt-header__actions:has(.bt-header-search) :is(.bt-langdd, .bt-theme-toggle) { display: flex; }
  .bt-header__actions:has(.bt-header-search) .bt-header__cta { display: none; }
  .bt-header__actions:has(.bt-header-search) { gap: .25rem; }
  .bt-header__actions:has(.bt-header-search) .bt-langdd summary { min-height: 44px; }
  .bt-header__actions:has(.bt-header-search) .bt-langdd summary [lang] { font-size: 0; }
  .bt-header__actions:has(.bt-header-search) .bt-langdd summary [lang]::after {
    content: attr(lang); font-size: .875rem; text-transform: uppercase;
  }
  .bt-hero .bt-hero__copy { padding-block: 1.8rem 1.7rem; }
  .bt-hero .bt-hero__lead { margin-block: .7rem 1.5rem; }
  .bt-hero .bt-hero__chips { margin-top: 1.25rem; }
}
.bt-hero__stage :is(.bt-hero__ribbon, .bt-hero__badge--blik) { display: none; }
.bt-hero__stage .bt-phone { aspect-ratio: auto; }
.bt-hero__stage .bt-phone__screen { height: auto; padding-block: 20px 14px; }
.bt-section--featured-op .bt-featured-op__body {
  grid-template-areas: "offer actions" "brand actions" "partner actions";
}
.bt-section--featured-op .bt-featured-op__offer {
  grid-area: offer; margin: 0; color: var(--bt-text); font-size: 1.125rem; font-weight: 700; line-height: 1.35;
}
.bt-section--featured-op .bt-featured-op__body + .bt-offer-compliance { margin-top: 1rem; }
.bt-editors-pick ul.bt-top3__list .bt-top3__item {
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
}
.bt-editors-pick ul.bt-top3__list .bt-top3__logo { grid-column: 1; }
.bt-editors-pick ul.bt-top3__list .bt-top3__main { grid-column: 2; }
.bt-editors-pick ul.bt-top3__list .bt-top3__actions { grid-column: 3; }
@media (max-width: 767px) {
  .bt-section--featured-op .bt-featured-op__body {
    grid-template-areas: "offer" "brand" "partner" "actions";
  }
}
.bt-ranking-search {
  display: grid; justify-items: start; gap: 4px; padding: 12px; width: min(100%, 32rem);
  scroll-margin-top: 6rem;
}
.bt-ranking-search input {
  width: min(100%, 22rem); min-height: 44px; padding: 8px 12px;
  background: var(--bt-surface, #17233a); color: var(--bt-text, #edf5ff);
  border: 1px solid var(--bt-line, #64748b); border-radius: 6px; font: inherit;
}
.bt-ranking-search p:empty { display: none; }
:is(.bt-ranking-table, .bt-ranking__table) tr[hidden] { display: none; }
:is(#bt-terms-h2, #sprawdz-licencje) { scroll-margin-top: 6rem; }
.bt-directory-operator { display: flex; align-items: flex-start; gap: .75rem; }
.bt-directory-operator > div { min-width: 0; }
.bt-directory-licence {
  margin-top: .15rem;
  line-height: 1.35;
}
.bt-directory-licence summary {
  width: fit-content; min-height: 24px; padding-block: .15rem;
  color: var(--bt-muted, #536275); cursor: pointer;
}
.bt-directory-licence summary:focus-visible {
  outline: 2px solid currentColor; outline-offset: 3px; border-radius: .2rem;
}
.bt-directory-licence .bt-op-licence { margin-top: 0; }
.bt-directory-licence .bt-op-licence__no {
  max-width: 24ch; margin-top: .15rem; font-size: .76rem; overflow-wrap: anywhere;
}
/* Operator blocks on the ranking and legal-hub pages (scripts/operator_blocks.py). */
.bt-op-list { display: grid; gap: .75rem; margin: 1rem 0 1.5rem; }
.bt-op-block {
  padding: .9rem 1rem; color: var(--bt-text, #111827); background: var(--bt-surface, #fff);
  border: 1px solid var(--bt-line, #dee4ee); border-radius: var(--radius, .7rem);
}
.bt-op-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.bt-op-block .bt-op-block__head h3 { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.bt-op-block p { margin: .5rem 0 0; max-width: 68ch; line-height: 1.55; }
.bt-op-block p.bt-op-block__score { flex: none; margin: 0; font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.bt-op-block p.bt-op-block__licence { color: var(--bt-muted, #566272); }
.bt-op-block p.bt-op-block__review { font-weight: 650; }
@media (max-resolution: 1dppx) {
  .bt-brand:after, .bt-header .bt-brand:after {
    -webkit-mask-image: url('/wp-content/uploads/bt-svelte/20261127T151409Z-bt535/mirror/wp-content/themes/bukmacher-na-topie/assets/img/brand/bnt-logo-b-320-v2.webp');
    mask-image: url('/wp-content/uploads/bt-svelte/20261127T151409Z-bt535/mirror/wp-content/themes/bukmacher-na-topie/assets/img/brand/bnt-logo-b-320-v2.webp');
  }
}
@media (max-width: 767px) {
  .preview-consent { position: static; padding: 8px 12px; }
}

