
/* ===== RoyalSea skin ===== */
.layout{grid-template-columns:300px minmax(0,1fr)}
@media (max-width:1279px){.layout{grid-template-columns:minmax(0,1fr)}}
.col{padding-bottom:16px}
@media (min-width:1280px){.col{padding:16px 40px 0 40px}}
.hdr__logo-desk{width:93px;height:40px}
.hdr__logo-mob{width:102px!important;height:44px}
.hdr__nav-item.is-active,.hdr__more-btn.is-active{color:var(--gold)}
.hdr__more-btn{display:inline-flex}
.hdr__more-item.is-active{color:var(--gold)}
.hdr__more-item:hover{background:var(--bg)}
.hdr__reg{color:#09161d}
.sportbar__row.is-active,.league.is-active,.drawer__row.is-active,.tabbar__item.is-active,.ftr__lnk.is-active{color:var(--gold)}
.sportbar__row.is-active{background:rgba(132, 236, 142,.08)}
.sportbar .league .league__name{font-size:15px}
.league.is-active .league__name{color:var(--gold)}
.sportbar .league img{border-radius:6px}
.drawer__promo--bm{justify-content:space-between;background:linear-gradient(90deg,#46a952 0%,#102732 100%);font-weight:700;text-transform:uppercase}
.drawer__promo-cta{padding:6px 12px;border-radius:100px;background:var(--gold);color:#09161d;font-size:13px;text-transform:none}
.drawer__support{display:flex;align-items:center;gap:12px;height:48px;padding:0 18px;font-weight:600}
.drawer__support img{width:24px;height:24px;border-radius:6px}
.drawer__row img{border-radius:5px}
.cat__ico img{width:56px;height:56px;border-radius:50%}
.cat__ico{overflow:hidden}
/* hero «Slot a sorpresa»: HTML-віджет, плитки в нативній роздільності (159 px) — не більше 140 px */
.bmhero{container-type:inline-size;margin:0 0 4px}
.bmhero__in{display:flex;flex-direction:column;gap:18px;padding:20px 16px;border-radius:var(--r-md);background:var(--bg-deep);border:1px solid rgba(255,255,255,.08)}
.bmhero__txt{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.bmhero__eyebrow{font-size:13px;line-height:16px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold)}
.bmhero__ttl{margin:0;font-size:24px;line-height:1.2;font-weight:800;color:var(--ink)}
.bmhero__sub{margin:0;font-size:15px;line-height:1.5;color:var(--ink-78);max-width:440px}
.bmhero__cta{margin-top:8px;min-width:200px;height:48px;padding:0 24px;font-size:16px;color:#09161d;justify-content:center}
.bmhero__reel{display:flex;align-items:center;justify-content:center;gap:10px;flex:none}
.bmhero__item{flex:0 0 calc((100% - 20px)/3);max-width:120px;aspect-ratio:1/1;border-radius:16px;overflow:hidden;position:relative}
.bmhero__item--x{display:none}
.bmhero__tile img{display:block;width:100%;height:100%;object-fit:cover}
.bmhero__q{overflow:visible;display:flex;align-items:center;justify-content:center;background:#070f14;border:4px solid var(--gold);box-sizing:border-box}
.bmhero__q::before{content:"";position:absolute;top:-9px;left:50%;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:var(--gold)}
.bmhero__q::after{content:"";position:absolute;top:-5px;left:50%;margin-left:-4px;border:4px solid transparent;border-top:5px solid #070f14}
.bmhero__qi{display:flex;align-items:center;justify-content:center;width:52%;aspect-ratio:1/1;border-radius:50%;background:#163440;color:var(--gold);font-size:30px;font-weight:800;line-height:1}
@container (min-width:620px){
  .bmhero__in{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding:28px}
  .bmhero__reel{gap:12px}
  .bmhero__item{flex:0 0 112px;max-width:none}
}
@container (min-width:960px){.bmhero__item--x{display:block}.bmhero__ttl{font-size:30px}}
@container (min-width:1240px){.bmhero__item{flex-basis:140px}.bmhero__qi{font-size:38px}.bmhero__in{padding:32px 40px}}
@media (max-width:767px){.bmhero__cta{width:100%}}
/* категорії: підпис без розриву посеред слова */
.cat{width:72px;align-items:center;padding-left:0}
.cat__txt{width:100%;word-break:keep-all;overflow-wrap:normal;hyphens:manual}
/* назви ігор у рейці — до 2 рядків без обрізання */
.tile__name{height:auto;min-height:48px;box-sizing:border-box;white-space:normal;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (min-width:1280px){.tile{flex-basis:calc(12.5% - 8px)}}
/* ≥1600: 10 плиток у ряд — плитка не ширша за нативні 159 px (без апскейлу на 1920) */
@media (min-width:1600px){.tile{flex-basis:calc(10% - 7.2px)}}
/* категорії: ≥1440 — рівно на всю ширину колонки (без порожньої зони справа), вужче — скрол із підказкою-згасанням */
@media (min-width:1440px){.cats{justify-content:space-between}}
@media (max-width:1439px){.cats{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);padding-right:24px}}
/* dropdown шапки відділений від контенту під ним */
.hdr__more-menu{border:1px solid rgba(255,255,255,.1);box-shadow:0 16px 36px rgba(0,0,0,.5);z-index:60}
.navbar{justify-content:flex-start;padding-left:56px;border-radius:var(--r-md);margin-bottom:12px}
.navbar__ttl{font-size:15px;font-weight:500;color:var(--ink-78)}
.navbar__ttl a{color:var(--gold)}
article.seo{margin-top:16px;padding:24px 28px;border-radius:var(--r-md);background:var(--bg-deep)}
@media (max-width:767px){article.seo{padding:18px 14px;margin-left:0;margin-right:0}}
.ftr{margin-top:16px}
.ftr__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));column-gap:16px}
.ftr__grid .ftr__block{border-top:0}
.ftr__legal a,.ftr__legal span{font-size:14px;line-height:18px}
.ftr__bottom{border-top:1px solid rgba(255,255,255,.1)}
.ftr__logo{width:93px;height:40px;object-fit:contain;margin-bottom:10px}
.ftr__logo-lnk{display:inline-block}
.ftr__note{margin-top:6px;font-size:13px;line-height:18px;color:var(--ink-78)}
.ftr__18{color:var(--ink)}
.tabbar__item{justify-content:center}
/* мобільне меню: закривається хрестиком і кнопкою «Menu» нижньої панелі (панель лишається видимою) */
.drawer__top{display:none}
@media (max-width:1279px){
  .drawer{top:56px;bottom:var(--tab-h);padding-top:0}
  .tabbar{z-index:47}
  .drawer__top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;height:52px;margin:0 -12px 8px;padding:0 12px 0 16px;background:var(--bg)}
  .drawer__top-ttl{font-size:16px;font-weight:700;color:var(--ink)}
  .drawer__close{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--bg-deep);color:var(--ink);font-size:16px;cursor:pointer}
}

/* ---- зона тексту (main.footer__content) ---- */
.footer__content{color:rgba(250,249,248,.84);font-size:15px;line-height:1.65;letter-spacing:normal;text-align:left}
.footer__content h1{font-size:28px;line-height:1.25;margin:0 0 16px;color:#faf9f8;font-weight:700;text-transform:none}
.footer__content h2{font-size:21px;line-height:1.3;margin:32px 0 12px;color:#faf9f8;font-weight:700;text-transform:none}
.footer__content h3{font-size:17px;line-height:1.35;margin:22px 0 8px;color:#faf9f8;font-weight:700;text-transform:none}
.footer__content p{margin:0 0 14px;font-size:15px;line-height:1.65;color:rgba(250,249,248,.84)}
.footer__content strong,.footer__content b{color:#faf9f8;font-weight:700}
.footer__content ul,.footer__content ol{margin:0 0 16px;padding-left:22px;list-style-position:outside}
.footer__content ul{list-style-type:disc}.footer__content ol{list-style-type:decimal}
.footer__content li{margin:0 0 6px;font-size:15px;line-height:1.6;color:rgba(250,249,248,.84);display:list-item}
.footer__content a:not(.cta__btn){color:#84ec8e;text-decoration:underline}
.footer__content img{display:block;width:auto;max-width:100%;height:auto;border-radius:12px;margin:8px auto 18px}
/* картинка в тексті — не ширше нативної (без апскейлу на 1920), по центру колонки */
.footer__content figure{margin:8px 0 18px}
.footer__content .tbl{overflow-x:auto;margin:6px 0 18px;border:1px solid rgba(255,255,255,.12);border-radius:12px}
.footer__content table{display:table;border-collapse:collapse;width:100%;min-width:520px;font-size:14px;background:transparent;border:0}
/* <table border="1"> із контенту: прибрати світлі рамки браузера (зовнішня рамка — у .tbl, між рядками — свої лінії) */
.footer__content table[border] th,.footer__content table[border] td{border-left:0;border-right:0}
.footer__content table[border] tr:first-child th,.footer__content table[border] tr:first-child td{border-top:0}
.footer__content table[border] tr:last-child td{border-bottom:0}
.footer__content thead{display:table-header-group}.footer__content tbody{display:table-row-group}
.footer__content tr{display:table-row;background:none}
.footer__content th,.footer__content td{display:table-cell;text-align:left;padding:10px 14px;vertical-align:top;font-size:14px;line-height:1.5;min-width:0}
.footer__content th{background:#102732;color:#faf9f8;font-weight:700;border-bottom:1px solid rgba(255,255,255,.12)}
.footer__content td{border-top:1px solid rgba(255,255,255,.12);color:rgba(250,249,248,.84)}
.footer__content .cta{display:flex;justify-content:center;margin:24px 0}
.footer__content .cta__btn{display:inline-flex;align-items:center;justify-content:center;min-width:260px;max-width:100%;
  padding:14px 28px;border-radius:12px;background:#84ec8e;color:#09161d;font-size:16px;font-weight:700;text-decoration:none;text-align:center;line-height:1.25}
.footer__content .cta__btn:hover{filter:brightness(1.08)}
.footer__content .cta__txt{white-space:normal}
@media (max-width:700px){
.footer__content h1{font-size:23px}.footer__content h2{font-size:19px}
.footer__content .tbl{overflow-x:visible;border:0}
.footer__content table{min-width:0;width:100%}
.footer__content table thead{display:none}
/* рядок заголовків без <thead> (tr лише з th) — на мобільному підписи дає data-label */
.footer__content table tr:not(:has(td)){display:none}
.footer__content table tbody{display:block;width:100%}
.footer__content table tr{display:block;width:100%;border:1px solid rgba(255,255,255,.12);border-radius:12px;margin:0 0 10px;padding:4px 0;background:#102732}
.footer__content table td{display:flex;gap:12px;width:100%;border:0;padding:6px 12px;overflow-wrap:anywhere}
.footer__content table td::before{content:attr(data-label);flex:0 0 40%;max-width:40%;color:#faf9f8;opacity:.7;font-weight:600}
.footer__content .cta__btn{min-width:0;width:100%;padding:14px 16px}
}
