/* Maffqod v1.6.0: home redesign (phone width only) */
#scr-home .bellbtn{display:none}
@media (max-width:859px){
#scr-home.pg-home{--h-bg:#F6F6FA;--h-card:#fff;--h-ink:#151240;--h-mut:#6B6985;--h-ln:#E8E7F0;--h-ac:#4A3BC7;--h-tint:#F1EFFB;--h-lime:#E2EE2F;--h-sh:0 1px 2px rgba(21,18,64,.06),0 8px 22px rgba(21,18,64,.07);background:var(--h-bg);color:var(--h-ink)}
html[data-theme="dark"] #scr-home.pg-home{--h-bg:#0E0C22;--h-card:#1A1741;--h-ink:#F2F1FA;--h-mut:#A3A1C6;--h-ln:#2B2866;--h-ac:#9A8CFF;--h-tint:#272356;--h-sh:0 1px 2px rgba(0,0,0,.4),0 8px 22px rgba(0,0,0,.35)}
/* header D */
#scr-home.pg-home .site-header{position:relative;top:auto;background:linear-gradient(180deg,#1B1259,#3B2D9F);border:0;border-radius:0 0 26px 26px;box-shadow:0 12px 26px rgba(37,26,110,.3);padding-bottom:34px;overflow:hidden;z-index:1}
html[data-theme="dark"] #scr-home.pg-home .site-header{background:linear-gradient(180deg,#120D3D,#2A2282)}
#scr-home.pg-home .site-header::before{content:"";position:absolute;left:-130px;top:-40px;width:260px;height:200px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='200' viewBox='0 0 260 200'%3E%3Cg fill='none' stroke='%23E2EE2F'%3E%3Ccircle cx='130' cy='100' r='30' stroke-opacity='.55' stroke-width='2'/%3E%3Ccircle cx='130' cy='100' r='58' stroke-opacity='.3' stroke-width='2'/%3E%3Ccircle cx='130' cy='100' r='88' stroke-opacity='.16' stroke-width='2'/%3E%3C/g%3E%3Ccircle cx='130' cy='100' r='7' fill='%23E2EE2F'/%3E%3C/svg%3E") no-repeat}
#scr-home.pg-home .hd-in{position:relative;padding:8px 16px;min-height:60px;justify-content:space-between;gap:8px}
#scr-home.pg-home .brand{color:#fff;font-weight:700;font-size:22px;gap:8px}
#scr-home.pg-home .brand img{width:36px;height:36px;background:#fff;border-radius:11px;padding:3px;object-fit:contain}
#scr-home.pg-home .hd-tools{display:flex;align-items:center;gap:6px}
#scr-home.pg-home .themebtn,#scr-home.pg-home .cartbtn{display:none!important}
#scr-home.pg-home .flagbtn,#scr-home.pg-home .menubtn,#scr-home.pg-home .bellbtn{display:flex;align-items:center;justify-content:center;position:relative;height:38px;min-width:38px;padding:0 8px;border:0;border-radius:12px;background:rgba(255,255,255,.15);color:#fff;gap:4px;cursor:pointer;text-decoration:none}
#scr-home.pg-home .flagbtn svg path{stroke:#fff}
#scr-home.pg-home .bellbtn .bdot{position:absolute;top:8px;right:9px;width:8px;height:8px;border-radius:50%;background:var(--h-lime);border:2px solid #3a2fa8}
#scr-home.pg-home .flagbtn:focus-visible,#scr-home.pg-home .menubtn:focus-visible,#scr-home.pg-home .bellbtn:focus-visible{outline:3px solid var(--h-lime);outline-offset:2px}
/* layout: reorder the home blocks */
#scr-home.pg-home .wrap{display:flex;flex-direction:column;gap:14px;padding:0 16px 120px;max-width:none}
#scr-home.pg-home .top-grid,#scr-home.pg-home .top-side,#scr-home.pg-home #lf{display:contents}
#scr-home.pg-home #sw{order:1;margin-top:-22px;position:relative;z-index:3}
#scr-home.pg-home .cta{order:2}
#scr-home.pg-home .cats-sec{order:3}
#scr-home.pg-home .top-hero{order:4}
#scr-home.pg-home .top-side>div:not(.cta){order:5}
#scr-home.pg-home .ppl-cta{order:6}
#scr-home.pg-home #lft{order:7}
#scr-home.pg-home .tabs{order:8}
#scr-home.pg-home #ach{order:9}
#scr-home.pg-home .meta{order:10}
#scr-home.pg-home #grid{order:11}
#scr-home.pg-home #empty{order:12}
#scr-home.pg-home #moreW{order:13}
#scr-home.pg-home .sec-h{font-size:16px;font-weight:700;margin:0;color:var(--h-ink)}
/* search */
#scr-home.pg-home .sbox{height:48px;background:var(--h-card);border:1px solid var(--h-ln);border-radius:14px;box-shadow:var(--h-sh)}
#scr-home.pg-home .sbox input{color:var(--h-ink)}
/* two buttons */
#scr-home.pg-home .cta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
#scr-home.pg-home .cta a{position:relative;overflow:hidden;height:54px;min-height:0;padding:0 12px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;border:0}
#scr-home.pg-home .cta a::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0) 55%);pointer-events:none}
#scr-home.pg-home .cta a.lost{background:linear-gradient(135deg,#F2663F,#DC3F26);box-shadow:0 8px 16px rgba(224,67,42,.32)}
#scr-home.pg-home .cta a.found{background:linear-gradient(135deg,#17A589,#0B7F73);box-shadow:0 8px 16px rgba(11,127,115,.3)}
#scr-home.pg-home .cta a .go,#scr-home.pg-home .cta a small{display:none}
#scr-home.pg-home .cta a .ci{order:-1;flex:none;width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.22);display:grid;place-items:center;color:#fff;margin:0;position:static}
#scr-home.pg-home .cta a .ci svg{width:18px;height:18px}
#scr-home.pg-home .cta a b{font-size:14px;font-weight:700;color:#fff;position:relative}
/* categories */
#scr-home.pg-home .cats-sec{display:block;padding:0;margin:0}
#scr-home.pg-home .cats-sec .sec-h{margin-bottom:10px}
#scr-home.pg-home .railwrap{margin:0;max-width:100%;overflow:hidden}
#scr-home.pg-home .rail{padding:4px 16px;gap:10px}
#scr-home.pg-home .cc{flex:none;width:64px;min-width:64px;height:auto;padding:0;background:none;border:0;box-shadow:none;text-align:center;gap:4px;display:flex;flex-direction:column;align-items:center}
#scr-home.pg-home .cc .cp{width:52px;height:52px;border-radius:50%;background:var(--h-tint)!important;color:var(--h-ac)!important;display:grid;place-items:center;box-shadow:0 0 0 2px var(--h-card),0 0 0 3.5px var(--h-ln);overflow:hidden;margin:0;padding:0}
#scr-home.pg-home .cc .cp img{display:none}
#scr-home.pg-home .cc .cp svg{width:26px;height:26px;position:static}
#scr-home.pg-home .cc b{font-size:11px;font-weight:700;color:var(--h-ink);line-height:1.3}
/* hero */
#scr-home.pg-home .top-hero{margin:0;background:none;box-shadow:none;border:0}
#scr-home.pg-home .top-hero .lh{box-shadow:0 12px 26px rgba(37,26,110,.28)}
#scr-home.pg-home .top-hero .lh,#scr-home.pg-home .top-hero .lhs,#scr-home.pg-home .top-hero .ls{height:184px;min-height:0;border-radius:22px}
/* ad strip */
#scr-home.pg-home .top-side>div:not(.cta){margin:0}
#scr-home.pg-home .sl{height:auto;aspect-ratio:5/2;border-radius:18px;box-shadow:var(--h-sh)}
/* person card */
#scr-home.pg-home .ppl-cta{margin:0;padding:12px;background:var(--h-card);border:1px solid var(--h-ln);border-radius:18px;box-shadow:var(--h-sh);color:var(--h-ink)}
/* feed */
#scr-home.pg-home .tabs{margin:0}
#scr-home.pg-home #grid{display:grid;grid-template-columns:1fr;gap:14px}
/* bottom bar */
#scr-home.pg-home .dock{inset-inline:0;bottom:0;max-width:none;height:68px;border-radius:0;border:0;border-top:3px solid var(--h-ac);background:var(--h-card);box-shadow:0 -8px 24px rgba(21,18,64,.1);padding-bottom:env(safe-area-inset-bottom,0px)}

/* ad strip */
#scr-home.pg-home .sl .sd:not(.sio){height:100%!important;border-radius:18px!important;display:grid!important;grid-template-columns:1fr auto;grid-template-areas:"tg em" "tt em" "tx em";align-items:center;column-gap:10px;row-gap:0;padding:16px 18px!important;align-content:center}
#scr-home.pg-home #sl > a.sd > span.tg{grid-area:tg;justify-self:start;font-size:11px!important;font-weight:700;padding:0 8px!important;border-radius:8px!important;background:var(--h-lime)!important;color:#2a2a00!important;line-height:1.5;margin:0!important}
#scr-home.pg-home #sl > a.sd > b{grid-area:tt;font-size:18px!important;line-height:1.35!important;white-space:normal;margin:0!important}
#scr-home.pg-home #sl > a.sd > span.tx{grid-area:tx;font-size:13px!important;line-height:1.4!important;white-space:normal;opacity:.9;margin:0!important;display:block!important}
#scr-home.pg-home #sl > a.sd > em{grid-area:em;align-self:end;font-style:normal;background:var(--h-lime)!important;color:#222!important;border-radius:14px;padding:8px 16px!important;font-weight:700;font-size:12px!important;white-space:nowrap;margin:0!important}
/* feed cards: compact 2 columns */
#scr-home.pg-home #grid .it{border-radius:18px;box-shadow:var(--h-sh);background:var(--h-card);border:0;overflow:hidden}
#scr-home.pg-home #grid .it .im{height:190px;min-height:0;aspect-ratio:auto}
#scr-home.pg-home #grid .it .tx{padding:8px 10px 10px;gap:2px}
#scr-home.pg-home #grid .it .tx b,#scr-home.pg-home #grid .it .tx b a{font-size:14px;line-height:1.3;color:var(--h-ink)}

#scr-home.pg-home #grid .it .pl{font-size:11px;color:var(--h-mut)}
#scr-home.pg-home #grid .it .fr small{font-size:11px;color:var(--h-mut)}
#scr-home.pg-home #grid .it .st{font-size:11px;font-weight:700;border-radius:8px;padding:0 9px;border:0;border-top:3px solid currentColor;background:#fff}
#scr-home.pg-home #grid .it .rw{font-size:11px;padding:0 8px}
#scr-home.pg-home .meta{font-size:12px;margin:-4px 0 0;color:var(--h-mut)}
#scr-home.pg-home .ppl-cta .ab a{height:38px;font-size:13px;border-radius:12px}

/* person card: same in both themes */
#scr-home.pg-home .ppl-cta .tt small{display:none}
#scr-home.pg-home .ppl-cta .tt b{color:var(--h-ink)}
#scr-home.pg-home .ppl-cta .ab a.s{background:var(--h-ink);color:var(--h-bg);border:0}
#scr-home.pg-home .ppl-cta .ab a.r{background:transparent;color:var(--h-ink);border:1.5px solid var(--h-ink)}
html[data-theme="dark"] #scr-home.pg-home .ppl-cta .ab a.s{background:var(--h-ac);color:#0E0C22}
html[data-theme="dark"] #scr-home.pg-home .ppl-cta .ab a.r{border-color:var(--h-mut);color:var(--h-ink)}
html[data-theme="dark"] #scr-home.pg-home .ppl-cta .ic{background:rgba(224,67,42,.14);color:#FF8A6B}
/* dark: header controls and search must match light sizing */
html[data-theme="dark"] #scr-home.pg-home .flagbtn,html[data-theme="dark"] #scr-home.pg-home .menubtn,html[data-theme="dark"] #scr-home.pg-home .bellbtn{height:38px;min-width:38px;padding:0 8px;border:0;border-radius:12px;background:rgba(255,255,255,.15);color:#fff}
html[data-theme="dark"] #scr-home.pg-home #lf .sbox{height:48px;background:var(--h-card);border:1px solid var(--h-ln);border-radius:14px;padding:0 14px}
html[data-theme="dark"] #scr-home.pg-home #lf .sbox svg{color:var(--h-ac)}
html[data-theme="dark"] #scr-home.pg-home #lf .tab{height:38px;font-size:14px;max-width:none;border-radius:20px;background:var(--h-card);border:1px solid var(--h-ln)}
html[data-theme="dark"] #scr-home.pg-home #lf .tab[aria-pressed="true"]{background:var(--h-ac);color:#0E0C22;border-color:var(--h-ac)}
html[data-theme="dark"] #scr-home.pg-home #lf .it{border:0;border-radius:18px;background:var(--h-card);box-shadow:var(--h-sh)}
#scr-home.pg-home #sw{position:relative!important;z-index:5!important}
#scr-home.pg-home .site-header{z-index:1!important}
#scr-home.pg-home .sl .sd.sio{height:100%!important;aspect-ratio:auto}
#scr-home.pg-home .sl .sd.sio img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}
#scr-home.pg-home{overflow-x:clip}
#scr-home.pg-home #grid .it .ds{display:block}
}
/* v1.6.2 header F */
@media (max-width:859px){

#scr-home.pg-home .site-header{background:#fff!important;border:0!important;border-radius:0 0 26px 26px!important;box-shadow:0 10px 26px rgba(74,59,199,.12)!important;padding-bottom:72px!important;overflow:visible!important}
#scr-home.pg-home .site-header::before{display:none!important}
#scr-home.pg-home .brand{color:#151240!important}
#scr-home.pg-home .brand img{background:transparent!important;padding:0!important;width:38px!important;height:38px!important}
#scr-home.pg-home .flagbtn,#scr-home.pg-home .menubtn,#scr-home.pg-home .bellbtn{background:#F3F1FB!important;border:0!important;color:#151240!important;border-radius:50%!important;box-shadow:none!important;height:40px!important;min-width:40px!important}
#scr-home.pg-home .flagbtn{border-radius:20px!important}
#scr-home.pg-home .flagbtn svg path{stroke:#151240!important}
#scr-home.pg-home .bellbtn .bdot{background:#D8E52A!important;border-color:#F3F1FB!important}
#scr-home.pg-home #sw{margin-top:-60px!important;position:relative;z-index:5!important}
#scr-home.pg-home #sw>*{box-shadow:none!important}
#scr-home.pg-home #sw .sbox,#scr-home.pg-home #sw [class*=sb]{background:#F3F1FB!important;border-color:transparent!important}
html[data-theme="dark"] #scr-home.pg-home .site-header{background:#17143F!important;box-shadow:0 10px 26px rgba(0,0,0,.4)!important}
html[data-theme="dark"] #scr-home.pg-home .brand,html[data-theme="dark"] #scr-home.pg-home .flagbtn,html[data-theme="dark"] #scr-home.pg-home .menubtn,html[data-theme="dark"] #scr-home.pg-home .bellbtn{color:#F2F1FA!important}
html[data-theme="dark"] #scr-home.pg-home .flagbtn,html[data-theme="dark"] #scr-home.pg-home .menubtn,html[data-theme="dark"] #scr-home.pg-home .bellbtn{background:rgba(255,255,255,.08)!important}
html[data-theme="dark"] #scr-home.pg-home .flagbtn svg path{stroke:#F2F1FA!important}
html[data-theme="dark"] #scr-home.pg-home .bellbtn .bdot{border-color:#26225C!important}
html[data-theme="dark"] #scr-home.pg-home #sw .sbox,html[data-theme="dark"] #scr-home.pg-home #sw [class*=sb]{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;color:#ECEBF7!important}
html[data-theme="dark"] #scr-home.pg-home #sw input{background:transparent!important;color:#ECEBF7!important}
}
/* v1.6.2 photo category tiles */
@media (max-width:859px){#scr-home.pg-home .cc{width:68px!important;min-width:68px!important}#scr-home.pg-home .cc .cp{width:60px!important;height:60px!important;border-radius:16px!important;box-shadow:0 1px 4px rgba(23,20,63,.18)!important;background-size:cover!important;background-position:center!important}#scr-home.pg-home .cc .cp svg{display:none!important}#scr-home.pg-home .cc b{font-size:11px!important;white-space:nowrap!important}}
#scr-home.pg-home .cc .cp{background-size:cover!important;background-position:center!important}
#scr-home.pg-home .cc .cp svg{display:none!important}
#scr-home.pg-home #rail .cc:nth-child(1) .cp{background-image:url(../images/cat/1.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(2) .cp{background-image:url(../images/cat/2.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(3) .cp{background-image:url(../images/cat/3.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(4) .cp{background-image:url(../images/cat/4.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(5) .cp{background-image:url(../images/cat/5.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(6) .cp{background-image:url(../images/cat/6.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(7) .cp{background-image:url(../images/cat/7.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(8) .cp{background-image:url(../images/cat/8.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(9) .cp{background-image:url(../images/cat/9.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(10) .cp{background-image:url(../images/cat/10.jpg)!important}
#scr-home.pg-home #rail .cc:nth-child(11) .cp{background-image:url(../images/cat/11.jpg)!important}

/* v1.6.3 category filter */
#scr-home.catf .top-hero,#scr-home.catf .top-side>div:not(.cta),#scr-home.catf .ppl-cta{display:none!important}
#scr-home.pg-home #ach .ac.all{background:#4A3BC7!important;color:#fff!important;border-color:#4A3BC7!important}
