/* Block-Blast.gg site styles. Design tokens (--bb-*), fonts and block colours come from theme.css (owned by the game,
   loaded before this file). Mobile first; light theme by default, dark via html[data-theme="dark"] or the system. */

:root { --hdr: 56px; --wrap: 760px; --gap: 16px; --head-bg: #3f58b3; --foot-bg: #1d2245; --foot-ink: #c9cfe6; }
html[data-theme="dark"] { --head-bg: #1c2556; --foot-bg: #0c0f22; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) { --head-bg: #1c2556; --foot-bg: #0c0f22; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; min-height: 100vh; font-family: var(--bb-font); font-size: 17px; line-height: 1.6; color: var(--bb-ink);
  background: var(--bb-bg) var(--bb-bg-image) no-repeat; background-attachment: fixed; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
:is(main, .bb-foot) :is(p, li, td, summary):is(:lang(de), :lang(nl), :lang(pl), :lang(ru), :lang(tr), :lang(id)) { hyphens: auto; }
:lang(ja) body, :lang(zh) body, :lang(ko) body { line-height: 1.75; }
:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }
:lang(th) body { line-height: 1.8; }
a { color: var(--bb-link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
:focus-visible { outline: none; box-shadow: var(--bb-focus); border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.bb-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bb-i { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bb-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--bb-card); color: var(--bb-ink); font-weight: 800; }
.bb-skip:focus { top: 8px; }

/* ---------------------------------------------------------------- header */
.bb-header { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: var(--head-bg); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 4px 18px rgba(14, 22, 60, .18); }
.bb-header__in { display: flex; align-items: center; gap: 8px; height: var(--hdr); max-width: 1240px; margin: 0 auto; padding: 0 8px 0 14px; }
.bb-logo { display: flex; align-items: center; flex: 0 0 auto; color: #fff; text-decoration: none; border-radius: 8px; }
.bb-logo__svg { display: block; height: 32px; width: auto; }
.bb-nav { display: none; align-items: center; gap: 2px; margin-left: 16px; min-width: 0; }
.bb-nav a, .bb-mnav a { color: #fff; text-decoration: none; font-weight: 800; white-space: nowrap; border-radius: 10px; }
.bb-nav a { padding: 7px 12px; font-size: 15.5px; opacity: .92; }
.bb-nav a:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.bb-nav a[aria-current="page"] { background: rgba(255, 255, 255, .18); opacity: 1; }
.bb-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.bb-iconbtn, .bb-lang__btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 40px; min-width: 40px; padding: 0 8px;
  border: 0; border-radius: 12px; background: transparent; color: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.bb-iconbtn:hover, .bb-lang__btn:hover, .bb-lang__btn[aria-expanded="true"], .bb-menu-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.bb-sun { display: none; }
html[data-theme="dark"] .bb-sun { display: block; } html[data-theme="dark"] .bb-moon { display: none; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .bb-sun { display: block; } html:not([data-theme="light"]) .bb-moon { display: none; } }
.bb-chev { width: 16px; height: 16px; transition: transform .15s; }
.bb-lang { position: relative; }
.bb-lang__btn[aria-expanded="true"] .bb-chev { transform: rotate(180deg); }
.bb-lang__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; width: 220px; max-height: min(560px, calc(100vh - var(--hdr) - 20px)); overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: var(--bb-card); color: var(--bb-ink); box-shadow: var(--bb-shadow-lg); border: 1px solid var(--bb-line); }
.bb-lang__menu a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--bb-ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3; }
.bb-lang__menu a:hover, .bb-lang__menu a:focus-visible { background: var(--bb-chip); box-shadow: none; }
.bb-lang__menu a[aria-current="true"] { background: var(--bb-accent-soft); color: var(--bb-link); }
.bb-menu-btn .bb-i:last-child { display: none; }
.bb-menu-btn[aria-expanded="true"] .bb-i:first-child { display: none; } .bb-menu-btn[aria-expanded="true"] .bb-i:last-child { display: block; }
.bb-mnav { position: absolute; left: 0; right: 0; top: var(--hdr); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px 12px 14px; background: var(--head-bg); box-shadow: 0 12px 24px rgba(14, 22, 60, .25); }
.bb-mnav[hidden] { display: none; }
.bb-mnav a { padding: 10px 12px; background: rgba(255, 255, 255, .08); }
.bb-mnav a[aria-current="page"] { background: rgba(255, 255, 255, .2); }
@media (min-width: 900px) {
  .bb-nav { display: flex; }
  .bb-menu-btn { display: none; }
  .bb-mnav { display: none !important; }
  .bb-header__in { padding: 0 16px 0 20px; }
}
@media (max-width: 359px) { .bb-logo__svg { height: 28px; } .bb-lang__code { display: none; } }

/* ---------------------------------------------------------------- game stage */
.bb-play { position: relative; background: var(--bb-world); color: var(--bb-world-ink); }
/* bb.css sizes #bb-game from --bb-game-h (clamped 420–920 px); svh keeps board and tray above the phone's browser bars */
:root { --bb-header-h: var(--hdr); }
.bb-play__box { width: 100%; max-width: 560px; margin: 0 auto; --bb-game-h: calc(100vh - var(--hdr)); }
@supports (height: 100svh) { .bb-play__box { --bb-game-h: calc(100svh - var(--hdr)); } }
.bb-game { position: relative; width: 100%; height: var(--bb-game-h); min-height: 420px; max-height: 920px; }
.bb-boot { container-type: size; display: grid; grid-template-rows: 52px 1fr 112px; justify-items: center; align-items: center; height: 100%; padding: 6px 8px 10px; }
.bb-boot__bar { display: flex; gap: 10px; justify-self: stretch; justify-content: flex-end; padding: 0 4px; }
.bb-boot__bar i { width: 38px; height: 38px; border-radius: 50%; background: var(--bb-wbtn); }
.bb-boot__bar i:first-child { width: 86px; border-radius: 12px; margin-right: auto; }
.bb-boot__board { display: flex; align-items: center; justify-content: center; width: min(92vw, 60vh); width: min(100cqw - 8px, 100cqh - 180px); aspect-ratio: 1; padding: 6px;
  border-radius: 16px; background-color: var(--bb-board); box-shadow: inset 0 0 0 6px var(--bb-board), 0 14px 34px rgba(10, 18, 50, .35);
  background-image: linear-gradient(90deg, transparent calc(100% - 3px), var(--bb-board) 0), linear-gradient(transparent calc(100% - 3px), var(--bb-board) 0), linear-gradient(var(--bb-cell), var(--bb-cell));
  background-size: 12.5% 12.5%, 12.5% 12.5%, 100% 100%; background-origin: content-box; background-clip: content-box, content-box, content-box; }
.bb-boot__board span { padding: 6px 14px; border-radius: 999px; background: rgba(14, 18, 44, .7); color: var(--bb-world-soft); font-weight: 800; font-size: 14px; }
.bb-boot__tray { display: flex; gap: 12%; justify-content: center; width: 100%; }
.bb-boot__tray i { width: 52px; height: 52px; border-radius: 12px; background: var(--bb-wbtn); }
.bb-noscript { position: absolute; inset: auto 12px 16px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--bb-card); color: var(--bb-ink); font-weight: 700; text-align: center; }

.bb-hero { padding: 0; }
.bb-play .bb-hero { max-width: 560px; margin: 0 auto; padding: 18px 16px 4px; text-align: center; }
.bb-play .bb-hero h1 { font-size: clamp(1.45rem, 5.2vw, 2rem); font-weight: 900; color: #fff; }
.bb-play .bb-intro { margin: 8px 0 0; color: var(--bb-world-soft); font-size: 1rem; line-height: 1.5; }
/* home subtitle: an h2 for structure, styled as a readable paragraph */
.bb-subtitle { margin: 10px 0 0; font-size: 1rem; font-weight: 500; line-height: 1.6; letter-spacing: 0; text-align: left; color: var(--bb-soft); }
.bb-play .bb-subtitle { color: var(--bb-world-soft); }
.bb-points { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; text-align: left; font-weight: 700; line-height: 1.4; }
.bb-points li { display: flex; gap: 8px; align-items: flex-start; }
.bb-points .bb-i { width: 20px; height: 20px; margin-top: 1px; stroke: #5ad08a; stroke-width: 3; }
.bb-play .bb-points { color: #fff; }
@media (min-width: 640px) { .bb-points { grid-template-columns: 1fr 1fr; gap: 10px 18px; } }
/* star rating */
.bb-rate { width: calc(100% - 32px); max-width: 360px; margin: 14px auto 0; padding: 14px 16px; border-radius: 16px; text-align: center; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--bb-wbtn-border); }
.bb-rate__t { margin: 0; font-weight: 900; font-size: 1.05rem; color: #fff; }
.bb-rate__s { margin: 4px 0 8px; font-size: 14px; line-height: 1.4; color: var(--bb-world-soft); }
.bb-rate__stars { position: relative; display: inline-flex; vertical-align: top; }
.bb-rate__b { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.bb-rate__b svg, .bb-rate__fill svg { width: 32px; height: 32px; fill: rgba(255, 255, 255, .2); }
.bb-rate__b:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.bb-rate__b:disabled { cursor: default; }
.bb-rate__fill { position: absolute; top: 0; left: 0; display: flex; width: calc(var(--show, var(--avg)) * 20%); height: 42px; overflow: hidden; pointer-events: none; }
.bb-rate__fill svg { flex: 0 0 42px; padding: 5px; box-sizing: border-box; width: 42px; height: 42px; fill: #ffc93c; }
.bb-rate__sum { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--bb-world-soft); }
.bb-rate__n { display: block; font-size: 13px; font-weight: 600; }
.bb-rate__msg { min-height: 0; margin: 4px 0 0; font-size: 14px; font-weight: 800; color: #fff; }
.bb-rate__msg:empty { display: none; }
.bb-rate__msg.is-err { color: #ffb4b4; }
.bb-share { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; max-width: 560px; margin: 0 auto; padding: 12px 12px 18px; }
.bb-share__t { margin: 0; font-weight: 800; font-size: 14px; color: var(--bb-world-soft); }
.bb-share__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bb-sbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--bb-wbtn); color: #fff; box-shadow: inset 0 0 0 1px var(--bb-wbtn-border); transition: background .15s, transform .15s; }
.bb-sbtn svg { width: 19px; height: 19px; fill: currentColor; }
.bb-sbtn .bb-i { fill: none; width: 20px; height: 20px; }
.bb-sbtn:hover { transform: translateY(-1px); }
.bb-sbtn--facebook:hover { background: #0866ff; } .bb-sbtn--x:hover { background: #000; } .bb-sbtn--whatsapp:hover { background: #25d366; }
.bb-sbtn--telegram:hover { background: #26a5e4; } .bb-sbtn--reddit:hover { background: #ff4500; } .bb-sbtn--copy:hover { background: var(--bb-wbtn-hover); }
.bb-copied { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: var(--bb-tooltip); color: var(--bb-tooltip-ink); font-weight: 800; font-size: 15px; box-shadow: var(--bb-shadow); }

/* side columns (rating + ad 104 left, share + ad 105 right) exist from 1100 px; below they are not boxes at all */
.bb-side { display: contents; }
.bb-side > [id^="ezoic-pub-ad-placeholder-"] { display: none; }
@media (min-width: 1100px) {
  .bb-play { display: grid; grid-template-columns: minmax(0, 1fr) 560px minmax(0, 1fr); column-gap: 40px; align-items: center; padding: 0 28px; }
  /* a tall side ad makes the row taller: the game stays at the top instead of moving down */
  .bb-play__box { grid-column: 2; grid-row: 1; align-self: start; }
  /* beside the game: rating (left) and share (right); the hero text runs under the game across the page */
  .bb-side { grid-row: 1; display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 330px; min-width: 0; }
  .bb-side--l { grid-column: 1; justify-self: end; align-items: stretch; }
  .bb-side--r { grid-column: 3; justify-self: start; align-items: flex-start; }
  .bb-side > [id^="ezoic-pub-ad-placeholder-"] { display: block; width: 100%; margin: 0; }
  .bb-side > [id^="ezoic-pub-ad-placeholder-"]:not(:empty) { margin: 0; }
  .bb-rate { width: 100%; max-width: 330px; margin: 0; }
  .bb-play .bb-hero { grid-column: 1 / -1; grid-row: 2; justify-self: center; max-width: 820px; padding: 26px 0 30px; }
  .bb-play .bb-hero h1 { font-size: 2.1rem; }
  .bb-play .bb-subtitle { font-size: 1.05rem; }
  .bb-play .bb-intro { margin-top: 12px; font-size: 1.05rem; }
  .bb-share { flex-direction: column; align-items: flex-start; margin: 0; padding: 0; }
  .bb-share__btns { flex-direction: column; }
}

/* ---------------------------------------------------------------- ads (Ezoic placeholders: no reserved height) */
[id^="ezoic-pub-ad-placeholder-"] { display: block; max-width: 100%; margin: 0 auto; overflow: hidden; text-align: center; }
[id^="ezoic-pub-ad-placeholder-"]:not(:empty) { margin: 24px auto; }
html.bb-fs-lock [id^="ezoic-pub-ad-placeholder-"], html.bb-fs [id^="ezoic-pub-ad-placeholder-"],
body:has(.bb-game:fullscreen) [id^="ezoic-pub-ad-placeholder-"], body:has(.bb-game.bb-game--fs) [id^="ezoic-pub-ad-placeholder-"] { display: none !important; }

/* ---------------------------------------------------------------- content */
.bb-main { display: block; }
.bb-content { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gap) 40px; }
.bb-content > .bb-hero { padding: 22px 0 10px; }
.bb-content > .bb-hero h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 900; }
.bb-content > .bb-hero .bb-intro { margin: 12px 0 0; font-size: 1.12rem; color: var(--bb-soft); }
.bb-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; color: var(--bb-soft); }
.bb-crumbs li + li::before { content: "›"; margin-right: 4px; opacity: .7; }
.bb-crumbs a { color: var(--bb-soft); }
.bb-sec { margin: 34px 0; }
.bb-sec h2 { margin: 0 0 14px; font-size: clamp(1.35rem, 4.6vw, 1.7rem); font-weight: 900; }
.bb-sec h3 { margin: 22px 0 8px; font-size: 1.15rem; font-weight: 800; }
.bb-sec p { margin: 0 0 14px; }
.bb-sec ul, .bb-sec ol { margin: 0 0 16px; padding-left: 1.4em; }
.bb-sec li { margin: 4px 0; }
.bb-sec li > p { margin: 0 0 6px; }
.bb-sec strong { font-weight: 800; }
kbd { display: inline-block; min-width: 1.8em; padding: 1px 7px; border-radius: 7px; border: 1px solid var(--bb-line); border-bottom-width: 3px; background: var(--bb-card);
  font: 800 .85em/1.5 var(--bb-font); text-align: center; color: var(--bb-ink); }
.note { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--bb-radius); background: var(--bb-accent-soft); border-left: 4px solid var(--bb-accent); }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }

ol.bb-steps { counter-reset: s; display: grid; gap: 12px; padding: 0; list-style: none; }
ol.bb-steps > li { counter-increment: s; position: relative; margin: 0; padding: 16px 16px 14px 62px; border-radius: var(--bb-radius); background: var(--bb-card); box-shadow: var(--bb-shadow); }
ol.bb-steps > li::before { content: counter(s); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 34px; height: 34px; box-sizing: border-box;
  border: 5px solid; border-color: var(--bb-k6-t) var(--bb-k6-r) var(--bb-k6-b) var(--bb-k6-l); border-radius: 6px; background: var(--bb-k6); color: #fff; font-weight: 900; font-size: 15px; line-height: 1; }
ol.bb-steps > li:nth-child(3n+2)::before { border-color: var(--bb-k2-t) var(--bb-k2-r) var(--bb-k2-b) var(--bb-k2-l); background: var(--bb-k2); }
ol.bb-steps > li:nth-child(3n)::before { border-color: var(--bb-k8-t) var(--bb-k8-r) var(--bb-k8-b) var(--bb-k8-l); background: var(--bb-k8); }
ol.bb-steps h3 { margin: 4px 0 6px; }
ol.bb-steps p:last-child { margin: 0; }
ul.bb-cards { display: grid; gap: 12px; padding: 0; list-style: none; }
ul.bb-cards > li { margin: 0; padding: 16px 18px; border-radius: var(--bb-radius); background: var(--bb-card); box-shadow: var(--bb-shadow); }
ul.bb-cards h3 { margin: 0 0 6px; }
ul.bb-cards p:last-child { margin: 0; }
ul.bb-tips { counter-reset: t; padding: 0; list-style: none; }
ul.bb-tips > li { counter-increment: t; position: relative; margin: 0 0 10px; padding: 12px 14px 12px 52px; border-radius: 14px; background: var(--bb-card); box-shadow: var(--bb-shadow); }
ul.bb-tips > li::before { content: counter(t); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 8px; background: var(--bb-accent-soft); color: var(--bb-link); font-weight: 900; text-align: center; line-height: 28px; font-size: 14px; }
@media (min-width: 640px) {
  ol.bb-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  ol.bb-steps > li { padding: 58px 16px 16px; }
  ol.bb-steps > li::before { left: 16px; top: 14px; }
  ul.bb-cards { grid-template-columns: 1fr 1fr; }
}
.bb-table { margin: 0 0 18px; overflow-x: auto; border-radius: var(--bb-radius); background: var(--bb-card); box-shadow: var(--bb-shadow); }
.bb-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.bb-table th, .bb-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--bb-line); vertical-align: top; }
.bb-table thead th { background: var(--bb-chip); font-weight: 800; white-space: nowrap; }
.bb-table tr:last-child td { border-bottom: 0; }
.bb-faqs { display: grid; gap: 10px; margin: 0 0 16px; }
details.bb-faq { border-radius: 14px; background: var(--bb-card); box-shadow: var(--bb-shadow); }
details.bb-faq summary { position: relative; padding: 14px 46px 14px 16px; list-style: none; cursor: pointer; font-weight: 800; line-height: 1.4; border-radius: 14px; }
details.bb-faq summary::-webkit-details-marker { display: none; }
details.bb-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--bb-soft); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .15s; }
details.bb-faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.bb-faq > :not(summary) { margin: 0 16px 14px; }

/* ---------------------------------------------------------------- mini boards (static, built from div.bb-mini) */
.bb-fig { width: min(100%, 320px); margin: 6px auto 22px; padding: 12px; border-radius: 20px; background: var(--bb-world); box-shadow: var(--bb-shadow); }
.bb-mini { container-type: inline-size; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 2.5px; padding: 6px; border-radius: 12px; background: var(--bb-board); }
.bb-mini i, .bb-pc i { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--bb-cell); }
.bb-mini i.b, .bb-pc i.b { border: 3px solid; border-width: calc(100cqw / var(--cols) * .13); border-color: var(--t) var(--r) var(--b) var(--l); background: var(--f); border-radius: 3px; }
.bb-mini i.g { opacity: var(--bb-ghost-alpha); }
.bb-mini i.t { background: var(--bb-cell); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75); }
.bb-mini i.m { position: relative; box-shadow: 0 0 0 1.5px #fff6b8, 0 0 9px 1px rgba(255, 228, 120, .8); z-index: 1; }
.bb-mini i.f { background: #fffbe8; border-color: #fff #f3e7b8 #eadca2 #fff; box-shadow: 0 0 10px 2px rgba(255, 240, 170, .9); }
.bb-fig__tray { display: flex; align-items: center; justify-content: space-around; gap: 10px; min-height: 58px; padding: 10px 4px 2px; }
.bb-pc { display: grid; grid-template-columns: repeat(var(--w), 15px); gap: 2px; container-type: normal; }
.bb-pc i { background: transparent; }
.bb-pc i.b { border-width: 3px; }
.bb-fig figcaption { margin: 10px 2px 0; color: var(--bb-world-ink); font-size: 14.5px; font-weight: 700; line-height: 1.4; text-align: center; }

/* ---------------------------------------------------------------- related, promo, CTA */
.bb-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--bb-accent-grad); color: var(--bb-on-accent); font-weight: 900; text-decoration: none; box-shadow: 0 6px 18px var(--bb-accent-glow); }
.bb-cta .bb-i { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.bb-cta:hover { filter: brightness(1.06); }
.bb-related { margin: 36px 0 0; padding: 20px; border-radius: var(--bb-radius-lg); background: var(--bb-card); box-shadow: var(--bb-shadow); }
.bb-related h2 { margin: 0 0 12px; font-size: 1.3rem; font-weight: 900; }
.bb-related ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.bb-related ul a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--bb-chip); color: var(--bb-ink); font-weight: 800; text-decoration: none; }
.bb-related ul a:hover { background: var(--bb-chip-hover); }
.bb-related ul .bb-i { width: 16px; height: 16px; color: var(--bb-soft); }
.bb-related p { margin: 0; }
.bb-promo { max-width: 1000px; margin: 0 auto; padding: 8px var(--gap) 44px; }
.bb-promo h2 { margin: 0 0 16px; font-size: clamp(1.35rem, 4.6vw, 1.7rem); font-weight: 900; text-align: center; }
.bb-promo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bb-pcard { display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px 12px; border-radius: 16px; background: var(--bb-card); color: var(--bb-ink); text-decoration: none; box-shadow: var(--bb-shadow); transition: transform .15s; }
.bb-pcard:hover { transform: translateY(-2px); }
.bb-pcard img { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; }
.bb-pcard__b { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.bb-pcard__t { font-weight: 900; }
.bb-pcard__s { color: var(--bb-soft); font-size: 14px; }
.bb-promo__more { margin: 16px 0 0; text-align: center; font-weight: 800; }
.bb-promo__more a { display: inline-flex; align-items: center; gap: 6px; }
.bb-promo__more .bb-i { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- contact + legal */
.bb-formcard { margin: 18px 0 0; padding: 22px; border-radius: var(--bb-radius-lg); background: var(--bb-card); box-shadow: var(--bb-shadow); }
[data-feedback-form] .fb-row { display: flex; flex-wrap: wrap; gap: 0 14px; }
[data-feedback-form] .fb-row > div { flex: 1 1 220px; }
[data-feedback-form] .fb-field { margin-bottom: 16px; }
[data-feedback-form] label { display: block; margin: 0 0 6px; font-weight: 800; font-size: 15px; }
[data-feedback-form] .fb-note { font-weight: 600; color: var(--bb-soft); }
[data-feedback-form] input, [data-feedback-form] textarea { width: 100%; padding: 11px 13px; font: inherit; font-size: 16px; color: var(--bb-ink); background: var(--bb-bg);
  border: 1px solid var(--bb-line); border-radius: 12px; outline: 0; }
[data-feedback-form] input:focus, [data-feedback-form] textarea:focus { border-color: var(--bb-accent); box-shadow: var(--bb-focus); }
[data-feedback-form] textarea { min-height: 150px; resize: vertical; }
[data-feedback-form] input[type="file"] { padding: 9px; background: transparent; }
[data-feedback-form] [data-feedback-captcha] { margin: 4px 0 16px; }
[data-feedback-form] altcha-widget { --altcha-max-width: 100%; }
[data-feedback-form] button { appearance: none; width: 100%; padding: 13px 18px; border: 0; border-radius: 999px; background: var(--bb-accent-grad); color: var(--bb-on-accent);
  font: inherit; font-weight: 900; font-size: 16px; cursor: pointer; box-shadow: 0 6px 18px var(--bb-accent-glow); }
[data-feedback-form] button:disabled { opacity: .6; cursor: default; }
[data-feedback-status] { margin: 14px 0 0; font-size: 15px; text-align: center; }
[data-feedback-form][data-state=error] [data-feedback-status] { color: var(--bb-danger); }
[data-feedback-form][data-state=sent] [data-feedback-status] { color: var(--bb-ok); }
.bb-legal .bb-sec h2 { font-size: 1.3rem; }
#ezoic-privacy-policy-embed { display: block; }

/* ---------------------------------------------------------------- 404 */
.bb-404 { max-width: 560px; margin: 0 auto; padding: 36px var(--gap) 56px; text-align: center; }
.bb-404 .bb-fig { width: 220px; }
.bb-404 h1 { margin: 6px 0 10px; font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 900; }
.bb-404 p { color: var(--bb-soft); }
.bb-404 .bb-404__oops { margin: 10px 0 0; font-size: 1.25rem; font-weight: 900; color: var(--bb-ink); }
.bb-404__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bb-404__more a { display: block; padding: 8px 14px; border-radius: 999px; background: var(--bb-card); box-shadow: var(--bb-shadow); font-weight: 800; text-decoration: none; }

/* ---------------------------------------------------------------- footer */
.bb-foot { margin-top: 20px; padding: 34px var(--gap) 26px; background: var(--foot-bg); color: var(--foot-ink); font-size: 15px; }
.bb-foot a { color: #fff; text-decoration: none; }
.bb-foot a:hover { text-decoration: underline; }
.bb-foot__in { display: grid; gap: 24px; max-width: 1100px; margin: 0 auto; grid-template-columns: 1fr 1fr; }
.bb-foot__brand { grid-column: 1 / -1; }
.bb-foot__brand p { max-width: 380px; margin: 10px 0 0; }
.bb-logo--foot { display: inline-flex; }
.bb-foot h2 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #8f98c2; }
.bb-foot ul { margin: 0; padding: 0; list-style: none; }
.bb-foot li { margin: 6px 0; }
.bb-foot__en { color: #8f98c2; font-size: 13px; }
.bb-foot__langs { display: flex; flex-wrap: wrap; gap: 6px 14px; max-width: 1100px; margin: 26px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.bb-foot__langs a { font-size: 14px; color: var(--foot-ink); }
.bb-foot__langs a[aria-current="true"] { color: #fff; font-weight: 800; }
.bb-foot__bottom { max-width: 1100px; margin: 18px auto 0; font-size: 13.5px; color: #8f98c2; }
.bb-foot__bottom p { margin: 4px 0; }
@media (min-width: 760px) {
  .bb-foot__in { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .bb-foot__brand { grid-column: auto; }
}

/* ---------------------------------------------------------------- print + motion */
@media print {
  .bb-header, .bb-foot, .bb-share, .bb-play, .bb-promo, .bb-related, [id^="ezoic-pub-ad-placeholder-"] { display: none !important; }
  body { background: #fff; color: #000; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
