@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/inter-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/inter-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
	--navy: #17263d;
	--navy-2: #22344f;
	--ground: #f3f5f7;
	--panel: #fff;
	--soft: #eceff3;
	--soft-2: #e2e6ec;
	--text: #1b2533;
	--mute: #5e6a78;
	--dim: #8a94a1;
	--red: #d42a28;
	--red-2: #b81f1d;
	--blue: #164a88;
	--green: #4f9b3a;
	--line: #e3e7ec;
	--wrap: 1600px;
	--gut: 24px;
	--r: 16px;
	--head: 64px;
	--shadow: 0 1px 2px rgba(23, 38, 61, .04), 0 6px 24px rgba(23, 38, 61, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 15px/1.55 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.fb-ic { flex: none; }

.fb-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.fb-skip:focus { left: 8px; }
.fb-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.fb-narrow { max-width: 980px; }
.fb-first { padding-top: 24px; }

/* ---------- buttons ---------- */
.fb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap; transition: background .2s, transform .15s, box-shadow .2s, border-color .2s; }
.fb-btn:active { transform: translateY(1px); }
.fb-btn--red { background: var(--red); color: #fff; }
.fb-btn--red:hover { background: var(--red-2); box-shadow: 0 6px 18px rgba(212, 42, 40, .3); }
.fb-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.fb-btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.fb-btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.fb-btn--glass:hover { background: rgba(255, 255, 255, .24); }
.fb-btn--line { border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.fb-btn--line:hover { border-color: var(--red); color: var(--red); }
.fb-btn--lg { min-height: 50px; padding: 12px 26px; font-size: 16px; }
.fb-btn--block { display: flex; width: 100%; }

/* ---------- header ---------- */
.fb-head { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; }
.fb-head__bar { display: flex; align-items: center; gap: 28px; height: var(--head); }
.fb-head__burger { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; }
.fb-logo { display: inline-flex; flex: none; }
.fb-logo__img { width: 118px; height: auto; }
.fb-head__nav ul { display: flex; gap: 4px; }
.fb-head__nav a { display: block; padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .85); transition: background .2s, color .2s; }
.fb-head__nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.fb-head__live { display: inline-flex !important; align-items: center; gap: 7px; }
.fb-head__live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(212, 42, 40, .3); animation: fb-blink 1.4s infinite; }
@keyframes fb-blink { 50% { opacity: .35; } }
.fb-head__user { margin-left: auto; display: flex; gap: 10px; }

