/* fam.css + aeroporto777confiavel.com 官网取色（brand_ref/prep/aeroporto777.json (https://aeroporto777.bet, user table, T-5 prep ok)） */
:root{--bg:#ffffff;--header:#5c7175;--surface:#f5f5f5;--surface2:#fafafa;--text:#222222;--muted:#666666;--line:#ececec;--primary:#54fcfc;--pri:#54fcfc;--icon:#2a7878;--in-bg:transparent;--in-fg:#ffffff;--in-bd:#ffffff;--reg-bg:#54fcfc;--reg-fg:#111111;--reg-bd:#54fcfc;--nav:#ffffff;--nav-fg:#6e6e6e;--nav-on:#2c7e7e;--card-bg:#f7f7f7;--card-r:12px;--frame:#f7f7f7;--link:#297676;--btn-r:6px;--on-nav:#717171;--on-header:#ffffff;--cta-fg:#111111;--tab-on:#2f7a7a;--card-fg:#222222;--card-mu:#666666}
/* fam.css — 2服各站「照官网版式」家族样式（变量由每站 spec 官网取色注入，见 fam_sites.json） */
body.p-fam{background:var(--bg);color:var(--text);font-family:"AL Body",system-ui,-apple-system,sans-serif}
.p-fam .app{background:var(--bg);box-shadow:none}
/* ===== 页头 ===== */
.p-fam .fm-hd{height:54px;padding:0 12px;background:var(--header);box-shadow:0 1px 0 var(--line);gap:8px}
.p-fam .fm-logo{height:32px;width:auto;max-width:150px;object-fit:contain}
.p-fam .hd__right{gap:8px}
.p-fam .hd__btn{border-radius:var(--btn-r,8px);padding:8px 14px;font:700 13.5px "AL Display",sans-serif;box-shadow:none;background-image:none;min-width:72px;justify-content:center}
.p-fam .fm-in{background:var(--in-bg);color:var(--in-fg);border:1.5px solid var(--in-bd)}
.p-fam .fm-reg{background:var(--reg-bg);color:var(--reg-fg);border:1.5px solid var(--reg-bd)}
.p-fam .fm-hd--center{flex-direction:column;align-items:stretch;justify-content:flex-start;height:auto;padding:0;gap:0}
.p-fam .fm-hdrow{display:flex;justify-content:center;align-items:center;height:56px}
.p-fam .fm-hd--center .fm-logo{height:42px;max-width:190px}
.p-fam .fm-splitbar{display:grid;grid-template-columns:1fr 1fr;height:40px}
.p-fam .fm-split{display:flex;align-items:center;justify-content:center;font:800 19px "AL Display",sans-serif;letter-spacing:.5px;text-decoration:none!important;color:#fff!important}
.p-fam .fm-split--in{background:var(--in-bg);clip-path:polygon(0 0,100% 0,92% 100%,0 100%);margin-right:-14px}
.p-fam .fm-split--reg{background:var(--reg-bg);clip-path:polygon(8% 0,100% 0,100% 100%,0 100%);margin-left:-14px}
/* ===== 轮播 ===== */
.p-fam .s2b{margin:10px 10px 0;border-radius:var(--car-r,10px);box-shadow:none;overflow:hidden}
.p-fam .s2b-dots button.is-on{background:var(--pri)}
/* ===== 分类（等宽 4 列，无横滑） ===== */
.p-fam .fm-cats{margin:10px 10px 0}
.p-fam .fm-cats .ct{gap:8px;margin:0!important}
.p-fam .fm-c{min-height:62px!important;height:auto!important;flex-direction:column!important;gap:4px!important;padding:8px 2px!important;border-radius:10px!important;text-decoration:none!important}
.p-fam .fm-c span{font:600 12px/1.15 "AL Body",sans-serif;color:var(--muted);text-align:center}
.p-fam .fm-c i{display:grid!important;place-items:center;width:28px!important;height:28px!important;color:var(--icon)!important}
.p-fam .fm-c.is-on span{color:var(--tab-on,var(--pri))}
/* zelo / aspero：图标在上、无底框 */
.p-fam .fm-cats--zelo .fm-c,.p-fam .fm-cats--aspero .fm-c{background:transparent!important;border:0!important}
.p-fam .fm-cats--zelo .fm-c.is-on,.p-fam .fm-cats--aspero .fm-c.is-on{background:var(--surface)!important}
/* dy：描边方框 + 圆形图标底 */
.p-fam .fm-cats--dy .fm-c{background:#fff!important;border:2px solid var(--tab-bd)!important}
.p-fam .fm-cats--dy .fm-c i{background:var(--icon-bg);border-radius:50%;color:#fff!important;width:26px!important;height:26px!important}
.p-fam .fm-cats--dy .fm-c i svg{width:16px;height:16px}
.p-fam .fm-cats--dy .fm-c.is-on{border-color:var(--frame)!important;background:var(--tab-onbg)!important}
/* club：下划线标签 */
.p-fam .fm-cats--club{margin:6px 0 0;padding:0 10px;border-bottom:1px solid var(--line)}
.p-fam .fm-cats--club .ct{gap:0}
.p-fam .fm-cats--club .fm-c{background:transparent!important;border:0!important;border-radius:0!important;border-bottom:2px solid transparent!important}
.p-fam .fm-cats--club .fm-c.is-on{border-bottom-color:var(--pri)!important}
/* ===== 区块标题：图标 + 标题 … Tudo › ===== */
.p-fam .fm-gs{margin:16px 10px 0}
.p-fam .fm-sh{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}
.p-fam .fm-sh h2{display:flex;align-items:center;gap:6px;margin:0;font:700 18px/1.2 "AL Display",sans-serif;color:var(--text)}
.p-fam .fm-sh h2 i{display:grid;place-items:center;color:var(--icon)}
.p-fam .fm-all{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:var(--surface);color:var(--muted)!important;font:600 12.5px "AL Body",sans-serif;text-decoration:none!important}
.p-fam .fm-all b{font-size:15px;line-height:1}
.fam-dy .fm-sh h2{background:var(--in-bg);color:#fff;padding:5px 14px 5px 10px;border-radius:999px;font-size:15px}
.fam-dy .fm-sh h2 i{color:#fff}
.fam-dy .fm-all{background:#fff;border:1.5px solid var(--tab-bd)}
.fam-club .fm-all{background:none;padding:0}
/* ===== 游戏卡 ===== */
.p-fam .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.fam-club .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.p-fam .fm-card{background:var(--card-bg)!important;border:var(--card-bw,0) solid var(--frame)!important;border-radius:var(--card-r,10px)!important;overflow:hidden;box-shadow:var(--card-sh,none)}
.p-fam .fm-card .g-art{border-radius:0;background:var(--surface)}
.p-fam .fm-card .g-name{background:none!important;padding:6px 4px 0!important;font:700 12px/1.25 "AL Body",sans-serif!important;color:var(--card-fg,var(--text))!important;text-align:center!important;-webkit-line-clamp:3!important;min-height:calc(2*1.25em + 6px)!important}   /* gen18: names never ellipsis-truncated (AUTOVIS CLIP) */
.p-fam .fm-card .g-prov{background:none!important;padding:1px 4px 6px!important;color:var(--card-mu,var(--muted))!important;font:500 10.5px "AL Body",sans-serif!important;text-align:center!important;justify-content:center!important}
.fam-club .fm-card .g-name{font-size:11px!important}
/* ===== 正文 / 内页卡片 ===== */
.p-fam main>section.section,.p-fam main>section.game-intro,.p-fam main>section.game-howto,.p-fam main>section.faq,.p-fam main>section.game-notes,.p-fam main>section.rc,.p-fam main>section.seo-question{background:var(--surface);border:var(--sec-bw,0) solid var(--tab-bd,transparent);border-radius:12px;margin:14px 10px 0}
.p-fam main p,.p-fam main li{color:var(--text)}
.p-fam main p a,.p-fam main li a{color:var(--link)}
.p-fam .crumbs{margin:12px 10px 0}.p-fam .crumbs a{color:var(--muted)}
.p-fam main h1{color:var(--text)}
.p-fam .game-hero{background:var(--surface);border:var(--sec-bw,0) solid var(--tab-bd,transparent);border-radius:12px;margin:12px 10px 0;padding:14px;text-align:center}
.p-fam .game-hero .cover img{width:100%;max-width:200px;height:auto;aspect-ratio:1/1;border-radius:var(--card-r,10px);border:var(--card-bw,0) solid var(--frame)}
.p-fam .game-hero h1{font:800 22px/1.2 "AL Display",sans-serif;margin:12px 0 4px}
.p-fam .game-hero .prov{color:var(--muted)!important}
.p-fam .btn-primary{display:flex;justify-content:center;width:100%;background:var(--reg-bg);color:var(--reg-fg)!important;border:1.5px solid var(--reg-bd);border-radius:var(--btn-r,8px);padding:13px 16px;box-shadow:none;font-weight:800}
.p-fam .gn{background:var(--surface2)}.p-fam .gn h3 a,.p-fam .gn a{color:var(--text)!important}
/* ===== 页脚 ===== */
.p-fam .fm-ft{margin:20px 10px 0;padding:16px 14px;border:0;border-radius:12px;background:var(--surface);color:var(--muted);display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.p-fam .fm-ft__col b{display:block;color:var(--text);font:700 14px "AL Display",sans-serif;margin:0 0 6px}
.p-fam .fm-ft__links{display:flex;flex-direction:column;gap:6px}
.p-fam .fm-ft__links a{color:var(--muted);font-size:13px;text-decoration:none}
.p-fam .ft__age b{color:var(--text)!important;border-color:#e8203a}   /* gen18: 18+ label text >=4.5 (AUTOVIS), red ring kept */
.p-fam .fm-ft__prov,.p-fam .fm-copy,.p-fam .fm-ft .ft__age{grid-column:1/-1;margin:0;font-size:12px;text-align:center;color:var(--muted)}
/* ===== 底栏 ===== */
.p-fam .fm-bn{grid-template-columns:repeat(var(--n,5),1fr)!important;background:var(--nav);border-top:1px solid var(--line);box-shadow:0 -2px 10px rgba(0,0,0,.12)}
.p-fam .fm-bn .bn__it{color:var(--nav-fg);opacity:1;font:600 11px "AL Body",sans-serif;gap:2px}
.p-fam .fm-bn .bn__it i{color:var(--nav-ic,var(--nav-fg))}
.p-fam .fm-bn .bn__it.is-on,.p-fam .fm-bn .bn__it.is-on i{color:var(--nav-on)}
.p-fam .fm-bn .bn__it--mid,.p-fam .fm-bn .bn__main{transform:none!important;background:none!important;box-shadow:none!important}
@media (max-height:560px){.p-fam .s2b{aspect-ratio:2.2/1}.p-fam .fm-c{min-height:50px!important;padding:4px 2px!important}.p-fam .fm-c i{width:22px!important;height:22px!important}.p-fam .fm-gs{margin-top:10px}.p-fam .fm-splitbar{height:34px}}

/* visual review fixes: explicit icon fill and independent body CTA */
.p-fam .fm-cats--dy .fm-c i{position:static!important;transform:none!important;background:var(--icon-bg)!important;color:#fff!important}
.p-fam .game-hero .btn-primary{background:var(--primary)!important;color:var(--cta-fg,#fff)!important;border-color:var(--primary)!important}

/* DY official centered masthead: neutralize base flex:1 */
.p-fam .fm-hdrow .hd__brand{flex:0 1 auto;justify-content:center}
/* toc17: in-page "Sobre o jogo / Como jogar" nav from the base package rendered as bare underlined links -> chips inside the page rhythm */
.p-fam nav.toc{margin:12px 0 4px}
.p-fam nav.toc ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.p-fam nav.toc li{margin:0}
.p-fam nav.toc a{display:inline-flex;align-items:center;min-height:34px;padding:6px 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--text);font-weight:600;font-size:13px;text-decoration:none}
.p-fam .g-prov,.p-fam .prov{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important}   /* gen18: provider names never truncated (AUTOVIS CLIP) */

.p-fam.s2k main nav.toc a,.p-fam.s2k nav.toc a{text-decoration:none!important}   /* gen19: s2.css ".s2k main a:not(...)" (0,4,2) out-specified toc17 chips -> LINK fail on game pages (26t/711 19:00) */

/* ===== lobby21：app 底部导航型白标大厅（官网 390：左菜单+logo，右方角 Login/Registro；通栏轮播；纯文字分类 tab 下划线；标题右侧 ‹ Tudo ›；竖版卡，名字压在卡内） ===== */
.fam-lobby .fm-hd--lobby{height:46px;padding:0 10px;box-shadow:0 1px 0 var(--line)}
.fam-lobby .fm-hdl{display:flex;align-items:center;gap:10px;min-width:0}
.fam-lobby .fm-menu{display:grid;place-items:center;width:26px;height:26px;color:var(--text)!important;font-size:20px;line-height:1;text-decoration:none!important}
.fam-lobby .fm-logo{height:28px;max-width:120px}
.fam-lobby .hd__btn{border-radius:var(--btn-r,6px)!important;padding:6px 14px;min-width:64px;font:600 13px "AL Body",sans-serif}
.fam-lobby .s2b{margin:0!important;border-radius:0!important}
.p-fam .fm-cats--lobby{margin:0;padding:0 6px;border-bottom:1px solid var(--line)}
.p-fam .fm-cats--lobby .ct{display:grid!important;grid-template-columns:repeat(var(--cols,5),minmax(0,1fr))!important;gap:0!important}
.p-fam .fm-cats--lobby .fm-t{min-height:44px!important;padding:10px 2px!important;background:transparent!important;border:0!important;border-radius:0!important;border-bottom:2px solid transparent!important;flex-direction:row!important}
.p-fam .fm-cats--lobby .fm-t span{font:500 14px/1.2 "AL Body",sans-serif;color:var(--muted)}
.p-fam .fm-cats--lobby .fm-t.is-on{border-bottom-color:var(--tab-on,var(--pri))!important}
.p-fam .fm-cats--lobby .fm-t.is-on span{color:var(--tab-on,var(--pri))}
.fam-lobby .fm-gs{margin:14px 12px 0}
.fam-lobby .fm-sh h2{font:500 17px/1.2 "AL Body",sans-serif;padding-left:12px}
.fam-lobby .fm-pager{gap:0;padding:0;border:1px solid var(--line);border-radius:6px;background:transparent;overflow:hidden}
.fam-lobby .fm-pager b,.fam-lobby .fm-pager span{display:inline-grid;place-items:center;height:26px;padding:0 9px;color:var(--muted)}
.fam-lobby .fm-pager span{border-left:1px solid var(--line);border-right:1px solid var(--line);font-size:12px}
.fam-lobby .grid{gap:12px!important}
.fam-lobby .fm-card{position:relative;border-radius:12px!important;background:var(--surface)!important}
.fam-lobby .fm-card .g-art{display:block;aspect-ratio:3/4}
.fam-lobby .fm-card .g-art img{width:100%;height:100%;object-fit:cover}
.fam-lobby .fm-card .g-name{position:absolute;left:0;right:0;bottom:16px;padding:5px 4px!important;background:#161616!important;color:#fff!important;font:600 12.5px/1.25 "AL Body",sans-serif!important;min-height:0!important}
.fam-lobby .fm-card .g-prov{position:absolute;left:0;right:0;bottom:0;height:16px;padding:0 4px 2px!important;background:rgba(0,0,0,.62)!important;color:#e9e9e9!important;font-size:10px!important}
.p-fam .fm-cats--lobby .fm-t i{display:inline-grid!important;width:16px;height:16px;margin-right:4px;color:inherit;opacity:1}
.p-fam .fm-cats--lobby .fm-t i svg{width:16px;height:16px}
.p-fam .fm-cats--lobby .fm-t.is-on i{color:var(--tab-on,var(--pri))}

/* ===== var21：无官网品牌版式变体（用户 20:54：logo 配色但结构必须不同；按域名哈希分配，结构签名门禁） ===== */
.p-fam .fm-hd--lobby{height:46px;padding:0 10px}
.p-fam .fm-hdl{display:flex;align-items:center;gap:10px;min-width:0}
.p-fam .fm-menu{display:grid;place-items:center;width:26px;height:26px;color:var(--text)!important;font-size:20px;line-height:1;text-decoration:none!important}
.fv-h-menu .hd__btn{border-radius:6px!important;padding:6px 14px}
.p-fam .fv-hc .fm-hdrow{display:flex;justify-content:center;align-items:center;height:52px}
.p-fam .fv-hbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 10px 8px}
.p-fam .fv-hbar .hd__btn{width:100%;justify-content:center;border-radius:8px!important;height:38px}
.fv-r-full .s2b{margin:0!important;border-radius:0!important}
.fv-r-peek .s2b{margin:12px 22px 0!important;border-radius:18px!important;box-shadow:0 6px 18px rgba(0,0,0,.28)!important}
.p-fam .fm-cats--pills .ct{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding:10px 10px 0}
.p-fam .fm-cats--pills .fv-p{flex-direction:row!important;justify-content:center;gap:6px;min-height:40px!important;padding:6px 6px!important;border-radius:999px!important;border:1px solid var(--line)!important;background:var(--surface)!important}
.p-fam .fm-cats--pills .fv-p span{font:600 12.5px/1.15 "AL Body",sans-serif;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.p-fam .fm-cats--pills .fv-p i{width:18px;height:18px;color:var(--icon,var(--pri))}
.p-fam .fm-cats--pills .fv-p.is-on{border-color:var(--pri)!important;box-shadow:inset 0 0 0 1px var(--pri)}
.fv-c-tabs .fm-cats--lobby{padding:0 6px;border-bottom:1px solid var(--line)}
.fv-k-sq4 .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.fv-k-sq4 .fm-card .g-name{font-size:11px!important}
.fv-k-wide2 .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.fv-k-wide2 .fm-card .g-art{display:block;aspect-ratio:4/3}
.fv-k-wide2 .fm-card .g-art img{width:100%;height:100%;object-fit:cover}
.fv-k-p3 .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.fv-k-p3 .fm-card{position:relative;border-radius:12px!important}
.fv-k-p3 .fm-card .g-art{display:block;aspect-ratio:3/4}
.fv-k-p3 .fm-card .g-art img{width:100%;height:100%;object-fit:cover}
.fv-k-p3 .fm-card .g-name{position:absolute;left:0;right:0;bottom:16px;padding:5px 4px!important;background:#161616!important;color:#fff!important;font:600 12px/1.25 "AL Body",sans-serif!important}
.fv-k-p3 .fm-card .g-prov{position:absolute;left:0;right:0;bottom:0;height:16px;padding:0 4px 2px!important;background:rgba(0,0,0,.62)!important;color:#e9e9e9!important;font-size:10px!important}
.p-fam .fm-pager{display:inline-flex;gap:0;padding:0;border:1px solid var(--line);border-radius:6px;background:transparent;overflow:hidden}
.p-fam .fm-pager b,.p-fam .fm-pager span{display:inline-grid;place-items:center;height:26px;padding:0 9px;color:var(--muted)}
.p-fam .fm-pager span{border-left:1px solid var(--line);border-right:1px solid var(--line);font-size:12px}
.p-fam .fv-bar h2{border-left:4px solid var(--pri);padding-left:8px;font:700 17px/1.2 "AL Display",sans-serif}
.p-fam .fv-bar .fm-all{font:600 12.5px "AL Body",sans-serif;color:var(--pri-fg,var(--text))!important;text-decoration:underline}
.fv-b-float .fm-bn{left:10px!important;right:10px!important;bottom:8px!important;border-radius:18px!important;border:1px solid var(--line)!important;width:auto!important}
.p-fam .fm-cats--lobby .fm-t{flex-direction:column!important;gap:3px}
.p-fam .fm-cats--lobby .fm-t i{width:22px!important;height:22px!important;margin:0!important}
.p-fam .fm-cats--lobby .fm-t i svg{width:22px;height:22px}
.p-fam .fm-cats--lobby .fm-t span{font-size:12.5px}

/* ===== lobby22（用户 21:28）：一行横滚分类 + › 按钮；卡片只显示名字；轮播下滚动公告；标题图标+Tudo › ===== */
.p-fam .fm-cats--row{position:relative;padding:0 30px 0 4px!important}
.p-fam .fm-cats--row .fm-trow{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden;gap:0!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;grid-template-columns:none!important}
.p-fam .fm-cats--row .fm-trow::-webkit-scrollbar{display:none}
.p-fam .fm-cats--row .fm-t{flex:0 0 auto!important;width:auto!important;min-width:72px;padding:8px 10px!important;scroll-snap-align:start}
.p-fam .fm-tabnext{position:absolute;right:0;top:0;bottom:0;width:28px;border:0;background:linear-gradient(90deg,transparent,var(--bg) 40%);color:var(--muted);font:600 20px/1 "AL Body",sans-serif;cursor:pointer;padding:0}
.p-fam .fm-notice{display:flex;align-items:center;gap:6px;margin:8px 10px 0;padding:6px 8px;border-radius:6px;background:var(--surface);color:var(--text);overflow:hidden}
.p-fam .fm-notice i{flex:0 0 auto;display:grid;place-items:center;color:var(--icon,var(--text))}
.p-fam .fm-marq{flex:1;min-width:0;overflow:hidden;white-space:nowrap}
.p-fam .fm-marq span{display:inline-block;padding-left:100%;font:500 12.5px/1.3 "AL Body",sans-serif;animation:fmMarq 22s linear infinite}
@keyframes fmMarq{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){.p-fam .fm-marq span{animation:none;padding-left:0}}
.fam-lobby .fm-card--lobby{position:relative;border-radius:10px!important;overflow:hidden;background:var(--surface)!important}
.fam-lobby .fm-card--lobby .g-art{display:block;aspect-ratio:3/4}
.fam-lobby .fm-card--lobby .g-art img{width:100%;height:100%;object-fit:cover}
.fam-lobby .fm-card--lobby .g-name{position:absolute;left:0;right:0;bottom:0;padding:6px 4px!important;background:#161616!important;color:#fff!important;font:600 12.5px/1.25 "AL Body",sans-serif!important;text-align:center;min-height:0!important}
.p-fam .fm-sh--lobby h2{display:flex;align-items:center;gap:6px;padding-left:2px}
.p-fam .fm-sh--lobby h2 i{display:grid;place-items:center;color:var(--icon,var(--pri))}
.p-fam .fm-tudo{background:transparent!important;border:0!important;color:var(--muted)!important;font:500 13px "AL Body",sans-serif;padding:0 2px}

/* ===== lv23：同模板族细节轮换 + 组件库组件给变体用（用户 21:48/21:49） ===== */
.p-fam .fm-card--lobby{position:relative;border-radius:10px!important;overflow:hidden;background:var(--surface)!important}
.p-fam .fm-card--lobby .g-art{display:block;aspect-ratio:3/4}
.p-fam .fm-card--lobby .g-art img{width:100%;height:100%;object-fit:cover}
.p-fam .fm-card--lobby .g-name{position:absolute;left:0;right:0;bottom:0;padding:6px 4px!important;background:#161616!important;color:#fff!important;font:600 12.5px/1.25 "AL Body",sans-serif!important;text-align:center;min-height:0!important}
.lv-t-left .fm-cats--lobby .fm-t{flex-direction:row!important;gap:5px}
.lv-t-left .fm-cats--lobby .fm-t i{width:18px!important;height:18px!important}
.lv-t-left .fm-cats--lobby .fm-t i svg{width:18px;height:18px}
.lv-k-pb .fm-card--lobby .g-art{aspect-ratio:4/5}
.lv-k-pb .fm-card--lobby .g-name{position:static;padding:7px 4px!important;background:var(--surface2,var(--surface))!important;color:var(--text)!important}
.lv-k-pr .fm-card--lobby{border-radius:16px!important}
.lv-k-pr .fm-card--lobby .g-name{left:6px;right:6px;bottom:6px;padding:4px 6px!important;border-radius:999px;background:#161616!important}
.lv-n-static .fm-marq span{animation:none!important;padding-left:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.lv-n-chip .fm-notice{border-radius:999px;margin:10px 14px 0;padding:6px 12px;border:1px solid var(--line)}
.lv-f-center .fm-ft{text-align:center}
.lv-f-center .fm-ft .fm-ft__links{justify-content:center}
.lv-f-center .fm-ft .fm-ft__col{align-items:center}
.fv-n-static .fm-marq span{animation:none!important;padding-left:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}

/* 22:11 full-leader: header menu must contrast with actual header, not body bg. */
.p-fam .fm-menu{color:var(--on-header)!important}
.p-fam .game-hero{background:#25282d!important;color:#fff!important;border-radius:16px;padding:18px;display:grid;grid-template-columns:minmax(100px,32%) minmax(0,1fr);gap:18px;align-items:center}
.p-fam .game-hero .cover{width:100%;aspect-ratio:1;min-width:0}.p-fam .game-hero .cover img{width:100%;height:100%;object-fit:contain;border-radius:12px}
.p-fam .game-hero>div:last-child{text-align:center;min-width:0}.p-fam .game-hero h1{color:#fff!important;font-size:clamp(20px,4vw,36px);overflow-wrap:anywhere;margin:0 0 10px}
.p-fam .game-hero .prov{color:#c6cbd2!important}.p-fam .game-hero .btn{display:block;background:#ffda37!important;color:#171717!important;border:0!important;min-height:44px;padding:12px 8px;border-radius:9px;font-weight:800;text-decoration:none}
.p-fam .catalog-pagination{display:flex;flex-wrap:wrap;gap:12px;padding:18px 0}.p-fam .catalog-pagination a{color:var(--link);padding:8px;border:1px solid var(--line);border-radius:6px}

/* 22:32 full AUTOVIS: actual pagination links need intentional touch targets, not default underlined links. */
.p-fam .catalog-pagination a{display:grid;place-items:center;min-width:44px;min-height:44px;box-sizing:border-box;text-decoration:none!important;font-weight:700;background:var(--surface);color:var(--text)!important}.p-fam .catalog-pagination a[aria-current=page]{outline:2px solid var(--link);outline-offset:1px}

/* Keep equal tab widths AND real overflow scroll at 390 and wide; do not weaken equal-width screenshot gate. */
.p-fam .fm-cats--row .fm-t{flex:0 0 84px!important;width:84px!important;min-width:84px!important;box-sizing:border-box}
/* 04:3x clipfix (AUTOVIS CLIP @390/Duo): lobby category labels and notice text must show in full. Tabs size to their label (row scrolls horizontally inside its own strip); notice wraps instead of a clipped one-line marquee. */
.p-fam .fm-cats--lobby.fm-cats--row .fm-t{flex:0 0 100px!important;width:100px!important;min-width:100px!important;max-width:100px!important}   /* equal widths (shots gate: one cat width) wide enough for Minijogos/Pescaria */
.p-fam .fm-cats--lobby .fm-t span{white-space:nowrap;overflow:visible;text-overflow:clip;max-width:none}
.p-fam .fm-cats--lobby:not(.fm-cats--row) .ct{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden;grid-template-columns:none!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.p-fam .fm-cats--lobby:not(.fm-cats--row) .ct::-webkit-scrollbar{display:none}
.p-fam .fm-cats--lobby:not(.fm-cats--row) .fm-t{flex:0 0 100px!important;width:100px!important;min-width:100px!important;max-width:100px!important}
.p-fam .fm-notice{overflow:visible}
.p-fam .fm-marq{white-space:normal!important;overflow:visible!important}
.p-fam .fm-marq span{animation:none!important;padding-left:0!important;white-space:normal!important;display:block!important;overflow:visible!important;text-overflow:clip!important}
.lv-n-chip .fm-notice{border-radius:14px}

/* 05:0x contrast: white overlay names on light themes measured 2.7:1 (gradient blended onto light page bg); solid .70 scrim -> >=4.5:1 */

/* gd: game detail layouts (new sites only) */
.p-fam .gd{display:block!important;margin:0 10px}
.p-fam .gd>*{max-width:100%}
.p-fam .gd-hero{color:var(--text)}
.p-fam .gd-hero .cover{min-width:0}
.p-fam .gd .gd-cta{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;font-size:18px;font-weight:800;border-radius:12px;background:var(--cta-bg,var(--pri,var(--primary)));color:var(--cta-fg,#fff)!important;text-decoration:none;box-shadow:0 6px 16px rgba(0,0,0,.18)}
.p-fam .gd .gd-cta-full .gd-cta,.p-fam .gd-banner .gd-cta,.p-fam .gd-center .gd-cta{width:100%}
.p-fam .gd .gd-prov{color:inherit;font-weight:700;margin:4px 0 0}
.p-fam .gd .gd-hero{margin:8px 0 14px}
.p-fam .gd .gd-hero h1{margin:0;font-size:24px;line-height:1.2}
.p-fam .gd img{max-width:100%;height:auto;display:block}
.p-fam .gd-side{display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:center}
.p-fam .gd-side .cover img{border-radius:14px}
.p-fam .gd-banner .gd-wide img,.p-fam .gd-plain .gd-wide img,.p-fam .gd-mag .gd-wide img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px}
.p-fam .gd-banner .gd-meta{padding:10px 2px}
.p-fam .gd-jump,.p-fam .gd-seg{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 14px}
.p-fam .gd-jump a,.p-fam main .gd-jump a{display:inline-flex;align-items:center;min-height:32px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:600;background:var(--surface,transparent);color:var(--text);text-decoration:none!important}
.p-fam .gd-seg{flex-wrap:nowrap;padding:4px;border-radius:12px;background:var(--surface)}
.p-fam .gd-seg a,.p-fam main .gd-seg a{flex:1 1 0;text-align:center;padding:9px 4px;border-radius:9px;font-size:13px;font-weight:700;color:var(--text);text-decoration:none!important}
.p-fam .gd-seg a:first-child{background:var(--bg);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.p-fam .gd-center{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.p-fam .gd-thumb img{width:120px;height:120px;object-fit:cover;border-radius:22px}
.p-fam .gd-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.p-fam .gd-card{border:1px solid var(--line);border-radius:16px;padding:4px 14px;background:var(--surface)}
.p-fam .gd-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:10px;padding:8px 10px;margin:0 -2px 10px;background:var(--bg);border-bottom:1px solid var(--line)}
.p-fam .gd-bar .gd-mini img{width:40px;height:40px;object-fit:cover;border-radius:10px}
.p-fam .gd-bar .gd-bar-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.p-fam .gd-bar .gd-bar-t b{font-size:15px;color:var(--text)}
.p-fam .gd-bar .gd-bar-t small{font-size:12px;color:var(--muted)}
.p-fam .gd-bar .gd-cta{min-height:44px;padding:0 16px;font-size:16px}
.p-fam .gd-row{display:flex;gap:12px;align-items:center}
.p-fam .gd-row .gd-thumb img{width:84px;height:84px;border-radius:16px}
.p-fam .gd-panels>section,.p-fam .gd-panels>div{border-top:2px solid var(--line);padding-top:4px}
.p-fam .gd-tl .game-steps{list-style:none;counter-reset:s;padding-left:0;border-left:3px solid var(--accent,var(--primary,currentColor));margin-left:12px}
.p-fam .gd-tl .game-steps li{counter-increment:s;position:relative;padding:4px 0 12px 22px}
.p-fam .gd-tl .game-steps li::before{content:counter(s);position:absolute;left:-14px;top:2px;width:24px;height:24px;border-radius:50%;background:var(--primary,var(--accent,#333));color:var(--cta-fg,#fff);font:700 12px/24px sans-serif;text-align:center}
.p-fam .gd-mast{padding:6px 0 10px;border-bottom:3px solid var(--accent,var(--primary,currentColor));margin-bottom:12px}
.p-fam .gd-mast h1{font-size:28px;margin:0}
.p-fam .gd-lead .game-intro>p:first-of-type{font-size:17px;line-height:1.6}
.p-fam .gd-box{border-left:4px solid var(--accent,var(--primary,currentColor));background:var(--surface);border-radius:0 14px 14px 0;padding:2px 14px;margin:14px 0}
.p-fam .gd-cover-bg{display:flex;gap:12px;align-items:center;padding:14px;border-radius:18px;background:var(--surface)}
.p-fam .gd-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:12px 0}
.p-fam .gd-facts div{border:1px solid var(--line);border-radius:12px;padding:8px 10px}
.p-fam .gd-facts dt{font-size:12px;color:var(--muted)}
.p-fam .gd-facts dd{margin:2px 0 0;font-weight:700;color:var(--text)}
.p-fam .gd-cta-row{margin:12px 0}
.p-fam .gd ol{padding-left:24px}
.p-fam .gd-bar .gd-cta{flex:0 0 auto!important;width:auto!important;display:inline-flex!important}
.p-fam .gd-bar .gd-bar-t{flex:1 1 auto!important;min-width:0!important;writing-mode:horizontal-tb}
.p-fam .gd-tl .game-steps{list-style:none!important;padding-left:0!important}
.p-fam .gd-tl .game-steps li{list-style:none!important}

/* bp2 fam01-leipg */

/* ===== bp2 common blocks (colours only from the guarded palette pairs) ===== */
body.bp2 a.bp2-cv,body.bp2 .bp2-strip a,body.bp2 .bp2-svc a,body.bp2 .bp2-prov a,body.bp2 .bp2-act a,body.bp2 .bp2-short a,body.bp2 .bp2-tool a,body.bp2 .bp2-ednav a,body.bp2 .bp2-srch,body.bp2 .bp2-welcome a{text-decoration:none!important}
body.bp2 .bp2-strip{display:flex;align-items:center;gap:8px;height:38px;padding:0 10px;background:var(--surface);color:var(--text);font:600 12px/1 "AL Body",sans-serif}
body.bp2 .bp2-strip b{font:800 13px "AL Display",sans-serif;color:var(--text)}
body.bp2 .bp2-strip span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}
body.bp2 .bp2-mark img{display:block;width:22px;height:22px;border-radius:6px;object-fit:contain}
body.bp2 .bp2-strip__go{flex:0 0 auto;padding:6px 12px;border-radius:var(--btn-r,6px);background:var(--reg-bg);color:var(--reg-fg)!important;border:1px solid var(--reg-bd);font:700 12px "AL Body",sans-serif}
body.bp2 .bp2-srch{display:grid;place-items:center;width:34px;height:34px;color:var(--text)!important}
body.bp2 a.bp2-cv{display:block;position:relative;color:var(--text)!important}
body.bp2 a.bp2-cv img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:10px}
body.bp2 a.bp2-cv span{display:block;padding:4px 2px 0;font:600 11.5px/1.25 "AL Body",sans-serif;color:var(--text);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.bp2 .bp2-disc{display:flex;align-items:center;gap:10px;margin:10px 10px 0;padding:10px 12px;border-radius:12px;background:var(--surface);color:var(--text)}
body.bp2 .bp2-disc__t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
body.bp2 .bp2-disc__t b{font:800 15px "AL Display",sans-serif;color:var(--text)}
body.bp2 .bp2-disc__t span{font:500 12px "AL Body",sans-serif;color:var(--text)}
body.bp2 .bp2-disc__c{display:flex;flex:0 0 auto}
body.bp2 .bp2-disc__c{gap:4px}
body.bp2 .bp2-disc__c a.bp2-cv{width:44px}
body.bp2 .bp2-disc__c a.bp2-cv img{border-radius:10px}
body.bp2 .bp2-mini{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:10px 10px 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
body.bp2 .bp2-mini::-webkit-scrollbar{display:none}
body.bp2 .bp2-mini a.bp2-cv{flex:0 0 27%}
body.bp2 .bp2-mini.bp2-sq a.bp2-cv{flex:0 0 23%}
body.bp2 .bp2-mini.bp2-rec a.bp2-cv img{aspect-ratio:1/1}
body.bp2 .bp2-mos{margin:12px 10px 0}
body.bp2 .bp2-mos__t{margin:0 0 8px;text-align:center;font:800 15px "AL Display",sans-serif;color:var(--text)}
body.bp2 .bp2-mos__t::before,body.bp2 .bp2-mos__t::after{content:"✧";margin:0 8px;color:var(--text)}
body.bp2 .bp2-mos__g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.bp2 .bp2-mos__g a.bp2-cv:first-child{grid-column:span 2;grid-row:span 2}
body.bp2 .bp2-mos__g a.bp2-cv:first-child img{aspect-ratio:1/1;height:auto}
body.bp2 .bp2-prov{display:flex;gap:6px;overflow-x:auto;padding:8px 10px;scrollbar-width:none;background:var(--surface)}
body.bp2 .bp2-prov::-webkit-scrollbar{display:none}
body.bp2 .bp2-prov a{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:76px;height:44px;padding:0 10px;border-radius:8px;border:1px solid var(--line);background:var(--bg);color:var(--text)!important}
body.bp2 .bp2-prov b{font:800 12px "AL Display",sans-serif;white-space:nowrap}
body.bp2 .bp2-prov small{font:500 10px "AL Body",sans-serif}
body.bp2 .bp2-welcome{display:flex;align-items:center;gap:8px;margin:10px 10px 0;padding:10px 12px;border-radius:12px;background:var(--surface);color:var(--text)}
body.bp2 .bp2-welcome b{flex:1;font:700 14px "AL Display",sans-serif;color:var(--text)}
body.bp2 .bp2-w__in,body.bp2 .bp2-svc__in{padding:7px 14px;border-radius:var(--btn-r,6px);background:var(--in-bg);color:var(--in-fg)!important;border:1.5px solid var(--in-bd);font:700 13px "AL Body",sans-serif;text-align:center}
body.bp2 .bp2-w__reg,body.bp2 .bp2-svc__reg{padding:7px 14px;border-radius:var(--btn-r,6px);background:var(--reg-bg);color:var(--reg-fg)!important;border:1.5px solid var(--reg-bd);font:700 13px "AL Body",sans-serif;text-align:center}
body.bp2 .bp2-act{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 10px 0}
body.bp2 .bp2-act__it{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border-radius:12px;background:var(--surface);color:var(--text)!important}
body.bp2 .bp2-act__it b{font:600 11.5px "AL Body",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body.bp2 .bp2-pstrip{display:flex;gap:6px;margin:10px 10px 0;overflow-x:auto;scrollbar-width:none}
body.bp2 .bp2-pstrip span{flex:0 0 auto;padding:5px 12px;border-radius:999px;border:1px solid var(--line);font:700 11.5px "AL Body",sans-serif;color:var(--text);background:var(--bg)}
body.bp2 .bp2-short{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:10px 8px 0}
body.bp2 .bp2-short a{display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--text)!important;font:600 11px "AL Body",sans-serif}
body.bp2 .bp2-short a svg{width:40px;height:40px;padding:9px;border-radius:50%;background:var(--surface)}
body.bp2 .bp2-short span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.bp2 .bp2-svc{display:grid;grid-template-columns:1fr 1fr repeat(3,48px);gap:8px;align-items:stretch;margin:10px 10px 0}
body.bp2 .bp2-svc__it{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:10px;background:var(--surface);color:var(--text)!important;font:600 10px "AL Body",sans-serif;padding:4px 0}
body.bp2 .bp2-svc__it span{max-width:46px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.bp2 .bp2-kicker{margin:0;padding:22px 16px 18px;background:var(--surface);color:var(--text)}
body.bp2 .bp2-kicker span{font:700 11px "AL Body",sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--text)}
body.bp2 .bp2-kicker__t{margin:6px 0 6px;font:800 28px/1.1 "AL Display",sans-serif;color:var(--text)}
body.bp2 .bp2-kicker p{margin:0;font:500 14px/1.45 "AL Body",sans-serif;color:var(--text)}
body.bp2 .bp2-tool{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 10px 0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;color:var(--text);font:500 12px "AL Body",sans-serif}
body.bp2 .bp2-tool b{font:800 13px "AL Display",sans-serif}
body.bp2 .bp2-tool b{margin-right:auto}
body.bp2 .bp2-tool a{padding:4px 10px;border-radius:6px;background:var(--surface);color:var(--text)!important;font-weight:600}
body.bp2 .bp2-wrap{padding:10px 10px 0}
body.bp2 .bp2-wrap .fm-gs{margin:0 0 14px!important}
body.bp2 .bp2-wrap .fm-tabnext{display:none!important}
body.bp2 .bp2-wrap--indexpanel>.fm-gs:first-of-type .grid::before{content:"Jogo · Guia";grid-column:1/-1;display:block;padding:6px 4px;border-bottom:2px solid var(--line);font:700 11px "AL Body",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--text)}
body.bp2 .bp2-cat-head{display:flex;justify-content:space-between;padding:6px 4px;border-bottom:2px solid var(--line);font:700 11px "AL Body",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--text)}

/* ===== header variants ===== */
body.bp2 .bp2-h:not(.bp2-h-stack-split){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between;gap:10px;height:auto!important;min-height:50px;padding:6px 10px!important}
body.bp2 .bp2-h .hd__brand{flex:0 0 auto;display:flex;align-items:center}
body.bp2 .bp2-h .fm-logo{height:30px!important;width:auto!important;max-width:140px!important;object-fit:contain}
body.bp2 .bp2-h .fm-hdl{display:flex;align-items:center;gap:8px;min-width:0}
body.bp2 .bp2-h .hd__right{display:flex;align-items:center;gap:8px;flex:0 0 auto}
body.bp2 .bp2-h.bp2-h-center-search,body.bp2 .bp2-h.bp2-h-center-menu{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center}
body.bp2 .bp2-h-center-search .hd__right,body.bp2 .bp2-h-center-menu .hd__right{justify-self:end}
body.bp2 .bp2-h-center-search .hd__brand,body.bp2 .bp2-h-center-menu .hd__brand{justify-self:center}
body.bp2 .bp2-h-editorial-top{height:auto!important;min-height:58px;display:flex!important;align-items:center;gap:14px;padding:8px 16px!important;border-bottom:2px solid var(--text);box-shadow:none!important}
body.bp2 .bp2-ednav{display:flex;gap:14px;flex:1}
body.bp2 .bp2-ednav a{color:var(--text)!important;font:700 13px "AL Body",sans-serif;letter-spacing:.04em;text-transform:uppercase}
body.bp2 .bp2-h-indexpanel-toolbar{display:flex!important;align-items:center;gap:10px}
body.bp2 .bp2-tlabel{flex:1;font:600 12px "AL Body",sans-serif;color:var(--on-header,var(--text));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.bp2 .bp2-h-stack-split{height:auto!important;display:block!important;padding:0!important}
body.bp2 .bp2-row1{display:flex;justify-content:center;align-items:center;height:52px}
body.bp2 .bp2-split{display:grid;grid-template-columns:1fr 1fr}
body.bp2 .bp2-split .hd__btn{border-radius:0!important;min-height:40px;margin:0!important}
body.bp2 .bp2-h-pill-right .bp2-pill{border-radius:999px!important;padding:7px 18px!important}
body.bp2 .bp2-h-pill-right .hd__right{gap:10px;align-items:center}
body.bp2 .bp2-h-pill-right .fm-menu,body.bp2 .bp2-h-minimal .fm-menu{display:grid;place-items:center;width:34px;height:34px;color:var(--text)!important}
body.bp2 .bp2-h-minimal{justify-content:space-between}

/* ===== card families (cover art always 1:1 = never cropped (site_audit G2); names never over art (ART); equal heights per row (N1)) ===== */
body.bp2 .fm-card .g-art{display:block;aspect-ratio:1/1!important;height:auto!important;overflow:hidden}
body.bp2 .fm-card .g-art img{width:100%;height:100%;object-fit:cover}
body.bp2 .fm-card .g-name{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;min-height:0!important}
body.bp2 .fm-card{padding:0!important;min-height:0!important}
/* ffapg: square art, name below */
body.bp2.bp2-c-square-below .fm-card{background:transparent!important;overflow:visible!important;border-radius:0!important}
body.bp2.bp2-c-square-below .fm-card .g-art{border-radius:12px}
body.bp2.bp2-c-square-below .fm-card .g-name{background:none!important;color:var(--text)!important;padding:6px 2px 0!important;font:600 12px/1.25 "AL Body",sans-serif!important}
body.bp2.bp2-c-square-below .fm-card .g-prov{display:none!important}
/* official app lobby card (55nn/1988win/2008bra/777alfa): 3:4 card = square cover + dark name band inside the card */
body.bp2.bp2-c-portrait-overlay .grid{gap:8px!important}
body.bp2.bp2-c-portrait-overlay .fm-card{display:flex!important;flex-direction:column;aspect-ratio:3/4;border-radius:10px!important;overflow:hidden;background:#161616!important}
body.bp2.bp2-c-portrait-overlay .fm-card .g-art{flex:0 0 auto;border-radius:0}
body.bp2.bp2-c-portrait-overlay .fm-card .g-name{flex:1 1 auto;display:flex!important;align-items:center;justify-content:center;padding:2px 4px!important;background:#161616!important;color:#fff!important;font:600 12px/1.2 "AL Body",sans-serif!important;text-align:center!important;-webkit-line-clamp:2!important}
body.bp2.bp2-c-portrait-overlay .fm-card .g-prov{display:none!important}
/* qq555 provider lobby: 4 columns, 0.72 card */
body.bp2.bp2-c-provider-4 .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body.bp2.bp2-c-provider-4 .fm-card{display:flex!important;flex-direction:column;aspect-ratio:.72;border-radius:8px!important;overflow:hidden;background:var(--surface)!important}
body.bp2.bp2-c-provider-4 .fm-card .g-art{flex:0 0 auto}
body.bp2.bp2-c-provider-4 .fm-card .g-name{flex:1 1 auto;display:flex!important;align-items:center;justify-content:center;padding:2px 3px!important;background:var(--surface)!important;color:var(--text)!important;font:600 10.5px/1.2 "AL Body",sans-serif!important;text-align:center!important;-webkit-line-clamp:2!important}
body.bp2.bp2-c-provider-4 .fm-card .g-prov{display:none!important}
body.bp2.bp2-c-provider-4 .fm-sh h2{border-left:3px solid var(--tab-on,var(--text));padding-left:8px!important}
/* atlas: landscape 2:1 media card = square cover left + title/provider right */
body.bp2.bp2-c-landscape-2 .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.bp2.bp2-c-landscape-2 .fm-card{display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:1fr auto;column-gap:10px;aspect-ratio:2/1;border-radius:8px!important;overflow:hidden;background:var(--surface)!important}
body.bp2.bp2-c-landscape-2 .fm-card .g-art{grid-row:1/3;height:100%!important;width:auto!important}
body.bp2.bp2-c-landscape-2 .fm-card .g-name{align-self:end;background:none!important;color:var(--text)!important;text-align:left!important;padding:0 8px 0 0!important;font:800 13px/1.2 "AL Display",sans-serif!important;-webkit-line-clamp:2!important}
body.bp2.bp2-c-landscape-2 .fm-card .g-prov{position:static!important;display:block!important;align-self:start;background:none!important;color:var(--text)!important;text-align:left!important;padding:3px 8px 8px 0!important;font:500 11px "AL Body",sans-serif!important;height:auto!important}
/* index: compact indexpanel rows (thumb + name/provider), 2 columns on phones */
body.bp2.bp2-c-rows .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 12px!important}
body.bp2.bp2-c-rows .fm-card{display:grid!important;grid-template-columns:44px minmax(0,1fr);grid-template-areas:"a n" "a p";column-gap:8px;align-items:center;height:62px;padding:8px 0!important;border-bottom:1px solid var(--line);border-radius:0!important;background:transparent!important;overflow:visible!important}
body.bp2.bp2-c-rows .fm-card .g-art{grid-area:a;width:44px;border-radius:8px}
body.bp2.bp2-c-rows .fm-card .g-name{grid-area:n;align-self:end;background:none!important;color:var(--text)!important;text-align:left!important;padding:0!important;font:700 12.5px/1.2 "AL Body",sans-serif!important;-webkit-line-clamp:1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.bp2.bp2-c-rows .fm-card .g-prov{grid-area:p;position:static!important;display:block!important;align-self:start;background:none!important;color:var(--text)!important;text-align:left!important;padding:2px 0 0!important;font:500 11px "AL Body",sans-serif!important;height:auto!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* shelf: 2:3 card = square cover + title + provider */
body.bp2.bp2-c-shelf-portrait .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body.bp2.bp2-c-shelf-portrait .fm-card{display:flex!important;flex-direction:column;aspect-ratio:2/3;border-radius:10px!important;overflow:hidden;background:var(--surface)!important}
body.bp2.bp2-c-shelf-portrait .fm-card .g-name{background:none!important;color:var(--text)!important;text-align:left!important;padding:7px 8px 0!important;font:700 12px/1.25 "AL Body",sans-serif!important;-webkit-line-clamp:2!important}
body.bp2.bp2-c-shelf-portrait .fm-card .g-prov{position:static!important;display:block!important;background:none!important;color:var(--text)!important;text-align:left!important;padding:3px 8px 0!important;font:500 10.5px "AL Body",sans-serif!important;height:auto!important}
body.bp2.bp2-pg-home.bp2-l-shelf .fm-gs .grid{display:flex!important;overflow-x:auto;overflow-y:hidden;gap:10px!important;scroll-snap-type:x proximity;padding-bottom:4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
body.bp2.bp2-pg-home.bp2-l-shelf .fm-gs .grid::-webkit-scrollbar{display:none}
body.bp2.bp2-pg-home.bp2-l-shelf .fm-gs .grid>.fm-card{flex:0 0 30%;scroll-snap-align:start}
/* bento / feature-mix: Popular as 2 large columns, every other shelf 4 compact columns */
body.bp2.bp2-c-bento .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body.bp2.bp2-c-bento #populares .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.bp2.bp2-c-bento .fm-card{background:transparent!important;overflow:visible!important;border-radius:0!important}
body.bp2.bp2-c-bento .fm-card .g-art{border-radius:16px}
body.bp2.bp2-c-bento .fm-card .g-name{background:none!important;color:var(--text)!important;padding:5px 2px 0!important;font:600 10.5px/1.2 "AL Body",sans-serif!important;-webkit-line-clamp:1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.bp2.bp2-c-bento #populares .fm-card .g-name{font:800 14px/1.2 "AL Display",sans-serif!important;text-align:left!important;padding:8px 2px 0!important}
body.bp2.bp2-c-bento .fm-card .g-prov{display:none!important}
/* dock: square cover + name chip */
body.bp2.bp2-c-square-chip .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 10px!important}
body.bp2.bp2-c-square-chip .fm-card{background:transparent!important;overflow:visible!important;border-radius:0!important;text-align:center}
body.bp2.bp2-c-square-chip .fm-card .g-art{border-radius:20px}
body.bp2.bp2-c-square-chip .fm-card .g-name{display:block!important;margin:6px auto 0;padding:3px 8px!important;border-radius:999px;background:var(--surface)!important;color:var(--text)!important;font:600 11px/1.3 "AL Body",sans-serif!important;-webkit-line-clamp:1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body.bp2.bp2-c-square-chip .fm-card .g-prov{display:none!important}
/* split: framed cover + left caption (title + provider) */
body.bp2.bp2-c-wide-4x3 .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 10px!important}
body.bp2.bp2-c-wide-4x3 .fm-card{display:flex!important;flex-direction:column;aspect-ratio:3/4;background:transparent!important;overflow:hidden!important;border-radius:0!important}
body.bp2.bp2-c-wide-4x3 .fm-card .g-art{border-radius:4px;border:1px solid var(--line)}
body.bp2.bp2-c-wide-4x3 .fm-card .g-name{background:none!important;color:var(--text)!important;text-align:left!important;padding:6px 0 0!important;font:700 12px/1.2 "AL Body",sans-serif!important;-webkit-line-clamp:1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.bp2.bp2-c-wide-4x3 .fm-card .g-prov{position:static!important;display:block!important;background:none!important;color:var(--text)!important;text-align:left!important;padding:1px 0 0!important;font:500 10.5px "AL Body",sans-serif!important;height:auto!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ===== category display per lobby ===== */
body.bp2 .bp2-wrap--rail{display:grid;grid-template-columns:78px minmax(0,1fr);column-gap:10px;row-gap:0;align-items:start}
body.bp2 .bp2-wrap--rail>.fm-gs{grid-column:2}
body.bp2 .bp2-wrap--rail>nav.cats{grid-column:1;grid-row:1/span 30}
body.bp2 .bp2-wrap--rail>nav.cats{position:sticky;top:8px;padding:0!important;margin:0!important;background:transparent!important;border:0!important}
body.bp2 .bp2-wrap--rail>nav.cats .ct{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;overflow:visible!important;padding:0!important}
body.bp2 .bp2-wrap--rail>nav.cats .ct__tab{flex:0 0 auto!important;width:78px!important;min-width:0!important;height:64px!important;display:flex!important;flex-direction:column!important;align-items:center;justify-content:center;gap:4px;padding:4px!important;border-radius:10px!important;background:var(--surface)!important;color:var(--text)!important;border:0!important}
body.bp2 .bp2-wrap--rail>nav.cats .ct__tab.is-on{background:var(--pri)!important;color:var(--cta-fg)!important}
body.bp2 .bp2-wrap--rail>nav.cats .ct__tab.is-on i,body.bp2 .bp2-wrap--rail>nav.cats .ct__tab.is-on span{color:var(--cta-fg)!important}
body.bp2 .bp2-wrap--rail>nav.cats .ct__tab::after{display:none!important}
body.bp2 .bp2-wrap--rail>nav.cats .ct__tab span{font:600 11px "AL Body",sans-serif}
body.bp2 .bp2-wrap--rail>nav.cats .ct__tab i svg{width:22px;height:22px}
body.bp2.bp2-l-provider nav.cats{border-bottom:1px solid var(--line)}
body.bp2.bp2-l-editorial nav.cats{padding:12px 12px 4px!important;background:transparent!important;border:0!important}
body.bp2.bp2-l-editorial nav.cats .ct{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;scrollbar-width:none}
body.bp2.bp2-l-editorial nav.cats .ct__tab{flex:0 0 auto!important;width:auto!important;min-width:0!important;height:auto!important;display:flex!important;flex-direction:row!important;align-items:center;gap:6px;padding:7px 14px!important;border-radius:999px!important;border:1px solid var(--line)!important;background:var(--bg)!important;color:var(--text)!important}
body.bp2.bp2-l-editorial nav.cats .ct__tab.is-on{background:var(--pri)!important;color:var(--cta-fg)!important;border-color:var(--pri)!important}
body.bp2.bp2-l-editorial nav.cats .ct__tab.is-on span,body.bp2.bp2-l-editorial nav.cats .ct__tab.is-on i{color:var(--cta-fg)!important}
body.bp2.bp2-l-editorial nav.cats .ct__tab::after,body.bp2.bp2-l-shelf nav.cats .ct__tab::after,body.bp2.bp2-l-bento nav.cats .ct__tab::after,body.bp2.bp2-l-dock nav.cats .ct__tab::after,body.bp2.bp2-l-split nav.cats .ct__tab::after,body.bp2.bp2-l-indexpanel nav.cats .ct__tab::after{display:none!important}
body.bp2.bp2-l-editorial .fm-gs{margin:18px 12px 0!important}
body.bp2.bp2-l-editorial .fm-sh{border-bottom:2px solid var(--text);padding-bottom:6px;margin-bottom:12px}
body.bp2.bp2-l-editorial .fm-sh h2{font:800 20px "AL Display",sans-serif!important}
body.bp2.bp2-l-shelf nav.cats{padding:0 10px!important;background:var(--surface)!important;border:0!important}
body.bp2.bp2-l-shelf nav.cats .ct{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:18px!important;scrollbar-width:none}
body.bp2.bp2-l-shelf nav.cats .ct__tab{flex:0 0 auto!important;width:auto!important;min-width:0!important;height:42px!important;display:flex!important;flex-direction:row!important;align-items:center;gap:5px;padding:0!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:var(--text)!important;font-weight:700}
body.bp2.bp2-l-shelf nav.cats .ct__tab.is-on{border-bottom-color:var(--tab-on,var(--text))!important}
body.bp2.bp2-l-shelf .fm-gs{margin:16px 0 0 10px!important}
body.bp2.bp2-l-shelf .fm-sh{padding-right:10px}
body.bp2.bp2-l-bento nav.cats{padding:10px!important;background:transparent!important;border:0!important}
body.bp2.bp2-l-bento nav.cats .ct{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important}
body.bp2.bp2-l-bento nav.cats .ct__tab{width:auto!important;min-width:0!important;height:66px!important;display:flex!important;flex-direction:column!important;align-items:center;justify-content:center;gap:4px;padding:4px!important;border-radius:16px!important;background:var(--surface)!important;color:var(--text)!important;border:0!important}
body.bp2.bp2-l-bento nav.cats .ct__tab.is-on{outline:2px solid var(--tab-on,var(--text));outline-offset:-2px}
body.bp2.bp2-l-bento nav.cats .fm-tabnext{display:none!important}
body.bp2.bp2-l-bento .fm-gs{margin:14px 10px 0!important}
body.bp2 .bp2-wrap--dock>nav.cats{position:sticky;top:0;z-index:3;margin:0 0 12px!important;padding:4px!important;border-radius:999px;background:var(--surface)!important;border:0!important}
body.bp2 .bp2-wrap--dock>nav.cats .ct{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:4px!important;scrollbar-width:none}
body.bp2 .bp2-wrap--dock>nav.cats .ct__tab{flex:0 0 auto!important;width:auto!important;min-width:0!important;height:34px!important;display:flex!important;flex-direction:row!important;align-items:center;gap:5px;padding:0 12px!important;border-radius:999px!important;background:transparent!important;color:var(--text)!important;border:0!important}
body.bp2 .bp2-wrap--dock>nav.cats .ct__tab.is-on{background:var(--pri)!important;color:var(--cta-fg)!important}
body.bp2 .bp2-wrap--dock>nav.cats .ct__tab.is-on span,body.bp2 .bp2-wrap--dock>nav.cats .ct__tab.is-on i{color:var(--cta-fg)!important}
body.bp2.bp2-l-dock .bn{left:12px!important;right:12px!important;bottom:10px!important;border-radius:20px!important;width:auto!important;max-width:456px!important;border:1px solid var(--line)!important}
body.bp2 .bp2-wrap--split>nav.cats{margin:0 0 12px!important;padding:0!important;background:transparent!important;border:0!important}
body.bp2 .bp2-wrap--split>nav.cats .ct{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important}
body.bp2 .bp2-wrap--split>nav.cats .ct__tab{width:auto!important;min-width:0!important;height:40px!important;display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:8px;padding:0 12px!important;border-radius:6px!important;border:1px solid var(--line)!important;background:var(--bg)!important;color:var(--text)!important}
body.bp2 .bp2-wrap--split>nav.cats .ct__tab.is-on{border-left:4px solid var(--tab-on,var(--text))!important}
body.bp2 .bp2-wrap--indexpanel>nav.cats{margin:0 0 8px!important;padding:0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important}
body.bp2 .bp2-wrap--indexpanel>nav.cats .ct{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:0!important;scrollbar-width:none}
body.bp2 .bp2-wrap--indexpanel>nav.cats .ct__tab{flex:0 0 auto!important;width:auto!important;min-width:0!important;height:38px!important;display:flex!important;flex-direction:row!important;align-items:center;gap:5px;padding:0 12px!important;border-radius:0!important;border:0!important;border-right:1px solid var(--line)!important;background:transparent!important;color:var(--text)!important;font-weight:600}
body.bp2 .bp2-wrap--indexpanel>nav.cats .ct__tab.is-on{background:var(--surface)!important}

/* ===== 704 / desktop ===== */
@media (min-width:700px){
 body.bp2.bp2-c-landscape-2 .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.bp2.bp2-c-rows .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.bp2.bp2-pg-home.bp2-l-shelf .fm-gs .grid>.fm-card{flex:0 0 18%}
 body.bp2.bp2-c-shelf-portrait .grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 body.bp2.bp2-c-bento .grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 body.bp2.bp2-c-bento #populares .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.bp2.bp2-c-square-chip .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.bp2.bp2-c-wide-4x3 .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.bp2.bp2-f-wide .app{max-width:none}
 body.bp2.bp2-f-wide .bn{max-width:none}
 body.bp2.bp2-l-dock .bn{max-width:none!important}
 body.bp2 .bp2-wrap--indexpanel{display:grid;grid-template-columns:170px minmax(0,1fr);column-gap:18px;row-gap:0;align-items:start}
 body.bp2 .bp2-wrap--indexpanel>.fm-gs,body.bp2 .bp2-wrap--dock>.fm-gs,body.bp2 .bp2-wrap--split>.fm-gs{grid-column:2}
 body.bp2 .bp2-wrap--indexpanel>nav.cats,body.bp2 .bp2-wrap--dock>nav.cats,body.bp2 .bp2-wrap--split>nav.cats{grid-column:1;grid-row:1/span 30}
 body.bp2 .bp2-wrap--indexpanel>nav.cats{position:sticky;top:8px;border-bottom:0!important;border-right:1px solid var(--line)!important}
 body.bp2 .bp2-wrap--indexpanel>nav.cats .ct{display:grid!important;grid-template-columns:minmax(0,1fr)!important;overflow:visible!important}
 body.bp2 .bp2-wrap--indexpanel>nav.cats .ct__tab{border-right:0!important;border-bottom:1px solid var(--line)!important}
 body.bp2 .bp2-wrap--dock{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:16px;row-gap:0;align-items:start}
 body.bp2 .bp2-wrap--dock>nav.cats{top:8px;border-radius:22px;padding:6px!important}
 body.bp2 .bp2-wrap--dock>nav.cats .ct{display:grid!important;grid-template-columns:minmax(0,1fr)!important;overflow:visible!important;gap:6px!important}
 body.bp2 .bp2-wrap--dock>nav.cats .ct__tab{height:62px!important;flex-direction:column!important;justify-content:center;padding:4px!important;border-radius:16px!important;font-size:10.5px}
 body.bp2 .bp2-wrap--split{display:grid;grid-template-columns:210px minmax(0,1fr);column-gap:18px;row-gap:0;align-items:start}
 body.bp2 .bp2-wrap--split>nav.cats{position:sticky;top:8px}
 body.bp2 .bp2-wrap--split>nav.cats .ct{grid-template-columns:1fr!important}
 body.bp2 .bp2-mini.bp2-sq a.bp2-cv{flex:0 0 11%}
 body.bp2 .bp2-mini a.bp2-cv{flex:0 0 15%}
}
@media (min-width:1100px){
 body.bp2.bp2-f-wide .app{max-width:1120px}
 body.bp2.bp2-f-wide .bn{max-width:1120px}
 body.bp2.bp2-l-dock .bn{max-width:1096px!important}
 body.bp2.bp2-f-wide .s2b{width:100%;max-width:760px;margin:14px auto 0!important;align-self:center;border-radius:14px!important;overflow:hidden}
 body.bp2.bp2-c-landscape-2 .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.bp2.bp2-c-bento .grid{grid-template-columns:repeat(8,minmax(0,1fr))!important}
 body.bp2.bp2-c-bento #populares .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.bp2.bp2-c-square-chip .grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 body.bp2.bp2-c-wide-4x3 .grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 body.bp2.bp2-c-shelf-portrait .grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
 body.bp2.bp2-pg-home.bp2-l-shelf .fm-gs .grid>.fm-card{flex:0 0 13%}
 body.bp2.bp2-c-rows .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:699px){body.bp2 .bp2-ednav{display:none}body.bp2 .bp2-h-editorial-top .hd__btn{padding:6px 10px!important;min-width:0!important}}

/* BP4: real cover lists retain card semantics; decorative discovery thumbnails do not. */
body.bp2 a.bp2-cv.card{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;overflow:visible!important}
body.bp2 .bp2-category-icon{display:block;width:22px!important;height:22px!important;object-fit:contain!important}
body.bp2 .bp2-provider-logo{display:block;width:42px;height:28px;object-fit:contain}
body.bp2 .bp2-prov a{min-height:48px;height:auto;padding:5px 10px}
body.bp2 .bp2-prov small{white-space:nowrap}
body.bp2 .bp2-pstrip span:has(img){padding:2px 10px}
body.bp2 .bp2-pstrip .bp2-provider-logo{height:24px;width:48px}
body.bp2.bp2-qq555,body.bp2.bp2-qq555 *{font-family:'Prompt',sans-serif!important}
/* Original wide readers use an in-flow bottom navigation, so no fixed bar covers a game cover. */
@media(min-width:700px){
 body.bp2.bp2-pg-inner.bp2-f-wide{padding-bottom:0!important}
 body.bp2.bp2-pg-inner.bp2-f-wide .app{padding-bottom:0!important}
 body.bp2.bp2-pg-inner.bp2-f-wide .ft{padding-bottom:18px!important}
 body.bp2.bp2-pg-inner.bp2-f-wide nav.bn{position:static!important;transform:none!important;margin:0 auto!important}
}
/* Compact QQ announcement/actions on short phones; no block or content removed. */
@media(max-width:420px){
 body.bp2.bp2-qq555 .fm-notice{height:32px!important;min-height:0!important;margin-top:4px!important;padding:5px 8px!important;overflow:hidden;font-size:11px!important}
 body.bp2.bp2-qq555 .fm-notice p{min-width:0;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:11px!important;line-height:20px!important}
 body.bp2.bp2-qq555 .bp2-welcome{margin-top:4px;padding:5px 8px;gap:5px}
 body.bp2.bp2-qq555 .bp2-welcome b{font-size:11px}
 body.bp2.bp2-qq555 .bp2-w__in,body.bp2.bp2-qq555 .bp2-w__reg{padding:5px 8px;font-size:11px}
 body.bp2.bp2-qq555 .bp2-act{margin-top:4px;gap:5px}
 body.bp2.bp2-qq555 .bp2-act__it{gap:2px;padding:4px 2px}
 body.bp2.bp2-qq555 .bp2-act__it svg{width:18px;height:18px}
 body.bp2.bp2-qq555 .bp2-act__it b{font-size:10px}
 body.bp2.bp2-qq555 .bp2-pstrip{margin-top:4px}
 body.bp2.bp2-qq555 .bp2-pstrip span{padding:3px 8px;font-size:10px}
 body.bp2.bp2-qq555 .fm-cats .ct{padding-top:4px!important;padding-bottom:4px!important}
}

body.bp2 .bp2-qq-services{display:contents}
body.bp2.bp2-qq555 .fm-notice .fm-marq{min-width:0;height:20px!important;overflow:hidden;line-height:20px!important}
body.bp2.bp2-qq555 .fm-notice .fm-marq span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:20px!important;font-size:11px!important}
@media(max-width:420px) and (max-height:560px){
 body.bp2 .bp2-qq-services{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;align-items:center;padding:4px 10px;height:52px;scrollbar-width:thin}
 body.bp2 .bp2-qq-services>.bp2-welcome{flex:0 0 250px;margin:0!important;padding:5px 8px}
 body.bp2 .bp2-qq-services>.bp2-act{flex:0 0 250px;margin:0!important}
 body.bp2 .bp2-qq-services>.bp2-pstrip{flex:0 0 auto;margin:0!important}
 body.bp2.bp2-qq555 .fm-cats .fm-t{min-height:40px!important;height:44px!important;padding:2px!important;gap:1px!important}
 body.bp2.bp2-qq555 .fm-cats .ct{padding:2px 0!important}
 body.bp2.bp2-qq555 #populares{margin-top:5px!important}
 body.bp2.bp2-qq555 #populares .fm-sh{margin-bottom:6px!important}
}

/* Original indexpanel/split navigation boards: at most three meaningful rows, with real equal-size touch cells. */
body.bp2 .bp2-wrap--split>nav.cats .ct{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(min-width:700px){
 body.bp2 .bp2-wrap--indexpanel>nav.cats .ct,body.bp2 .bp2-wrap--split>nav.cats .ct{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;overflow:visible!important}
 body.bp2 .bp2-wrap--indexpanel>nav.cats .ct__tab,body.bp2 .bp2-wrap--split>nav.cats .ct__tab{width:auto!important;min-width:0!important;max-width:none!important;height:80px!important;display:flex!important;flex-direction:column!important;justify-content:center;gap:4px;padding:4px!important}
 body.bp2 .bp2-wrap--indexpanel>nav.cats .ct__tab span,body.bp2 .bp2-wrap--split>nav.cats .ct__tab span{font-size:10.5px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere;max-width:100%!important;text-align:center}
}

/* Keep official supplementary game shelves at a readable scale on the fixed 480px app canvas. */
@media(min-width:700px){
 body.bp2.bp2-k-official .bp2-mini a.bp2-cv{flex:0 0 27%}
 body.bp2.bp2-k-official .bp2-mini.bp2-sq a.bp2-cv{flex:0 0 23%}
}
/* Atlas media cards have bounded title and provider tracks; long names never spill below the row. */
body.bp2.bp2-c-landscape-2 .fm-card{grid-template-rows:minmax(0,1fr) 28px}
body.bp2.bp2-c-landscape-2 .fm-card .g-name{min-height:0;max-height:2.4em;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}
body.bp2.bp2-c-landscape-2 .fm-card .g-prov{box-sizing:border-box;height:28px!important;line-height:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Five theme-0 official references use the OS/system stack, not Nunito/Outfit. QQ555 stays Prompt. */
body.bp2.bp2-k-official:not(.bp2-qq555),body.bp2.bp2-k-official:not(.bp2-qq555) *{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,"Segoe UI",Arial,Roboto,"PingFang SC",miui,"Hiragino Sans GB","Microsoft Yahei",sans-serif!important}

/* bp5 authbar (LEIPG family: full-width split Login/Registro bar) */
body.bp2 .bp2-auth{display:grid;grid-template-columns:1fr 1fr;margin:8px 0 0}
body.bp2 .bp2-auth a{display:flex;align-items:center;justify-content:center;min-height:44px;font:800 16px "AL Display",sans-serif;letter-spacing:.02em;text-transform:uppercase;text-decoration:none!important}
body.bp2 .bp2-auth a.bp2-auth__in{background:var(--primary);color:var(--cta-fg,#111)!important}
body.bp2 .bp2-auth a.bp2-auth__reg{background:var(--reg-bg);color:var(--reg-fg)!important}

/* bp5 r2: mosaic names wrap to two lines instead of clipping (autovis CLIP "Fortune Dragon" 90>87 @390) */
body.bp2 .bp2-mos a.bp2-cv span{white-space:normal!important;text-overflow:clip!important;overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;line-height:1.15}

/* ---- bp5 r6 (20:5x, parent 20:43): struct_sig detail variants (lv-*) made VISIBLE on bp2 pages + logo plates (parent 20:43 logo visibility) ---- */
/* lv-k: game card name style. pn = dark plate under the art (portrait-overlay default); pb = art + surface plate, left-aligned name; pr = rounded tile, pill name over the art */
body.bp2.lv-k-pb.bp2-c-portrait-overlay .fm-card{aspect-ratio:auto!important;background:var(--surface)!important;border-radius:6px!important;border:1px solid var(--line)}
body.bp2.lv-k-pb.bp2-c-portrait-overlay .fm-card .g-name{justify-content:flex-start!important;text-align:left!important;padding:8px 9px!important;min-height:36px;background:var(--surface)!important;color:var(--text)!important;font:700 12px/1.25 "AL Body",sans-serif!important}
body.bp2.lv-k-pr.bp2-c-portrait-overlay .fm-card{position:relative!important;aspect-ratio:1/1!important;border-radius:18px!important;background:#161616!important}
body.bp2.lv-k-pr.bp2-c-portrait-overlay .fm-card .g-art{height:100%;border-radius:18px}
body.bp2.lv-k-pr.bp2-c-portrait-overlay .fm-card .g-name{position:absolute!important;left:6px!important;right:6px!important;top:auto!important;bottom:6px!important;min-height:0;padding:4px 8px!important;border-radius:999px!important;background:#161616!important;color:#fff!important;font:700 11px/1.2 "AL Body",sans-serif!important}
/* lv-n: notice form (full text always visible; no ellipsis/marquee). marq = edge-to-edge ticker bar with accent rail; static = inset box (default); chip = rounded outlined capsule */
body.bp2.lv-n-marq .fm-notice{margin:0!important;border-radius:0!important;border-left:4px solid var(--primary,var(--pri))!important;padding:8px 12px!important}
body.bp2.lv-n-chip .fm-notice{margin:10px 16px 0!important;border-radius:16px!important;border:1px solid var(--line)!important;padding:8px 14px!important}
/* lv-t-left already real via fam.css (icon left of the label); lv-f-center already real via fam.css (.fm-ft centred) */
/* logo plates: decided at build time from the logo pixels vs the palette (bp2.py _plates); w = light plate for dark marks, k = dark plate for light marks */
body.bp2.bp2-lgp-hd-w .hd img.hd__logo,body.bp2.bp2-lgp-hd-w .hd img.fm-logo{background:#fff!important;padding:3px 8px!important;border-radius:8px!important;box-sizing:content-box!important}
body.bp2.bp2-lgp-hd-k .hd img.hd__logo,body.bp2.bp2-lgp-hd-k .hd img.fm-logo{background:#111!important;padding:3px 8px!important;border-radius:8px!important;box-sizing:content-box!important}
body.bp2 .bn .bn__logo img{width:24px!important;height:24px!important;object-fit:contain}
body.bp2.bp2-lgp-bn-w .bn .bn__logo img{background:#fff!important;border-radius:6px!important;padding:2px!important;box-sizing:content-box!important}
body.bp2.bp2-lgp-bn-k .bn .bn__logo img{background:#111!important;border-radius:6px!important;padding:2px!important;box-sizing:content-box!important}

/* ---- bp5 r7: active category tab form (frozen per domain with the lv set): u = underline (fam default), p = filled capsule ---- */
body.bp2.bp2-ab-p .fm-cats--lobby .fm-t.is-on{border-bottom-color:transparent!important;background:var(--surface)!important;border-radius:999px!important;padding:8px 12px!important}
body.bp2.bp2-ab-p .fm-cats--lobby .fm-t.is-on span,body.bp2.bp2-ab-p .fm-cats--lobby .fm-t.is-on i{color:var(--text)!important}

/* ---- bp5 r8: wide word-mark small logos stay legible in the bottom nav (keep height, natural width up to 56px) ---- */
body.bp2 .bn .bn__logo{width:auto!important;min-width:24px}
body.bp2 .bn .bn__logo img{height:24px!important;width:auto!important;max-width:56px!important;object-fit:contain}

/* ---- bp5 fam04 (166BET): logo-search header = large word-mark left, search icon + label right ---- */
body.bp2 .bp2-h.bp2-h-logo-search{display:flex!important;align-items:center;justify-content:space-between;padding:6px 12px!important}
body.bp2 .bp2-h-logo-search .hd__brand img{max-height:40px!important;height:40px!important;width:auto!important;max-width:220px!important}
body.bp2 .bp2-h-logo-search .hd__right{display:flex;flex-direction:column;align-items:center;gap:1px}
body.bp2 .bp2-h-logo-search .bp2-srch__l{font:500 11px "AL Body",sans-serif;color:var(--text)}

/* ---- bp5 r9 / v3c (parent 22:27): no logo plates. Low-contrast marks get a HALO outline (light for dark marks, dark for light marks); passes the production autovis white-plate rule ---- */
body.bp2.bp2-lgp-hd-w .hd img.hd__logo,body.bp2.bp2-lgp-hd-w .hd img.fm-logo,body.bp2.bp2-lgp-hd-k .hd img.hd__logo,body.bp2.bp2-lgp-hd-k .hd img.fm-logo,body.bp2.bp2-lgp-bn-w .bn .bn__logo img,body.bp2.bp2-lgp-bn-k .bn .bn__logo img{background:none!important;padding:0!important;border-radius:0!important}
body.bp2.bp2-lgp-hd-w .hd img.hd__logo,body.bp2.bp2-lgp-hd-w .hd img.fm-logo,body.bp2.bp2-lgp-bn-w .bn .bn__logo img{filter:drop-shadow(1px 0 0 rgba(255,255,255,.98)) drop-shadow(-1px 0 0 rgba(255,255,255,.98)) drop-shadow(0 1px 0 rgba(255,255,255,.98)) drop-shadow(0 -1px 0 rgba(255,255,255,.98)) drop-shadow(0 0 1.5px rgba(255,255,255,.9))!important}
body.bp2.bp2-lgp-hd-k .hd img.hd__logo,body.bp2.bp2-lgp-hd-k .hd img.fm-logo,body.bp2.bp2-lgp-bn-k .bn .bn__logo img{filter:drop-shadow(1px 0 0 rgba(10,10,10,.98)) drop-shadow(-1px 0 0 rgba(10,10,10,.98)) drop-shadow(0 1px 0 rgba(10,10,10,.98)) drop-shadow(0 -1px 0 rgba(10,10,10,.98)) drop-shadow(0 0 1.5px rgba(10,10,10,.9))!important}

/* ---- bp5 r10 (parent 22:48): extra visible detail values for saturated families ----
   lv-k-pd = dense lobby: 4 columns, art + small surface name plate under it (card density)
   lv-f-min = compact footer: no column headings, links in one centred wrapped row (footer layout)
   lv-o-N = section order rotation (done in bp2.py; Populares first) */
body.bp2.lv-k-pd.bp2-c-portrait-overlay .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px 6px!important}
body.bp2.lv-k-pd.bp2-c-portrait-overlay .fm-card{aspect-ratio:auto!important;background:var(--surface)!important;border-radius:6px!important;border:1px solid var(--line)}
body.bp2.lv-k-pd.bp2-c-portrait-overlay .fm-card .g-art{position:relative!important;aspect-ratio:3/4}
body.bp2.lv-k-pd.bp2-c-portrait-overlay .fm-card .g-name{position:static!important;inset:auto!important;transform:none!important;justify-content:center!important;text-align:center!important;padding:5px 3px!important;min-height:30px;background:var(--surface)!important;color:var(--text)!important;font:700 10.5px/1.2 "AL Body",sans-serif!important;border-radius:0!important;-webkit-line-clamp:2}
body.bp2.lv-f-min .fm-ft{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:10px!important}
body.bp2.lv-f-min .fm-ft .fm-ft__col>b{display:none!important}
body.bp2.lv-f-min .fm-ft .fm-ft__links,body.bp2.lv-f-min .fm-ft nav{display:flex!important;flex-wrap:wrap;justify-content:center;gap:4px 14px!important}

/* bp5 r12: inverted (light/dark version) logo, keeps hue; thin opposite outline for edges */
body.bp2.bp2-lgp-hd-wi .hd img.hd__logo,body.bp2.bp2-lgp-hd-wi .hd img.fm-logo,body.bp2.bp2-lgp-bn-wi .bn .bn__logo img,body.bp2.bp2-lgp-hd-ki .hd img.hd__logo,body.bp2.bp2-lgp-hd-ki .hd img.fm-logo,body.bp2.bp2-lgp-bn-ki .bn .bn__logo img{filter:invert(1) hue-rotate(180deg)!important;background:none!important;padding:0!important}
