/* JakSky V202 UI Polish. Preserves V201 page dimensions and app behaviors.
   Only changes metadata chips and category presentation on the home page.
   Contrast: warm espresso #4b3b35 with near-white #f9efe6.
   Glass remains on the existing bottom navbar, not repeated on every card.
   Applies outside seasonal Christmas mode only. */
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta > span {
 display:inline-flex!important;align-items:center!important;gap:5px!important;
 padding:4px 7px!important;min-height:23px!important;
 border:1px solid rgba(238,215,194,.3)!important;
 border-radius:10px!important;background:#4b3b35!important;
 color:#f9efe6!important;-webkit-text-fill-color:#f9efe6!important;
 font-size:11px!important;font-weight:650!important;
 box-shadow:none!important;font-variant-numeric:tabular-nums!important;
}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta > span::before {
 content:""!important;display:inline-block!important;position:static!important;
 flex:0 0 14px!important;width:14px!important;height:14px!important;
 background-color:transparent!important;background-repeat:no-repeat!important;
 background-position:center!important;background-size:contain!important;
 -webkit-mask:none!important;mask:none!important;filter:none!important;
}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta > span > :is(.j112-svg,.j110-icon) {display:none!important;}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta {gap:5px 5px!important;}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta > span.j110-meta-rating::before {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23E9BC76%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%202.4%203.0%206.2%206.9%201-5%204.8%201.2%206.9L12%2018.1l-6.1%203.2%201.2-6.9-5-4.8%206.9-1z%22%2F%3E%3C%2Fsvg%3E")!important;}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta > span.j110-meta-views::before {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23E8D7CA%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s4.3-6.2%2010-6.2%2010%206.2%2010%206.2-4.3%206.2-10%206.2S2%2012%202%2012Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222.8%22%2F%3E%3C%2Fsvg%3E")!important;}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta > span.j110-meta-like::before {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23E8D7CA%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2010%2012%203h2v6h5.5a2%202%200%200%201%202%202.5l-2%208H7zM2%2010h5v10H2z%22%2F%3E%3C%2Fsvg%3E")!important;}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta > span.j110-meta-dislike::before {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23E8D7CA%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2014%2012%2021h2v-6h5.5a2%202%200%200%200%202-2.5l-2-8H7zM2%204h5v10H2z%22%2F%3E%3C%2Fsvg%3E")!important;}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta > span.j110-meta-comment::before {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23E8D7CA%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4.5%204.5h15a2%202%200%200%201%202%202v10a2%202%200%200%201-2%202H9l-5.5%203V6.5a2%202%200%200%201%202-2z%22%2F%3E%3Cpath%20d%3D%22M7.5%2010.5h9M7.5%2014h6%22%2F%3E%3C%2Fsvg%3E")!important;}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #list>.card .meta > span.j110-meta-download::before {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23E8D7CA%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m-5-5%205%205%205-5M4%2018v3h16v-3%22%2F%3E%3C%2Fsvg%3E")!important;}

/* The old #filterTabs buttons stay in the DOM, preserving onclick listeners.
   Only the three core filters and the Lainnya trigger are displayed. */
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs {
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 align-items:stretch!important;justify-content:stretch!important;
 gap:7px!important;box-sizing:border-box!important;
 width:100%!important;max-width:640px!important;
 overflow:visible!important;margin:0!important;
 padding:10px 0 11px!important;transform:none!important;
}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs > button:not([data-jx202-primary]) {display:none!important;}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs > button[data-jx202-primary] {
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 justify-content:center!important;align-items:center!important;
 gap:3px!important;min-width:0!important;width:100%!important;
 min-height:47px!important;margin:0!important;padding:7px 2px!important;
 border-radius:12px!important;white-space:nowrap!important;
 font-size:clamp(10px,2.8vw,13px)!important;
 line-height:1.25!important;letter-spacing:0!important;
 background:#eee0d3!important;color:#322922!important;-webkit-text-fill-color:#322922!important;
 border:1px solid rgba(255,251,246,.84)!important;
 box-shadow:0 2px 5px rgba(52,38,33,.08)!important;
}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs > button[data-jx202-primary] :is(.j112-svg,.j110-icon) {
 width:17px!important;height:17px!important;flex:0 0 17px!important;
}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs > button[data-jx202-primary].active,
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs > button#jx202MoreTrigger.jx202Selection {
 background:#5b4a42!important;color:#fff8ee!important;
 -webkit-text-fill-color:#fff8ee!important;
 border-color:#a38d7f!important;
}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs > button#jx202MoreTrigger {font-weight:700!important;}
/* Dialog is native: modal focus trapping, keyboard Escape and real close actions. */
html:not(.jx193Christmas) .jx202MoreDialog {
 box-sizing:border-box;position:fixed;left:50%;top:auto;bottom:max(90px,env(safe-area-inset-bottom));
 transform:translateX(-50%);margin:0;
 width:min(calc(100vw - 26px),420px);max-height:min(75vh,420px);
 padding:16px;border-radius:17px;
 border:1px solid #ddc9b9;background:#f3e7da;color:#342923;
 box-shadow:0 16px 36px rgba(28,19,16,.26);
}
html:not(.jx193Christmas) .jx202MoreDialog::backdrop {background:rgba(21,16,15,.44);}
html:not(.jx193Christmas) .jx202MoreHeading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;}
html:not(.jx193Christmas) .jx202MoreHeading strong {color:#302720;font-size:17px;}
html:not(.jx193Christmas) .jx202MoreHeading button {min-height:44px;border:0;background:transparent;color:#5d4b41;font-weight:650;font-size:13px;}
html:not(.jx193Christmas) .jx202MoreChoices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
html:not(.jx193Christmas) .jx202MoreChoices button {
 min-height:55px;padding:11px 13px;border-radius:12px;
 border:1px solid #d7c5b8;background:#e8d9cb;color:#352b26;
 font-size:14px;font-weight:670;text-align:left;
}
html:not(.jx193Christmas) .jx202MoreChoices button:active {background:#d9c4b3;}
html:not(.jx193Christmas) .jx202MoreChoices button:disabled {opacity:.5;cursor:not-allowed;}
html:not(.jx193Christmas) :is(.jx202MoreDialog button,#filterTabs > button):focus-visible {outline:3px solid #f2c88f!important;outline-offset:3px!important;}
@media(max-width:340px){
 html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs {gap:5px!important;}
 html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs > button[data-jx202-primary] {font-size:10px!important;padding-inline:0!important;}
}
@media (min-width:700px){
 html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10 #filterTabs > button[data-jx202-primary] {flex-direction:row!important;gap:8px!important;font-size:14px!important;}
}
@media(prefers-reduced-motion:reduce){
 html:not(.jx193Christmas) .jx202MoreDialog * {transition:none!important;animation:none!important;}
}