/* ---------- drawer ---------- */
.fb-side { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.fb-side.is-open { visibility: visible; }
.fb-side__scrim { position: absolute; inset: 0; background: rgba(23, 38, 61, .55); opacity: 0; transition: opacity .25s; }
.fb-side.is-open .fb-side__scrim { opacity: 1; }
.fb-side__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(330px, 88vw); background: var(--panel); padding: 16px; overflow-y: auto; transform: translateX(-100%); transition: transform .28s ease; display: flex; flex-direction: column; gap: 12px; }
.fb-side.is-open .fb-side__panel { transform: none; }
.fb-side__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; margin: -16px -16px 0; background: var(--navy); }
.fb-side__close { width: 40px; height: 40px; border-radius: 10px; color: #fff; display: grid; place-items: center; }
.fb-side__group ul { display: grid; gap: 2px; }
.fb-side__group a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; font-weight: 600; }
.fb-side__group a:hover { background: var(--soft); }
.fb-side__ic { width: 34px; height: 34px; border-radius: 9px; background: var(--soft); display: grid; place-items: center; color: var(--red); }
.fb-side__group--info { border-top: 1px solid var(--line); padding-top: 8px; }
.fb-side__group--info a { color: var(--mute); font-weight: 500; }
.fb-side__btns { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- hero ---------- */
.fb-hero { background: radial-gradient(90% 140% at 100% 40%, #e3342f 0%, #b81f1d 38%, #3a1520 72%, #1c1d24 100%); color: #fff; overflow: hidden; }
.fb-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 420px; }
.fb-hero__txt { position: relative; z-index: 2; padding: 44px 0; }
.fb-hero__kick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 600; }
.fb-hero__kick i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: fb-blink 1.4s infinite; }
.fb-hero__title { display: block; margin: 16px 0 12px; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.fb-hero__lead { display: block; max-width: 540px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.fb-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fb-hero__chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.fb-hero__chips li { display: inline-flex; align-items: center; gap: 7px; }
.fb-hero__art { justify-self: end; width: 100%; max-width: 720px; height: 420px; object-fit: cover; object-position: 75% 50%; mask-image: linear-gradient(90deg, transparent 0%, #000 28%); }

/* ---------- page grid ---------- */
.fb-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-top: 24px; }
.fb-col { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.fb-panel, .fb-card { min-width: 0; }
.fb-aside { position: sticky; top: calc(var(--head) + 16px); }
.fb-aside__in { display: grid; gap: 16px; }

/* ---------- panels ---------- */
.fb-panel { background: var(--panel); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.fb-panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.fb-panel__title { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.fb-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--blue); }
.fb-more:hover { color: var(--red); }
.fb-livepill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.fb-livepill i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: fb-blink 1.4s infinite; }
.fb-scroll-nav { margin-left: auto; display: flex; gap: 6px; }
.fb-scroll-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--mute); transition: border-color .2s, color .2s; }
.fb-scroll-nav button:hover { border-color: var(--red); color: var(--red); }

/* ---------- leagues ---------- */
.fb-leagues { display: grid; grid-auto-flow: column; grid-auto-columns: 228px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.fb-leagues::-webkit-scrollbar { display: none; }
.fb-leagues li { scroll-snap-align: start; }
.fb-league { position: relative; display: block; height: 110px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #8a8d95 0%, #5d6068 100%); color: #fff; transition: transform .2s, box-shadow .2s; }
.fb-league--live { background: linear-gradient(135deg, #e5463f 0%, #b81f1d 100%); }
.fb-league:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(23, 38, 61, .18); }
.fb-league__txt { position: relative; z-index: 2; display: block; padding: 12px 14px; }
.fb-league__txt b { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.fb-league__txt span { display: block; font-size: 12px; opacity: .85; }
.fb-league img { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: 70%; object-fit: contain; object-position: right bottom; }

/* ---------- filter + events ---------- */
.fb-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.fb-filter::-webkit-scrollbar { display: none; }
.fb-filter__b { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 84px; padding: 6px 10px 10px; font-size: 13px; font-weight: 500; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.fb-filter__b:hover { color: var(--text); }
.fb-filter__b[aria-pressed="true"] { color: var(--blue); border-color: var(--blue); font-weight: 700; }
.fb-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.fb-ev { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 12px; background: var(--soft); transition: background .2s; }
.fb-ev:hover { background: var(--soft-2); }
.fb-ev[hidden] { display: none; }
.fb-ev.is-in { animation: fb-in .3s ease; }
@keyframes fb-in { from { opacity: 0; transform: translateY(6px); } }
.fb-ev__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fb-tag { flex: none; padding: 2px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; color: #fff; background: var(--green); }
.fb-tag--hockey { background: #6d7b8c; }
.fb-tag--tennis { background: #c4a22a; }
.fb-tag--basket { background: #e07a2e; }
.fb-tag--cyber { background: #7b4fd6; }
.fb-ev__league { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-ev__mid { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: 1; }
.fb-ev__teams { display: grid; gap: 4px; min-width: 0; }
.fb-ev__teams b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-ev__time { display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: 12px; color: var(--mute); }
.fb-ev__score { display: grid; justify-items: end; gap: 2px; flex: none; }
.fb-ev__score b { font-size: 18px; font-weight: 800; color: var(--red); }
.fb-ev__live { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--red); }
.fb-ev__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: fb-blink 1.2s infinite; }
.fb-ev__odds { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.fb-odd { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 10px; border-radius: 8px; background: var(--panel); font-size: 13px; border: 1px solid transparent; transition: border-color .15s, background .15s, color .15s; }
.fb-odd span { color: var(--dim); font-weight: 500; }
.fb-odd b { font-weight: 700; }
.fb-odd:hover { border-color: var(--red); }
.fb-odd[aria-pressed="true"] { background: var(--red); color: #fff; }
.fb-odd[aria-pressed="true"] span { color: rgba(255, 255, 255, .8); }

/* ---------- promos ---------- */
.fb-promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fb-promo { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 890 / 320; color: #fff; background: #222; }
.fb-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .4s ease; }
.fb-promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 18, 26, .92) 0%, rgba(15, 18, 26, .6) 45%, transparent 75%); }
.fb-promo:hover img { transform: scale(1.04); }
.fb-promo__txt { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; max-width: 62%; padding: 18px 22px; }
.fb-promo__txt small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ff6b68; }
.fb-promo__txt b { margin: 4px 0 6px; font-size: 24px; line-height: 1.15; font-weight: 800; }
.fb-promo__txt span { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.fb-promo__txt em { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-style: normal; font-size: 13px; font-weight: 700; }

/* ---------- games ---------- */
.fb-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fb-game { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 560 / 371; color: #fff; background: #1d1640; }
.fb-game img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fb-game::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16, 10, 40, .85) 100%); }
.fb-game:hover img { transform: scale(1.06); }
.fb-game__new { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 3px 9px; border-radius: 6px; background: var(--red); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.fb-game__txt { position: absolute; left: 14px; bottom: 12px; right: 80px; z-index: 2; }
.fb-game__txt b { display: block; font-size: 18px; font-weight: 800; }
.fb-game__txt span { display: block; font-size: 12px; opacity: .85; }
.fb-game__play { position: absolute; right: 12px; bottom: 14px; z-index: 2; padding: 7px 14px; border-radius: 8px; background: var(--red); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.fb-game:hover .fb-game__play, .fb-game:focus-visible .fb-game__play { opacity: 1; transform: none; }

/* ---------- aside ---------- */
.fb-coupon, .fb-box { background: var(--panel); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.fb-coupon__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.fb-coupon__head > span { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; }
.fb-coupon__head .fb-ic { color: var(--red); }
.fb-coupon__count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--soft); font-size: 13px; }
.fb-coupon.has-items .fb-coupon__count { background: var(--red); color: #fff; }
.fb-coupon__empty { margin: 0 0 14px; padding: 16px; border-radius: 12px; border: 1px dashed var(--soft-2); font-size: 13px; color: var(--mute); text-align: center; }
.fb-coupon__list { display: grid; gap: 8px; margin-bottom: 12px; }
.fb-coupon__list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 13px; animation: fb-in .25s ease; }
.fb-coupon__list small { display: block; color: var(--mute); }
.fb-coupon__list b { font-weight: 800; }
.fb-coupon__list button { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: var(--dim); }
.fb-coupon__list button:hover { color: var(--red); background: var(--panel); }
.fb-coupon__sum { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 14px; }
.fb-coupon__sum b { font-size: 20px; font-weight: 800; color: var(--red); }
.fb-coupon__stake { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; margin-bottom: 12px; font-size: 13px; color: var(--mute); }
.fb-coupon__stake input { width: 100%; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--soft); font-weight: 700; color: var(--text); }
.fb-coupon__stake input:focus { outline: none; border-color: var(--red); background: #fff; }
.fb-coupon__stake > span { grid-column: 1 / -1; }
.fb-coupon__stake b { color: var(--green); }
.fb-coupon__clear { display: inline-flex; align-items: center; gap: 6px; margin: 10px auto 0; font-size: 13px; color: var(--mute); width: 100%; justify-content: center; }
.fb-coupon__clear:hover { color: var(--red); }
.fb-box__h { display: block; margin-bottom: 12px; font-size: 18px; font-weight: 800; }
.fb-steps { display: grid; gap: 10px; margin-bottom: 14px; }
.fb-steps li { display: flex; gap: 12px; align-items: flex-start; }
.fb-steps__ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(212, 42, 40, .1); color: var(--red); }
.fb-steps b { display: block; font-size: 14px; }
.fb-steps small { display: block; font-size: 13px; color: var(--mute); line-height: 1.4; }
.fb-app { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--navy); color: #fff; transition: background .2s; }
.fb-app:hover { background: var(--navy-2); }
.fb-app__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red); }
.fb-app__txt { flex: 1; }
.fb-app__txt b { display: block; font-size: 15px; }
.fb-app__txt span { display: block; font-size: 12px; opacity: .75; }

/* ---------- CMS copy ---------- */
.fb-copy { padding: 30px 34px; font-size: 16px; line-height: 1.7; color: #2c3644; }
.fb-copy > :first-child { margin-top: 0; }
.fb-copy > :last-child { margin-bottom: 0; }
.fb-copy h1 { margin: 0 0 16px; font-size: 32px; line-height: 1.2; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.fb-copy h2 { margin: 32px 0 12px; font-size: 23px; line-height: 1.25; font-weight: 800; color: var(--text); }
.fb-copy h3 { margin: 24px 0 10px; font-size: 19px; font-weight: 700; color: var(--text); }
.fb-copy p { margin: 0 0 14px; }
.fb-copy a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.fb-copy a:hover { color: var(--red); }
.fb-copy ul, .fb-copy ol { margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.fb-copy ul li { position: relative; padding-left: 24px; }
.fb-copy ul li::before { content: ''; position: absolute; left: 4px; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.fb-copy ol { counter-reset: n; }
.fb-copy ol li { position: relative; padding-left: 38px; counter-increment: n; }
.fb-copy ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; }
.fb-copy img { border-radius: 12px; margin: 18px auto; }
.fb-copy figure { margin: 18px 0; }
.fb-copy blockquote { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; background: var(--soft); }
.fb-copy table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
/* site-local rafinat.com.ua: table wrapper, TOC, examples, figures (master template lacks them) */
.fb-copy .fb-tbl { margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fb-copy .fb-tbl table { display: table; width: 100%; margin: 0; border: 0; border-radius: 0; }
.fb-copy .fb-tbl table:has(th:nth-child(3)) { min-width: 440px; }
.fb-copy .fb-tbl table:has(th:nth-child(4)) { min-width: 520px; }
.fb-copy .fb-tbl td:first-child { font-weight: 600; color: var(--text); }
.fb-copy .fb-tbl + p { font-size: 14px; color: var(--mute); }
.fb-copy .fb-toc { margin: 4px 0 24px; padding: 18px 22px; background: var(--ground); border: 1px solid var(--line); border-radius: 14px; }
.fb-copy .fb-toc__h { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.fb-copy .fb-toc ol { display: block; columns: 2; column-gap: 28px; margin: 0; }
.fb-copy .fb-toc li { break-inside: avoid; margin: 0 0 7px; padding-left: 32px; line-height: 1.45; }
.fb-copy .fb-toc li::before { width: 22px; height: 22px; border-radius: 6px; font-size: 12px; top: 0; background: var(--red); }
.fb-copy .fb-toc a { text-decoration: none; color: var(--text); }
.fb-copy .fb-toc a:hover { color: var(--red); }
.fb-copy .fb-calc { margin: 16px 0; padding: 13px 18px; background: #fff7f6; border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; }
.fb-copy .fb-calc b { color: var(--red); }
.fb-copy .fb-fig { margin: 22px 0; }
.fb-copy .fb-fig img { display: block; width: 100%; max-width: 812px; height: auto; margin: 0; border-radius: 14px; }
.fb-copy th, .fb-copy td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.fb-copy thead th { background: var(--navy); color: #fff; font-weight: 700; }
.fb-copy tbody tr:nth-child(even) td { background: var(--ground); }
.fb-copy tr:last-child td { border-bottom: 0; }

/* ---------- review card / landing ---------- */
.fb-card { padding: 24px; border-radius: var(--r); background: linear-gradient(135deg, var(--navy) 0%, #3a1a24 100%); color: #fff; box-shadow: var(--shadow); }
.fb-card__brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.fb-logo--lg .fb-logo__img { width: 180px; }
.fb-card__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.fb-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.fb-card__facts div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.fb-card__facts dt { font-size: 12px; opacity: .7; }
.fb-card__facts dd { margin: 2px 0 0; font-weight: 700; }
.fb-landsteps { display: flex; align-items: center; gap: 24px; margin: 24px 0; }
.fb-landsteps .fb-steps { flex: 1; grid-template-columns: repeat(3, 1fr); margin: 0; }
.fb-narrow > .fb-panel + .fb-panel { margin-top: 24px; }

/* ---------- footer ---------- */
.fb-foot { margin-top: 40px; background: var(--navy); color: rgba(255, 255, 255, .7); font-size: 14px; padding: 44px 0 26px; }
.fb-foot__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.fb-foot__brand p { margin: 14px 0 16px; max-width: 380px; line-height: 1.6; }
.fb-foot__brand .fb-btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.fb-foot__brand .fb-btn--line:hover { border-color: #fff; color: #fff; }
.fb-foot__h { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 700; color: #fff; }
.fb-foot__col ul { display: grid; gap: 8px; }
.fb-foot__col a:hover { color: #fff; }
.fb-foot__bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.fb-foot__rg { display: flex; align-items: center; gap: 12px; margin: 0; max-width: 820px; }
.fb-foot__rg a { color: #fff; text-decoration: underline; }
.fb-age { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--red); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 13px; }
.fb-foot__copy { margin: 0; }

/* ---------- tab bar ---------- */
.fb-tabbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
	.fb-page { grid-template-columns: 1fr; }
	.fb-aside { position: static; }
	.fb-aside__in { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
	.fb-games { grid-template-columns: repeat(3, 1fr); }
	.fb-head__nav a { padding: 8px 10px; }
}
@media (max-width: 1023px) {
	:root { --gut: 16px; --head: 58px; }
	.fb-head__bar { gap: 12px; }
	.fb-head__burger { display: inline-flex; }
	.fb-head__nav { display: none; }
	.fb-logo__img { width: 100px; }
	.fb-hero__in { grid-template-columns: 1fr; min-height: 0; }
	.fb-hero__txt { padding: 32px 0 20px; }
	.fb-hero__art { position: absolute; right: -80px; top: 0; height: 100%; max-width: 520px; opacity: .35; }
	.fb-promos { grid-template-columns: 1fr; }
	.fb-games { grid-template-columns: repeat(2, 1fr); }
	.fb-foot__top { grid-template-columns: 1fr 1fr; }
	.fb-foot__brand { grid-column: 1 / -1; }
	.fb-card__facts { grid-template-columns: repeat(2, 1fr); }
	.fb-landsteps { flex-direction: column; align-items: stretch; }
	.fb-landsteps .fb-steps { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
	.fb-head__user .fb-btn--ghost span { display: none; }
	.fb-head__user .fb-btn { padding: 8px 12px; }
	.fb-hero__title { font-size: 34px; }
	.fb-hero__lead { font-size: 15px; }
	.fb-hero__ctas .fb-btn { flex: 1; }
	.fb-panel { padding: 18px 16px; border-radius: 14px; }
	.fb-panel__title { font-size: 21px; }
	.fb-page, .fb-col { gap: 16px; }
	.fb-page { padding-top: 16px; }
	.fb-leagues { grid-auto-columns: 180px; }
	.fb-league { height: 96px; }
	.fb-scroll-nav { display: none; }
	.fb-filter__b { min-width: 72px; padding: 4px 6px 8px; font-size: 12px; }
	.fb-events { grid-template-columns: 1fr; }
	.fb-promo { aspect-ratio: 16 / 9; }
	.fb-promo__txt { max-width: 80%; }
	.fb-promo__txt b { font-size: 20px; }
	.fb-games { gap: 10px; }
	.fb-game__txt { right: 10px; left: 10px; }
	.fb-game__txt b { font-size: 15px; }
	.fb-game__txt span, .fb-game__play { display: none; }
	.fb-copy { padding: 20px 16px; font-size: 15px; }
	.fb-copy h1 { font-size: 25px; }
	.fb-copy h2 { font-size: 20px; }
	.fb-copy .fb-toc ol { columns: 1; }
	.fb-copy .fb-tbl table { font-size: 14px; }
	.fb-copy .fb-tbl th, .fb-copy .fb-tbl td { padding: 9px 11px; }
	.fb-card__facts { grid-template-columns: 1fr 1fr; }
	.fb-foot__top { grid-template-columns: 1fr; }
	.fb-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--panel); box-shadow: 0 -1px 0 var(--line), 0 -6px 20px rgba(23, 38, 61, .06); }
	.fb-tabbar a, .fb-tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--mute); }
	.fb-tabbar__mark { position: relative; width: 46px; height: 46px; margin-top: -20px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(212, 42, 40, .4); }
	.fb-tabbar__mark b { position: absolute; right: -4px; top: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--navy); font-size: 11px; display: grid; place-items: center; }
	.fb-tabbar__coupon { color: var(--text) !important; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* site-local rafinat.com.ua: UA | RU switch (language subfolders) */
.fb-lang { display: inline-flex; align-items: stretch; flex: none; height: 38px; padding: 3px; gap: 2px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 100px; background: rgba(255, 255, 255, .04); }
.fb-lang a { display: flex; align-items: center; justify-content: center; min-width: 36px; padding: 0 8px; border-radius: 100px; color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1; text-decoration: none; transition: background-color .15s, color .15s; }
.fb-lang a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.fb-lang a.is-on { background: var(--red); color: #fff; }
.fb-lang--head { margin-left: auto; }
.fb-lang--head + .fb-head__user { margin-left: 12px; }
.fb-langrow { display: none; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.fb-langrow__t { color: var(--mute); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.fb-lang--side { border-color: var(--soft-2); background: var(--soft); }
.fb-lang--side a { color: var(--text); }
.fb-lang--side a:hover { color: var(--text); background: var(--soft-2); }
.fb-lang--side a.is-on { color: #fff; background: var(--red); }
@media (max-width: 767px) {
	.fb-lang--head { display: none; }
	.fb-lang--head + .fb-head__user { margin-left: auto; }
	.fb-langrow { display: flex; }
}
.fb-head__nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
	.fb-head__bar { gap: 14px; }
	.fb-head__nav ul { gap: 0; }
	.fb-head__nav a { padding: 8px 8px; font-size: 12px; letter-spacing: .03em; }
	.fb-head__user .fb-btn--ghost span { display: none; }
}

/* site-local rafinat.com.ua (2026-12-03): own hero palette */
.fb-hero { background: radial-gradient(90% 140% at 100% 40%, #2f62c4 0%, #1c3f80 38%, #142546 72%, #0d1322 100%); }
