/* BaixaPlay: layout adapted from the supplied APK1 page captures. */
:root, html.dark {
  color-scheme: dark;
  --text: 'Onest', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --color-text: #f1f1ed;
  --color-text-rgb: 241,241,237;
  --color-body: #262626;
  --color-body-rgb: 38,38,38;
  --color-light1: #303030;
  --color-light2: #353535;
  --color-light3: #404040;
  --color-light1-rgb: 48,48,48;
  --color-light2-rgb: 53,53,53;
  --color-light3-rgb: 64,64,64;
  --color-primary: #ccfb56;
  --color-primary-rgb: 204,251,86;
  --color-primary-h: #dbff85;
  --color-primary-a: #b9e744;
  --wrp-max-size: 1320px;
  --section-title-size: 26px;
  --section-gap: 48px;
  --card-radius: 24px;
}
* { box-sizing: border-box; }
body { padding-top:0 !important; background:#262626 !important; color:#f1f1ed; font-family:var(--text); }
a { color:inherit; }
a:hover { color:var(--color-primary); }
.wrp { width:min(100% - 64px,1320px); max-width:1320px; margin-left:auto; margin-right:auto; }
.screen-reader-text { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.apk-header { position:fixed !important; inset:0 auto 0 0; width:96px !important; height:100vh !important; z-index:100; display:flex !important; flex-direction:column; align-items:center; padding:26px 8px; background:#202020 !important; border-right:1px solid #383838; box-shadow:none !important; }
.apk-header-logo { flex:none !important; width:75px; height:48px; display:flex; align-items:center; justify-content:center; color:#ccfb56 !important; font-size:15px; font-weight:900; letter-spacing:-1px; line-height:1; text-decoration:none; }
.apk-header-logo span,.footer-brand span { color:#fff; }
.apk-menu { width:100%; margin-top:45px; display:flex !important; flex-direction:column; gap:8px; background:none !important; }
.apk-menu a { display:flex; flex-direction:column; align-items:center; gap:4px; width:100%; padding:14px 0; border-radius:18px; text-decoration:none; font-size:11px; font-weight:700; color:#b4b4b4; }
.apk-menu a:hover,.apk-menu a.active { color:#ccfb56; background:#333; }
.apk-menu .nav-icon { display:block; width:25px; height:25px; }
.apk-search { width:100%; margin-top:auto; display:flex; justify-content:center; }
.apk-search input { display:none; }
.apk-search button { display:grid; place-items:center; width:46px; height:46px; border:0; border-radius:16px; color:#ccfb56; background:#343434; font-size:30px; cursor:pointer; }
.apk-header.search-open .apk-search input { position:absolute; display:block; left:105px; bottom:26px; width:270px; padding:13px 18px; border:1px solid #555; border-radius:15px; color:#fff; background:#303030; }
.apk-content,.apk-footer { margin-left:96px !important; }
.bp-home { padding:46px 0 90px; }
.bp-intro { padding:10px 0 48px; }
.bp-eyebrow { color:#ccfb56; font-size:12px; font-weight:800; letter-spacing:.17em; }
.bp-intro h1 { max-width:780px; margin:13px 0 8px; font-size:clamp(34px,4vw,58px); line-height:1.08; letter-spacing:-.05em; font-weight:800; }
.bp-intro h1 span { color:#ccfb56; }
.bp-intro p { margin:0; color:#aaa; font-size:16px; }
.bp-section { margin-bottom:45px; }
.bp-section-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:20px; }
.bp-section-head h2 { margin:0; font-size:clamp(23px,2.1vw,30px); line-height:1.2; letter-spacing:-.03em; font-weight:800; }
.bp-section-head a { display:inline-flex; gap:13px; align-items:center; flex:none; color:#ccfb56; font-size:13px; font-weight:800; text-decoration:none; }
.bp-section-head a span { display:grid; place-items:center; width:30px; height:30px; border:1px solid #607239; border-radius:50%; }
.bp-grid { display:grid; gap:17px; }
.bp-grid-poster { grid-template-columns:repeat(4,minmax(0,1fr)); }
.bp-grid-app { grid-template-columns:repeat(8,minmax(0,1fr)); }
.bp-grid-ranked { grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:repeat(2,auto); grid-auto-flow:row; }
.bp-card { min-width:0; }
.bp-card-link { position:relative; display:block; height:100%; text-decoration:none; color:#fff; }
.bp-card-art { display:block; overflow:hidden; background:linear-gradient(135deg,#4f5d31,#34383c); }
.bp-card-art img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.bp-card-link:hover .bp-card-art img { transform:scale(1.05); }
.bp-card-title { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:750; line-height:1.28; }
.bp-card-category { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#aaa; font-size:12px; }
.bp-rating { display:block; color:#ccfb56; font-size:12px; font-weight:700; }
.bp-card-poster { border-radius:26px; background:#303030; overflow:hidden; }
.bp-card-poster .bp-card-link { padding-bottom:17px; }
.bp-card-poster .bp-card-art { aspect-ratio:1.78; border-radius:25px; }
.bp-card-poster .bp-card-details { position:relative; display:block; padding:15px 47px 0 18px; min-height:69px; }
.bp-card-poster .bp-card-title { font-size:15px; }
.bp-card-poster .bp-card-mini { display:none; }
.bp-card-poster .bp-download { position:absolute; right:14px; bottom:20px; display:grid; place-items:center; width:33px; height:33px; border-radius:50%; background:#ccfb56; color:#222; font-size:22px; font-weight:800; }
.bp-card-app .bp-card-art { width:100%; aspect-ratio:1; border-radius:23px; }
.bp-card-app .bp-card-details { display:block; padding:10px 2px 0; }
.bp-card-app .bp-card-title { font-size:13px; }
.bp-card-app .bp-rating { margin-top:4px; }
.bp-card-ranked .bp-card-link { display:flex; align-items:center; gap:12px; min-height:88px; padding:11px; border-radius:20px; background:#313131; }
.bp-card-ranked .bp-rank { width:22px; flex:none; text-align:center; color:#ccfb56; font-size:21px; font-weight:800; }
.bp-card-ranked .bp-card-art { width:63px; height:63px; flex:none; border-radius:15px; }
.bp-card-ranked .bp-card-details { min-width:0; }
.bp-card-ranked .bp-card-title { font-size:13px; }
.bp-card-ranked .bp-rating { margin-top:3px; }
.bp-categories { padding:24px; margin-bottom:48px; border-radius:26px; background:#ccfb56; color:#202020; }
.bp-categories .bp-section-head { margin-bottom:17px; }
.bp-chip-list { display:flex; flex-wrap:wrap; gap:10px; }
.bp-chip-list a { display:inline-flex; align-items:center; justify-content:space-between; gap:18px; padding:11px 15px; border:1px solid rgba(0,0,0,.16); border-radius:13px; color:inherit; text-decoration:none; font-size:13px; font-weight:700; }
.bp-chip-list a:hover { background:rgba(0,0,0,.1); color:inherit; }
.bp-divider { height:1px; width:calc(100% - 64px); margin:12px auto 45px; background:#414141; }
.bp-archive { padding:47px 0 90px; }
.bp-page-heading { margin-bottom:38px; }
.bp-breadcrumb { display:flex; gap:9px; align-items:center; color:#aaa; font-size:13px; }
.bp-breadcrumb a { color:#ccfb56; text-decoration:none; }
.bp-page-heading h1 { margin:20px 0; font-size:clamp(38px,5vw,62px); letter-spacing:-.05em; line-height:1.05; }
.bp-category-description { max-width:700px; color:#bbb; }
.bp-page-heading .bp-chip-list { margin-top:27px; }
.bp-page-heading .bp-chip-list a { border-color:#555; }
.bp-archive-grid { grid-template-columns:repeat(6,minmax(0,1fr)); row-gap:30px; }
.bp-pagination { margin-top:36px; }
.bp-pagination .pages { display:flex; gap:8px; }
.apk-footer { padding:40px 0; border-top:1px solid #414141; background:#202020 !important; }
.apk-footer .wrp { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.footer-brand { color:#ccfb56; font-weight:900; text-decoration:none; }
.apk-footer-menu { display:flex; flex-wrap:wrap; gap:20px; }
.apk-footer-menu a { color:#bbb; text-decoration:none; font-size:13px; }
.copyright-text { color:#888; font-size:12px; }
/* Detail and utility templates keep their existing data bindings. */
.app-whead { background:#2d2d2d !important; }
.app-whead .wrp { padding-top:38px; padding-bottom:38px; }
.app-whead .circle-bg,.app-view-bg { display:none !important; }
.app-whead .heading { font-size:clamp(32px,3.4vw,52px) !important; letter-spacing:-.04em; }
.app-whead-icon .app-head-icon { max-width:128px; }
.app-whead-icon .app-icon { border-radius:28px !important; }
.app-whead-btns .btn-app-download,.btn-fill { background:#ccfb56 !important; color:#212121 !important; border-radius:16px !important; }
.app-view { padding-top:45px !important; }
.app-view .app-description { font-size:16px; line-height:1.7; }
.app-side-info,.side-block,.app-cont-section { border-radius:24px; }
.spec-list,.side-block,.app-side-info { background:#303030; }
.app-screens .screen-img { border-radius:20px; overflow:hidden; }
.breadcrumb a { color:#ccfb56; }
@media (max-width:1200px) {
  .bp-grid-app { grid-template-columns:repeat(6,minmax(0,1fr)); }
  .bp-grid-ranked { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .bp-archive-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media (max-width:800px) {
  .wrp { width:calc(100% - 32px); }
  .apk-header { position:sticky !important; inset:0 !important; width:100% !important; height:auto !important; flex-direction:row; justify-content:space-between; padding:12px 16px; border-right:0; border-bottom:1px solid #3d3d3d; }
  .apk-header-logo { width:auto; font-size:20px; }
  .apk-menu { width:auto; margin:0; flex-direction:row; gap:0; }
  .apk-menu a { width:56px; padding:5px 2px; font-size:9px; }
  .apk-menu .nav-icon { width:21px; height:21px; }
  .apk-search { display:flex; width:auto; margin:0; }
  .apk-search button { width:38px; height:38px; }
  .apk-header.search-open .apk-search input { left:auto; right:16px; bottom:auto; top:calc(100% + 8px); width:min(280px,calc(100vw - 32px)); }
  .apk-content,.apk-footer { margin-left:0 !important; }
  .bp-home,.bp-archive { padding-top:25px; }
  .bp-intro { padding-bottom:30px; }
  .bp-grid-poster { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bp-grid-app,.bp-archive-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .bp-grid-ranked { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bp-divider { width:calc(100% - 32px); }
  .apk-footer .wrp { flex-wrap:wrap; }
}
@media (max-width:520px) {
  .apk-header { flex-wrap:wrap; }
  .apk-header-logo { width:100%; justify-content:flex-start; height:26px; }
  .apk-menu { width:100%; justify-content:space-between; }
  .bp-grid-poster { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; }
  .bp-card-poster { flex:0 0 82%; scroll-snap-align:start; }
  .bp-grid-app,.bp-archive-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
  .bp-grid-ranked { grid-template-columns:1fr; }
  .bp-section { margin-bottom:34px; }
  .bp-card-app .bp-card-art { border-radius:17px; }
  .bp-categories { padding:20px; }
  .bp-chip-list a { font-size:12px; padding:9px 11px; }
}

.bp-search-form { display:flex; gap:10px; max-width:660px; margin:20px 0; }
.bp-search-form input { flex:1; min-width:0; padding:15px 18px; border:1px solid #555; border-radius:15px; background:#303030; color:#fff; font:inherit; }
.bp-search-form button,.bp-home-link { display:inline-flex; align-items:center; justify-content:center; padding:13px 18px; border:0; border-radius:15px; background:#ccfb56; color:#202020; font:inherit; font-weight:800; text-decoration:none; cursor:pointer; }
.bp-page-heading p { color:#aaa; }
.content-head-center { padding-top:50px; }
.content-head-center .heading { font-size:clamp(34px,4vw,56px); letter-spacing:-.04em; }
.tab-menu { display:flex; flex-wrap:wrap; gap:10px; margin:25px 0; }
.tab-menu a { border:1px solid #555; border-radius:14px; color:#ddd; }
.tab-menu a.active,.tab-menu a:hover { border-color:#ccfb56; color:#ccfb56; }
.grid-list.app-list { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px; }
.grid-list.app-list .card-app { min-width:0; }
.grid-list.app-list .card-app .app-icon { width:100%; height:auto; aspect-ratio:1; border-radius:20px; }
@media(max-width:800px) { .grid-list.app-list { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:520px) { .grid-list.app-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; } .bp-search-form { flex-direction:column; } }

/* Theme switch: the visitor preference is applied before CSS is painted. */
.bp-theme-toggle,.scroll-up { display:grid; place-items:center; width:42px; height:42px; padding:0; border:0; border-radius:50%; background:#eeeeea; color:#262626; cursor:pointer; }
.bp-theme-toggle { margin-top:auto; flex:none; }
.apk-search { margin-top:14px; flex:none; }
.bp-card-version { display:block; margin-bottom:3px; font-size:11px; line-height:1.3; color:#aaa; }
.bp-card-poster .bp-card-version { display:none; }
:focus-visible { outline:3px solid #96bb3a; outline-offset:4px; }
html.light {
  color-scheme:light;
  --color-text:#262626; --color-text-rgb:38,38,38;
  --color-body:#fff; --color-body-rgb:255,255,255;
  --color-light1:#f5f5f3; --color-light1-rgb:245,245,243;
  --color-light2:#eeefec; --color-light2-rgb:238,239,236;
  --color-light3:#e1e3dd; --color-light3-rgb:225,227,221;
  --color-primary:#427200; --color-primary-rgb:66,114,0;
  --color-primary-h:#305500; --color-primary-a:#244000;
  --app-icon-rate-bg:#e8eae2; --app-icon-rate-bg2:#d9dccf;
  --share-drop-bg:255,255,255; --search-page-input-bg:#f5f5f3;
}
html.light body { background:#fff !important; color:#262626; }
html.light .apk-header,html.light .apk-footer { background:#f7f7f5 !important; border-color:#e1e3dd; }
html.light .apk-header-logo,html.light .footer-brand { color:#427200 !important; }
html.light .apk-header-logo span,html.light .footer-brand span { color:#262626; }
html.light .apk-menu a,html.light .apk-footer-menu a { color:#555; }
html.light .apk-menu a:hover { background:#e8ebdf; color:#262626; }
html.light .bp-theme-toggle,html.light .scroll-up { background:#262626; color:#fff; }
html.light .apk-search button { background:#e7eadf; color:#262626; }
html.light .apk-header.search-open .apk-search input,html.light .bp-search-form input { background:#fff; color:#262626; border-color:#aaa; }
html.light .bp-card-link { color:#262626; }
html.light .bp-card-poster,html.light .bp-card-ranked .bp-card-link,html.light .spec-list,html.light .side-block,html.light .app-side-info { background:#f5f5f3; }
html.light .bp-card-category,html.light .bp-card-version,html.light .bp-breadcrumb,html.light .bp-page-heading p,html.light .bp-category-description { color:#62665c; }
html.light .bp-rating,html.light .bp-rank,html.light .bp-section-head a,html.light .bp-breadcrumb a,html.light .breadcrumb a { color:#427200; }
html.light .bp-categories .bp-section-head a { color:#262626; }
html.light .bp-divider { background:#e1e3dd; }
html.light .bp-page-heading .bp-chip-list a,html.light .tab-menu a { border-color:#ccd0c5; color:#444; }
html.light .tab-menu a.active,html.light .tab-menu a:hover { background:#ccfb56; color:#262626; border-color:#ccfb56; }
html.light .app-whead { background:#f5f5f3 !important; }
html.light .copyright-text { color:#666; }
html.light .text a,html.light .page-entry a { color:#427200; }
@media(max-width:800px) {
  .apk-header { gap:8px; }
  .bp-theme-toggle,.apk-search { margin-top:0; }
  .bp-theme-toggle { width:36px; height:36px; }
}
@media(max-width:520px) {
  .apk-header { display:grid !important; grid-template-columns:1fr 38px 38px; grid-template-rows:auto auto; padding:10px 16px; }
  .apk-header-logo { grid-column:1; grid-row:1; width:auto; }
  .bp-theme-toggle { grid-column:2; grid-row:1; }
  .apk-search { grid-column:3; grid-row:1; }
  .apk-menu { grid-column:1 / -1; grid-row:2; width:100%; }
  .apk-menu a { min-height:44px; }
  .bp-section-head { gap:10px; }
  .bp-section-head a { font-size:12px; gap:6px; }
  .bp-section-head a span { width:25px; height:25px; }
  .app-whead .wrp { padding-top:24px; padding-bottom:24px; }
  .app-whead .heading { font-size:30px !important; overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .bp-card-art img { transition:none; }
}

/* Reset legacy mobile-search visibility from the previous header. */
.apk-header .apk-search { opacity:1; transform:none; }
.scroll-up { color:#262626 !important; font-size:24px; }
html.light .scroll-up { color:#fff !important; }
@media(max-width:800px) { .apk-header .apk-search { position:static; } }

/* Navigation panels, full-screen search and the APK1 detail composition. */
.bp-icon { display:inline-block; width:24px; height:24px; flex:0 0 auto; vertical-align:middle; }
.bp-section-head .bp-icon,.bp-chip-list .bp-icon { width:18px; height:18px; }
.bp-section-head a span { width:34px; height:34px; background:#ccfb56; color:#262626; border:0; }
.bp-chip-list a { gap:14px; }
.bp-chip-list a .bp-icon { transition:transform .15s ease; }
.bp-chip-list a:hover .bp-icon { transform:translateX(3px); }
.bp-card-poster .bp-download { width:auto; height:38px; padding:0 14px; border-radius:16px; font-size:12px; background:#eee; color:#262626; box-shadow:0 3px 8px #0002; }
.bp-card-poster .bp-card-details { padding-right:90px; }
.bp-home-link { gap:12px; }
.apk-menu .bp-nav-trigger { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:14px 0; width:100%; border:0; border-radius:18px; background:none; color:var(--color-text); font:inherit; font-size:11px; font-weight:600; cursor:pointer; }
.apk-menu .bp-nav-trigger:hover,.apk-menu .bp-nav-trigger[aria-expanded=true] { background:var(--color-light2); color:var(--color-primary); }
.bp-nav-item { width:100%; }
.bp-nav-panel[hidden] { display:none !important; }
.bp-nav-panel { position:fixed; left:96px; top:24px; width:320px; max-height:calc(100dvh - 48px); overflow:auto; overscroll-behavior:contain; background:var(--color-light1); color:var(--color-text); border:1px solid var(--color-light3); border-radius:0 24px 24px 0; box-shadow:15px 12px 42px #0003; padding:20px; text-align:left; }
.bp-nav-panel-title { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:13px; color:var(--color-text); margin-bottom:18px; }
.bp-nav-close,.bp-dialog-close { display:grid; place-items:center; width:40px; height:40px; padding:0; border:1px solid var(--color-light3); border-radius:50%; background:var(--color-light2); color:var(--color-text); cursor:pointer; }
.bp-nav-group + .bp-nav-group { border-top:1px solid var(--color-light3); padding-top:22px; margin-top:22px; }
.apk-menu .bp-nav-panel a { width:auto; display:flex; flex-direction:row; text-align:left; justify-content:flex-start; gap:8px; font-size:14px; font-weight:500; padding:8px 10px; border-radius:10px; color:var(--color-text); }
.apk-menu .bp-nav-panel a:hover { background:var(--color-light3); color:var(--color-text); }
.apk-menu .bp-nav-panel .bp-nav-heading { justify-content:space-between; font-size:16px; font-weight:750; padding:0 0 14px; }
.bp-nav-shortcuts { display:flex; gap:6px; flex-wrap:wrap; padding-bottom:14px; }
.apk-menu .bp-nav-shortcuts a { font-size:12px; border:1px solid var(--color-light3); padding:8px 10px; }
.bp-search-open { display:grid; place-items:center; flex:none; margin-top:14px; width:44px; height:44px; border-radius:50%; color:var(--color-text); background:var(--color-light2); }
html.bp-modal-open { overflow:hidden; }
.bp-search-dialog { inset:0; margin:auto; padding:0; width:100%; max-width:none; height:100%; max-height:none; border:0; background:rgba(var(--color-body-rgb),.78); color:var(--color-text); overflow:auto; }
.bp-search-dialog::backdrop,.bp-share-dialog::backdrop { background:#1115; -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); }
.bp-search-shell { position:relative; width:min(800px,calc(100% - 48px)); margin:clamp(80px,20vh,190px) auto 50px; padding-top:20px; }
.bp-search-shell .bp-dialog-close { position:fixed; right:32px; top:28px; }
.bp-search-kicker { font-size:13px; font-weight:800; letter-spacing:.17em; color:var(--color-primary); }
.bp-search-shell h2 { margin:16px 0; font-size:clamp(30px,5vw,52px); line-height:1.1; letter-spacing:-.04em; }
.bp-search-shell p { margin-bottom:20px; }
.bp-overlay-search { display:flex; align-items:center; gap:16px; padding:12px 12px 12px 24px; margin-top:35px; background:var(--color-body); border:1px solid var(--color-light3); border-radius:24px; box-shadow:0 16px 50px #0001; }
.bp-overlay-search:focus-within { border-color:var(--color-primary); }
.bp-overlay-search input { width:100%; min-width:0; padding:12px 0; border:0; outline:none; background:transparent; color:var(--color-text); font:inherit; font-size:22px; }
.bp-overlay-search button { width:54px; height:54px; flex:none; display:grid; place-items:center; border:0; border-radius:18px; background:#ccfb56; color:#262626; cursor:pointer; }
.bp-search-hint { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-top:14px; font-size:12px; opacity:.7; }
.bp-search-explore { display:flex; flex-wrap:wrap; gap:12px; margin-top:35px; }
.bp-search-explore a { display:flex; align-items:center; gap:14px; border:1px solid var(--color-light3); padding:12px 18px; border-radius:30px; font-size:14px; }
.bp-single { padding:40px 0 60px; }
.bp-post { margin-bottom:48px; }
.bp-post-head { display:flex; align-items:center; gap:24px; margin-bottom:28px; }
.bp-post-icon { flex:0 0 100px; width:100px; margin:0; }
.bp-post-icon img { width:100px; height:100px; object-fit:cover; border-radius:26px; }
.bp-post-title { flex:1; min-width:0; }
.bp-post-title h1 { font-size:clamp(24px,2.3vw,34px); line-height:1.25; letter-spacing:-.025em; margin:10px 0 0; font-weight:800; overflow-wrap:anywhere; }
.bp-post-title .breadcrumb { margin:0; padding:0; font-size:12px; text-transform:uppercase; white-space:normal; flex-wrap:wrap; }
.bp-post-title .breadcrumb li:last-child { display:none; }
.bp-offline { display:inline-block; margin-top:8px; font-size:12px; color:var(--color-primary); }
.bp-post-actions { display:flex; gap:8px; flex:none; }
.bp-primary-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:17px 22px; border:0; border-radius:24px; font:inherit; font-size:15px; font-weight:750; line-height:1.4; background:#ccfb56; color:#262626; cursor:pointer; box-shadow:0 4px 18px #ccfb5612; text-decoration:none; }
.bp-primary-button:hover { background:#dbff85; color:#202020; }
.bp-share-open { width:58px; padding:0; }
.bp-post-specs { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:20px; margin:0 0 32px; padding:22px 24px; border:1px solid var(--color-light3); border-radius:26px; }
.bp-post-specs div { min-width:0; }
.bp-post-specs dt { font-size:12px; opacity:.65; margin-bottom:8px; }
.bp-post-specs dd { margin:0; font-size:14px; overflow-wrap:anywhere; }
.bp-post-info { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:40px; margin-bottom:34px; }
.bp-post h2 { font-size:24px; line-height:1.3; margin:0 0 18px; letter-spacing:-.02em; }
.bp-post-about .app-description { font-size:16px; line-height:1.9; }
.bp-description-clamped { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; max-height:7.6em; }
.bp-read-more { display:flex; align-items:center; gap:10px; background:none; color:var(--color-text); border:0; padding:0; margin-top:20px; cursor:pointer; font:inherit; font-size:12px; font-weight:800; text-transform:uppercase; }
.bp-read-more .bp-icon { padding:4px; width:26px; height:26px; border-radius:50%; background:#ccfb56; color:#262626; }
.bp-read-more[aria-expanded=true] .bp-icon { transform:rotate(180deg); }
.bp-post-rating .rate-wrapper { display:flex; align-items:center; flex-wrap:nowrap; gap:16px; }
.bp-post-rating .rate-stat { text-align:center; flex:none; padding:0; }
.bp-post-rating .rate-score { font-size:54px; line-height:1.2; font-weight:400; }
.bp-post-rating .rate-votes { font-size:11px; text-transform:uppercase; opacity:.7; }
.bp-post-rating .rate-stars { margin:0; min-width:0; }
.bp-post-rating .rate-title { font-size:14px; margin-bottom:10px; }
.bp-post-screens { margin:30px 0; }
.bp-post-screens .screen-list { display:flex; gap:12px; overflow-x:auto; overscroll-behavior-x:contain; padding:0 0 12px; margin:0; }
.bp-post-screens .screen-list li { flex:0 0 auto; width:auto; padding:0; margin:0; max-width:90%; }
.bp-post-screens .screenshot-frame { width:auto; height:230px; padding:0; margin:0; }
.bp-post-screens .screen-list li .cover img { position:static; display:block; width:auto; height:230px; max-width:none; object-fit:contain; }
.bp-post-screens .screen-list::before,.bp-post-screens .screen-list::after,.bp-post-screens .cover::after { display:none; }
.bp-post .tags { margin:24px 0; }
.bp-share-dialog { width:min(480px,calc(100% - 32px)); border:1px solid var(--color-light3); border-radius:28px; padding:30px; background:var(--color-body); color:var(--color-text); }
.bp-share-dialog .bp-dialog-close { float:right; }
.bp-share-dialog h2 { margin:6px 0 16px; }
.bp-share-dialog label { display:block; font-size:12px; margin-top:24px; }
.bp-share-dialog input { width:100%; padding:14px; margin:10px 0 20px; border:1px solid var(--color-light3); border-radius:14px; background:var(--color-light1); color:var(--color-text); }
.bp-copy-status { margin-top:15px; font-size:13px; }
.screenshot-lightbox button { display:grid; place-items:center; }
/* Legacy endpoint controls use the same vector geometry. */
.ic-circle-arrow,.card-line-arrow { border:0; background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; width:24px; height:24px; }
.ic-circle-arrow::before,.ic-circle-arrow::after,.card-line-arrow::before,.card-line-arrow::after { display:none; }
@media(max-width:1100px) {
  .bp-post-head { flex-wrap:wrap; }
  .bp-post-actions { margin-left:124px; }
  .bp-post-info { grid-template-columns:minmax(0,1fr) 280px; gap:24px; }
}
@media(max-width:800px) {
  .bp-nav-item { width:auto; }
  .apk-menu .bp-nav-trigger { width:56px; padding:5px 2px; font-size:10px; }
  .apk-menu .bp-nav-trigger .bp-icon { width:22px; height:22px; }
  .bp-nav-panel { left:16px; top:80px; width:calc(100% - 32px); max-height:calc(100dvh - 96px); border-radius:22px; }
  .bp-nav-categories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bp-search-open { margin:0; width:38px; height:38px; }
  .bp-single { padding-top:28px; }
  .bp-post-info { grid-template-columns:1fr; }
  .bp-post-rating { max-width:360px; }
}
@media(max-width:520px) {
  .bp-search-open { grid-column:3; grid-row:1; }
  .bp-nav-panel { top:112px; max-height:calc(100dvh - 128px); }
  .bp-search-shell { width:calc(100% - 32px); margin-top:100px; }
  .bp-search-shell .bp-dialog-close { right:18px; top:18px; }
  .bp-overlay-search { gap:10px; padding:8px 8px 8px 14px; border-radius:20px; }
  .bp-overlay-search > .bp-icon { display:none; }
  .bp-overlay-search input { font-size:16px; }
  .bp-overlay-search button { width:46px; height:46px; border-radius:14px; }
  .bp-post-head { gap:16px; }
  .bp-post-icon { flex-basis:76px; width:76px; }
  .bp-post-icon img { width:76px; height:76px; border-radius:20px; }
  .bp-post-title h1 { font-size:23px; }
  .bp-post-title .breadcrumb { font-size:10px; }
  .bp-post-actions { margin:2px 0 0; width:100%; }
  .bp-post-actions > a { flex:1; }
  .bp-post-specs { grid-template-columns:repeat(2,minmax(0,1fr)); padding:20px; gap:20px 14px; }
  .bp-post h2 { font-size:22px; }
  .bp-post-screens .screenshot-frame,.bp-post-screens .screen-list li .cover img { height:180px; }
}
/* Keep the rating inside its column at every legacy breakpoint. */
.bp-post-rating .rate-wrapper { padding-bottom:0; gap:14px; }
.bp-post-rating .rate-stat { min-width:72px; width:72px; margin:0; }
.bp-post-rating .unit-rating { width:190px; height:38px; margin:0; }
.bp-post-rating .rate-stars { text-align:left; }

.bp-post { padding-left:0; padding-right:0; }
@media(max-width:1100px) {
  .bp-post-title { flex-basis:calc(100% - 124px); }
}
@media(max-width:520px) {
  .bp-post-title { flex-basis:calc(100% - 92px); }
}

/* Final navigation and file-picker refinements. */
.apk-header .apk-header-logo { flex-direction:column; gap:2px; width:80px; height:54px; letter-spacing:-.04em; font-size:20px; line-height:1; text-align:center; }
.apk-header-logo .bp-brand-first { color:#ccfb56; }
html.light .apk-header-logo .bp-brand-first { color:#427200; }
.apk-menu .bp-nav-trigger { gap:8px; }
.apk-menu .bp-nav-trigger > .bp-icon { display:block; width:25px; height:25px; margin:0 auto; }
.bp-section-head a span { display:flex; align-items:center; justify-content:center; }
.bp-post-rating .unit-rating { width:180px; height:36px; --ratestar-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='m18 2 4.7 10.2 11.1 1.4-8.2 7.6 2.2 11-9.8-5.5-9.8 5.5 2.2-11-8.2-7.6 11.1-1.4Z'/%3E%3C/svg%3E"); }
.bp-post-rating .current-rating { background:#f4d84b; }
.bp-post-rating .rate-score { font-size:56px; line-height:1; margin-bottom:10px; }
.bp-post-rating .rate-title { font-size:14px; }
.bp-files { margin:36px 0; scroll-margin-top:24px; }
.bp-files-head { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:24px; }
.bp-files-eyebrow { display:block; font-size:11px; font-weight:750; letter-spacing:.12em; color:var(--color-primary); margin-bottom:10px; }
.bp-files h2 { margin-bottom:8px; }
.bp-files-head p { font-size:14px; opacity:.65; margin:0; }
.bp-versions-link { display:inline-flex; align-items:center; gap:12px; flex:none; font-size:13px; }
.bp-file-version { background:var(--color-light1); border:1px solid var(--color-light3); border-radius:24px; padding:22px; margin-bottom:18px; }
.bp-file-version > header { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:0 0 16px; }
.bp-file-version h3 { font-size:18px; margin:0; }
.bp-current-version { display:inline-block; padding:5px 9px; background:#ccfb56; color:#263113; border-radius:7px; font-size:10px; font-weight:750; }
.bp-file-processors { margin-left:auto; font-size:12px; opacity:.6; }
.bp-file-version .alt-file-info { margin:0 0 18px; padding:12px 16px; border-radius:12px; background:var(--color-body); color:var(--color-text); }
.bp-file-version .alt-file-info-toggle { color:var(--color-primary); }
.bp-file-version .alt-file-info summary { padding:0; }
.bp-file-row { display:flex; align-items:center; gap:16px; padding:18px 0; }
.bp-file-row + .bp-file-row { border-top:1px solid var(--color-light3); }
.bp-file-row:last-child { padding-bottom:0; }
.bp-file-icon { display:grid; place-items:center; width:44px; height:44px; background:var(--color-body); border-radius:14px; flex:none; }
.bp-file-label { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.bp-file-label strong { font-size:15px; }
.bp-file-label span { font-size:12px; opacity:.7; overflow-wrap:anywhere; }
.bp-file-size { flex:none; font-size:13px; margin:0 12px; }
.bp-file-button { display:inline-flex; align-items:center; justify-content:center; gap:20px; min-width:144px; min-height:52px; padding:12px 20px; background:#ccfb56; color:#262626; border-radius:16px; font-size:14px; font-weight:750; text-decoration:none; flex:none; }
.bp-file-button:hover { background:#dfff8d; color:#262626; }
@media(max-width:800px) {
  .apk-header .apk-header-logo { width:80px; font-size:17px; height:40px; }
  .bp-files { scroll-margin-top:132px; }
  .bp-post-actions { margin-left:124px; }
}
@media(max-width:520px) {
  .apk-header .apk-header-logo { align-items:center; justify-self:start; width:68px; height:42px; font-size:17px; }
  .apk-menu { justify-content:space-around; }
  .apk-menu .bp-nav-trigger { gap:4px; min-width:72px; }
  .bp-nav-panel { top:122px; max-height:calc(100dvh - 138px); }
  .bp-post-actions { margin-left:0; }
  .bp-files-head { flex-direction:column; align-items:flex-start; gap:16px; }
  .bp-file-version { padding:18px; }
  .bp-file-row { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:14px 12px; }
  .bp-file-size { margin:0; font-size:12px; }
  .bp-file-button { grid-column:1 / -1; width:100%; }
  .bp-file-processors { margin-left:0; width:100%; }
}

.bp-post-rating .rate-stat { min-width:92px; width:92px; }
.bp-post-rating .rate-votes { white-space:nowrap; }
.bp-post-specs dd a { display:inline-block; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; vertical-align:bottom; }
/* Override the old aspect-ratio padding and translated absolute images. */
.bp-post-screens .screen-list li .cover { display:block; padding:0; height:230px; width:auto; }
.bp-post-screens .screen-list li .cover img { transform:none; left:auto; top:auto; }
@media(max-width:520px) { .bp-post-screens .screen-list li .cover { height:180px; } }

/* Images remain visible without the lightbox script; reserve lazy-image space. */
.bp-post-screens .screen-list li { flex:0 0 auto; }
.bp-post-screens .screen-list .screenshot-frame { min-width:160px; }
.bp-post-screens .screen-list .screenshot-frame::before,
.bp-post-screens .screen-list .screenshot-frame::after { display:none !important; }
.bp-post-screens .screen-list li .cover img { opacity:1 !important; visibility:visible; width:auto; max-width:none; object-fit:contain; }
.apk-header .bp-brand { flex-direction:row; width:76px; gap:5px; padding:0; margin:0 auto; background:none; text-indent:0; transform:none; }
.bp-brand::before,.bp-brand::after { display:none !important; }
.bp-brand-mark { display:block; flex:0 0 24px; width:24px; height:24px; }
.bp-brand-words { display:flex; flex-direction:column; align-items:center; gap:2px; font-size:15px; letter-spacing:-.04em; line-height:1; }
.bp-native-share { width:100%; margin:16px 0 10px; justify-content:center; }
.bp-share-dialog .bp-copy-link { width:100%; justify-content:center; background:var(--color-light1); color:inherit; border:1px solid currentColor; }
@media(max-width:760px) { .apk-header .bp-brand { width:94px; margin:0; justify-self:start; } }
/* Legacy mobile CSS hid every span, including the new SVG download icon. */
.alt-download .btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:44px; min-height:44px; }
.alt-download .btn > span:first-child { display:inline-flex !important; }
.alt-download .btn .bp-icon { flex:none; width:20px; height:20px; }

.bp-share-dialog input[readonly] { color:var(--color-text); opacity:1; }
