*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#08090d;color:#f7f7fb;line-height:1.5;overflow-x:hidden;-webkit-text-size-adjust:100%}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.bg-orb{position:fixed;width:42vw;height:42vw;border-radius:50%;filter:blur(100px);opacity:.16;pointer-events:none;z-index:-2}.orb-a{background:#7c3aed;top:-18vw;left:-12vw;animation:orbFloat 12s ease-in-out infinite alternate}.orb-b{background:#06b6d4;right:-18vw;bottom:-20vw;animation:orbFloat 15s ease-in-out infinite alternate-reverse}.noise{position:fixed;inset:0;opacity:.035;pointer-events:none;z-index:10;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E")}.nav{position:sticky;top:0;z-index:20;min-height:64px;padding:8px max(14px,4vw);display:flex;align-items:center;justify-content:space-between;background:rgba(8,9,13,.82);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-bottom:1px solid rgba(255,255,255,.07)}.logo{display:flex;align-items:center;gap:9px;font-weight:800;font-size:17px;flex:none}.logo-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#8b5cf6,#06b6d4);box-shadow:0 8px 28px rgba(99,102,241,.3);animation:logoPulse 3s ease-in-out infinite}.nav-links{display:flex;align-items:center;gap:10px;margin-left:auto;color:#a9a9b5;font-size:12px;max-width:calc(100vw - 230px)}.nav-links>a{padding:8px 10px;white-space:nowrap}.nav-links>a:hover,.nav-category.active{color:#fff}.category-nav{display:flex;align-items:center;gap:4px;max-width:min(720px,52vw);overflow-x:auto;scrollbar-width:none}.category-nav::-webkit-scrollbar{display:none}.nav-category{display:flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid transparent;background:transparent;color:#a9a9b5;border-radius:9px;padding:7px 8px;cursor:pointer;font-size:11px}.nav-category:hover{color:#fff;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.08)}.nav-category small{font-size:8px;color:#666673}.nav-actions{display:flex;gap:7px;margin-left:10px;flex:none}.icon-btn{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#fff;border-radius:11px;width:40px;height:40px;cursor:pointer;touch-action:manipulation}.mobile-only{display:none}.hero{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:90px 0 55px;display:grid;grid-template-columns:1.35fr .65fr;gap:60px;align-items:center}.badge{display:inline-flex;align-items:center;gap:8px;color:#bcb6ff;font-size:11px;font-weight:800;letter-spacing:.13em;border:1px solid rgba(139,92,246,.25);background:rgba(139,92,246,.08);padding:8px 12px;border-radius:999px;animation:fadeUp .7s ease both}.badge i,.status i,.live-label i{width:7px;height:7px;background:#34d399;border-radius:50%;display:inline-block;box-shadow:0 0 12px #34d399}.hero h1{font-size:clamp(42px,6.2vw,78px);line-height:1.02;letter-spacing:-.055em;margin:24px 0 22px;animation:fadeUp .8s .08s ease both}.hero h1 em{font-style:normal;background:linear-gradient(90deg,#a78bfa,#22d3ee);background-clip:text;-webkit-background-clip:text;color:transparent;background-size:200% auto;animation:gradientShift 5s ease-in-out infinite}.hero-copy>p{max-width:670px;color:#a7a7b3;font-size:17px;animation:fadeUp .8s .16s ease both}.hero-search,.directory-search{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.11);box-shadow:0 18px 60px rgba(0,0,0,.22);transition:.25s}.hero-search{margin-top:30px;max-width:690px;padding:6px 8px 6px 17px;border-radius:17px;min-height:52px;animation:fadeUp .8s .24s ease both}.hero-search:focus-within,.directory-search:focus-within{border-color:rgba(139,92,246,.6);box-shadow:0 0 0 4px rgba(139,92,246,.08),0 18px 60px rgba(0,0,0,.22)}.hero-search span,.directory-search span{font-size:24px;color:#92929e}.hero-search input,.directory-search input{min-width:0;flex:1;background:transparent;border:0;outline:0;color:#fff;font-size:15px}.hero-search button{border:0;background:transparent;color:#777784;font-size:22px;cursor:pointer;min-width:34px;min-height:34px}.quick-actions{display:flex;gap:10px;margin-top:15px;animation:fadeUp .8s .32s ease both}.quick-actions button{border:0;background:transparent;color:#aaa;cursor:pointer;padding:8px 0;margin-right:18px;touch-action:manipulation}.quick-actions button:first-child{color:#fff}.hero-mini{padding:27px;border-radius:25px;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.1);box-shadow:0 30px 90px rgba(0,0,0,.25);animation:fadeUp .9s .2s ease both}.hero-mini>strong{display:block;font-size:70px;font-weight:800;letter-spacing:-.06em}.hero-mini>span{color:#858591;font-size:13px}.hero-mini>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}.hero-mini b{padding:14px;border-radius:15px;background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.06);font-size:22px}.hero-mini small{padding:0 14px;color:#777783;font-size:11px}.section{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:52px 0}.directory-first{padding-top:25px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.eyebrow{font-size:8px;letter-spacing:.14em;color:#777783;font-weight:800}.section h2,.about h2{font-size:25px;letter-spacing:-.035em;margin:2px 0 0}.live-label{font-size:10px;color:#8d8d98;display:flex;gap:6px;align-items:center}.directory-search{width:100%;padding:5px 15px;border-radius:15px;min-height:50px;margin-bottom:14px}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.category{position:relative;overflow:hidden;min-height:92px;padding:14px 15px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.035);cursor:pointer;transition:.25s;color:inherit;text-align:left;touch-action:manipulation}.category:hover{transform:translateY(-4px) scale(1.01);border-color:rgba(139,92,246,.4);background:rgba(255,255,255,.055);box-shadow:0 14px 35px rgba(0,0,0,.2)}.category .num{font-size:25px;line-height:1;font-weight:800;letter-spacing:-.05em}.category h3{margin:8px 0 1px;font-size:13px;line-height:1.2}.category p{margin:0;color:#777783;font-size:9px}.category .arrow{position:absolute;right:12px;top:11px;color:#70707b;font-size:12px}.toolbar{display:flex;justify-content:space-between;gap:14px;margin-bottom:18px}.filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none;min-width:0}.filters::-webkit-scrollbar{display:none}.filter{white-space:nowrap;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#9d9da8;padding:9px 14px;border-radius:999px;cursor:pointer;touch-action:manipulation;transition:.2s}.filter.active,.filter:hover{color:#fff;background:rgba(139,92,246,.18);border-color:rgba(139,92,246,.35);transform:translateY(-1px)}select{color:#ddd;background:#111219;border:1px solid rgba(255,255,255,.1);border-radius:11px;padding:9px 12px;outline:0;min-height:40px}.result-count{color:#74747f;font-size:12px}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.service{position:relative;padding:18px;border:1px solid rgba(255,255,255,.075);border-radius:19px;background:rgba(255,255,255,.04);transition:transform .25s,background .25s,border-color .25s,box-shadow .25s;min-height:145px;animation:cardIn .5s ease both}.service:hover{transform:translateY(-5px);background:rgba(255,255,255,.065);border-color:rgba(255,255,255,.14);box-shadow:0 16px 40px rgba(0,0,0,.22)}.service-link{display:block;padding-right:25px}.service-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.service-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(139,92,246,.35),rgba(34,211,238,.2));font-weight:800;overflow:hidden}.service-icon img{width:100%;height:100%;object-fit:contain;padding:5px}.service-icon img+span{display:none}.service h3{font-size:14px;margin:14px 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service p{font-size:11px;color:#70707b;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pill{display:inline-block;font-size:10px;color:#aaa;padding:5px 8px;border-radius:7px;background:rgba(255,255,255,.05);max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tags{display:flex;gap:5px;margin-top:11px;overflow:hidden}.tag{font-size:9px;color:#9b9ba6;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);padding:4px 7px;border-radius:999px;white-space:nowrap}.favorite{position:absolute;right:13px;top:15px;border:0;background:rgba(255,255,255,.05);color:#777784;width:32px;height:32px;border-radius:9px;cursor:pointer;z-index:2;touch-action:manipulation;transition:.2s}.favorite:hover,.favorite.active{color:#fda4af;background:rgba(244,63,94,.12);transform:scale(1.08)}.empty{padding:70px;text-align:center;border:1px dashed rgba(255,255,255,.12);border-radius:22px;color:#777}.empty div{font-size:30px}.hidden{display:none!important}.about{margin-top:40px;padding:45px;border:1px solid rgba(255,255,255,.08);border-radius:28px;background:linear-gradient(120deg,rgba(139,92,246,.09),rgba(34,211,238,.035))}.about>div:first-child{max-width:650px}.about p{color:#888894}.about code{color:#c4b5fd}.about-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:30px}.about-cards article{padding:18px;border-radius:17px;background:rgba(0,0,0,.14);border:1px solid rgba(255,255,255,.06);transition:.25s}.about-cards article:hover{transform:translateY(-3px)}.about-cards strong{font-size:12px;color:#8b5cf6}.about-cards span{display:block;font-weight:700;margin-top:10px}.about-cards p{font-size:12px;margin-bottom:0}footer{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:35px 0 55px;border-top:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;color:#666671;font-size:12px}.nav-links.open{display:flex;position:absolute;top:64px;left:0;right:0;padding:14px;background:rgba(8,9,13,.97);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 18px 40px rgba(0,0,0,.3);animation:menuIn .25s ease both}.nav-links.open .category-nav{max-width:none;width:100%;display:grid;grid-template-columns:repeat(2,1fr);overflow:visible}.nav-links.open .nav-category{justify-content:space-between;text-align:left;padding:12px;background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.06);min-height:42px}body.light{background:#f5f6fa;color:#111}body.light .nav{background:rgba(245,246,250,.82);border-color:rgba(0,0,0,.08)}body.light .nav-links{color:#666}body.light .nav-category{color:#666}body.light .nav-category:hover{color:#111;background:rgba(0,0,0,.04)}body.light .hero-search,body.light .directory-search,body.light .hero-mini,body.light .category,body.light .service,body.light .about{background:rgba(255,255,255,.78);border-color:rgba(0,0,0,.08)}body.light .hero-search input,body.light .directory-search input{color:#111}body.light .hero-copy>p,body.light .category p,body.light .service p{color:#666}body.light .icon-btn,body.light .filter{color:#333;background:#fff;border-color:rgba(0,0,0,.1)}body.light select{color:#222;background:#fff;border-color:rgba(0,0,0,.1)}body.light .favorite{background:rgba(0,0,0,.04)}@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@keyframes cardIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@keyframes menuIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@keyframes orbFloat{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(25px,-18px,0) scale(1.08)}}@keyframes logoPulse{0%,100%{box-shadow:0 8px 28px rgba(99,102,241,.3)}50%{box-shadow:0 8px 38px rgba(34,211,238,.42)}}@keyframes gradientShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}@media(max-width:1100px){.category-nav{max-width:45vw}.nav-links{gap:4px}.nav-links>a{padding:8px 6px}.nav-category{padding:7px 6px}.service-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.hero{grid-template-columns:1fr;padding-top:65px;gap:30px}.hero-mini{max-width:560px}.category-grid{grid-template-columns:repeat(2,1fr)}.service-grid{grid-template-columns:repeat(2,1fr)}.nav-links{display:none}.mobile-only{display:block}}@media(max-width:620px){.hero,.section{width:calc(100% - 24px)}.nav{padding:7px 12px}.logo{font-size:16px}.hero{padding:45px 0 30px;gap:24px}.hero h1{font-size:clamp(40px,13vw,52px);margin:18px 0 16px}.hero-copy>p{font-size:14px;line-height:1.6}.hero-search{margin-top:22px;padding-left:13px;border-radius:15px;min-height:50px}.hero-search input,.directory-search input{font-size:16px}.quick-actions{gap:14px;overflow:auto;white-space:nowrap}.quick-actions button{margin-right:0}.hero-mini{padding:20px;border-radius:20px}.hero-mini>strong{font-size:52px}.hero-mini>div{margin-top:20px}.section{padding:36px 0}.directory-first{padding-top:12px}.section-head{align-items:flex-end;margin-bottom:13px}.section h2{font-size:22px}.live-label{font-size:9px}.directory-search{min-height:48px;border-radius:14px;margin-bottom:10px}.category-grid,.service-grid,.about-cards{grid-template-columns:1fr 1fr}.category{min-height:82px;padding:12px;border-radius:14px}.category .num{font-size:22px}.category h3{font-size:12px;margin-top:6px;padding-right:16px}.category p{font-size:8px}.category .arrow{right:9px;top:9px}.toolbar{align-items:stretch;flex-direction:column;gap:9px;margin-bottom:14px}.filters{width:100%;padding-bottom:2px}.filter{padding:8px 12px;font-size:12px}.toolbar select{width:100%}.service{min-height:128px;padding:14px;border-radius:16px}.service h3{font-size:13px;margin-top:11px}.service p{font-size:10px}.service-icon{width:36px;height:36px;border-radius:10px}.favorite{right:9px;top:9px;width:30px;height:30px}.tags{margin-top:8px}.tag{font-size:8px}.about{padding:22px;border-radius:20px;margin-top:25px}.about-cards{gap:7px;margin-top:20px}.about-cards article{padding:13px}.about-cards span{font-size:12px}.about-cards p{font-size:10px}footer{width:calc(100% - 24px);padding:28px 0 40px;flex-direction:column;gap:9px;font-size:11px}}@media(max-width:420px){.category-grid,.service-grid,.about-cards{grid-template-columns:1fr}.category-grid{gap:7px}.category{min-height:72px}.service{min-height:118px}.hero-number{font-size:52px}.quick-actions{flex-direction:column;gap:0;overflow:visible}.quick-actions button{text-align:left;padding:6px 0}.nav-links.open{top:64px;padding:12px}.nav-links.open .category-nav{grid-template-columns:1fr}.nav-links.open .nav-category{min-height:44px}.hero-mini>div{grid-template-columns:1fr 1fr}.about-cards{gap:8px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* Responsive directory refinements */
:root{scroll-padding-top:78px}
.nav{gap:10px}
.nav-search{flex:0 1 190px}
.service-link{display:block;min-width:0}
.service h3,.service p{overflow-wrap:anywhere}
.service{min-width:0}
.category,.filter,.icon-btn,.favorite,.quick-actions button{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}
@media(max-width:900px){
 .nav{gap:8px}
 .nav-search{order:3;flex:1 1 100%;width:100%;min-width:0;margin:4px 0}
 .nav-search:focus-within{width:100%}
 .nav-actions{margin-left:auto}
 .nav-links.open{top:116px;max-height:calc(100dvh - 130px);overflow:auto}
}
@media(max-width:620px){
 .nav{display:flex;flex-wrap:wrap;min-height:unset}
 .logo{min-height:40px}
 .nav-actions{margin-left:auto}
 .nav-search{min-height:42px}
 .hero-mini>div{grid-template-columns:repeat(2,minmax(0,1fr))}
 .section-head{flex-wrap:wrap}
 .result-count{font-size:11px}
}
@media(max-width:380px){
 .hero,.section{width:calc(100% - 20px)}
 .service-grid,.category-grid,.about-cards{grid-template-columns:1fr}
 .hero-mini{padding:16px}
}


/* MovieHub light-first refresh */
:root{color-scheme:light;--mh-ink:#172033;--mh-muted:#64748b;--mh-line:#e5eaf2;--mh-accent:#635bdb;--mh-surface:#fff}
html{background:#f7f9fd}
body{background:#f7f9fd;color:var(--mh-ink)}
.bg-orb{opacity:.11;filter:blur(115px)}
.orb-a{background:#8b5cf6}.orb-b{background:#38bdf8}
.noise{opacity:.012}
.nav{background:rgba(255,255,255,.88);border-bottom:1px solid rgba(148,163,184,.24);box-shadow:0 5px 24px rgba(15,23,42,.035)}
.logo{color:#172033}.logo-mark{box-shadow:0 7px 18px rgba(99,91,219,.18)}
.nav-links{color:#64748b}
.nav-links>a:hover,.nav-category.active{color:#4338ca}
.nav-category{color:#64748b}
.nav-category:hover{color:#312e81;background:#f1f0ff;border-color:#e3e0ff}
.nav-category small{color:#94a3b8}
.icon-btn{background:#fff;color:#475569;border-color:#e2e8f0;box-shadow:0 2px 5px rgba(15,23,42,.035)}
.icon-btn:hover{background:#f5f3ff;border-color:#c7d2fe;color:#4f46e5}
.hero{padding-top:76px;padding-bottom:48px;gap:48px}
.badge{color:#5145cd;border-color:#ddd9ff;background:#f0efff}
.badge i,.status i,.live-label i{box-shadow:0 0 0 4px rgba(52,211,153,.12)}
.hero h1{color:#151d31}
.hero h1 em{background-image:linear-gradient(100deg,#6558df,#0e9ec5)}
.hero-copy>p{color:#64748b}
.hero-search,.directory-search{background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 28px rgba(30,41,59,.055)}
.hero-search:focus-within,.directory-search:focus-within{border-color:#a5b4fc;box-shadow:0 0 0 4px rgba(99,91,219,.09),0 10px 30px rgba(30,41,59,.06)}
.hero-search span,.directory-search span{color:#94a3b8}
.hero-search input,.directory-search input{color:#172033}
.hero-search input::placeholder,.directory-search input::placeholder{color:#9aa5b5}
.hero-search button{color:#94a3b8}
.quick-actions button{color:#64748b}
.quick-actions button:first-child{color:#4f46e5;font-weight:700}
.hero-mini{background:linear-gradient(145deg,#fff,#f2f5ff);border:1px solid #e5eaf5;box-shadow:0 18px 48px rgba(48,56,110,.09)}
.hero-mini>strong{color:#172033}
.hero-mini>span,.hero-mini small{color:#718096}
.hero-mini b{background:#fff;border:1px solid #e7ebf4;color:#4f46e5}
.eyebrow{color:#7c83a0}
.section h2,.about h2{color:#172033}
.live-label{color:#64748b}
.category{background:#fff;border-color:#e7ebf3;box-shadow:0 3px 10px rgba(15,23,42,.025)}
.category:hover{border-color:#c7d2fe;background:#fbfaff;box-shadow:0 12px 28px rgba(75,65,160,.08)}
.category .num{color:#4f46e5}
.category h3{color:#1e293b}
.category p{color:#7b8798}
.category .arrow{color:#9aa5b5}
.filters{scrollbar-width:none}
.filter{background:#fff;border-color:#e2e8f0;color:#64748b}
.filter.active,.filter:hover{color:#4338ca;background:#f0efff;border-color:#d9d5ff;transform:translateY(-1px)}
select{color:#334155;background:#fff;border-color:#e2e8f0}
.result-count{color:#64748b}
.service{background:#fff;border-color:#e7ebf3;box-shadow:0 3px 12px rgba(15,23,42,.025)}
.service:hover{background:#fff;border-color:#c7d2fe;box-shadow:0 14px 32px rgba(50,55,110,.09)}
.service-icon{background:linear-gradient(135deg,#eeecff,#e2f7ff);color:#5145cd}
.service h3{color:#1e293b}
.service p{color:#64748b}
.pill{color:#64748b;background:#f1f5f9}
.tags{gap:6px}
.tag{color:#64748b;background:#f8fafc;border-color:#e8edf4}
.favorite{background:#f8fafc;color:#94a3b8;border:1px solid #eef1f6}
.favorite:hover,.favorite.active{color:#e11d48;background:#fff1f2;border-color:#fecdd3}
.empty{border-color:#d8deea;color:#64748b;background:rgba(255,255,255,.7)}
.about{background:linear-gradient(120deg,#f0efff,#effaff);border-color:#e2e8f5;box-shadow:0 10px 30px rgba(30,41,59,.035)}
.about p{color:#64748b}
.about code{color:#5145cd;background:rgba(255,255,255,.7);padding:2px 5px;border-radius:5px}
.about-cards article{background:rgba(255,255,255,.8);border-color:#e2e8f0}
.about-cards strong{color:#635bdb}
.about-cards span{color:#1e293b}
.about-cards p{color:#64748b}
footer{border-color:#e2e8f0;color:#64748b}
footer a{color:#4f46e5}
.nav-links.open{background:rgba(255,255,255,.98);border-color:#e2e8f0;box-shadow:0 18px 40px rgba(15,23,42,.12)}
.nav-links.open .nav-category{background:#f8fafc;border-color:#e7ebf3;color:#475569}
.nav-links.open .nav-category.active{background:#f0efff;color:#4338ca;border-color:#d9d5ff}
body.light{background:#f7f9fd;color:#172033}
body.light .nav{background:rgba(255,255,255,.9);border-color:#e2e8f0}
body.light .nav-links{color:#64748b}
body.light .nav-category{color:#64748b}
body.light .nav-category:hover{color:#4338ca;background:#f1f0ff}
body.light .hero-search,body.light .directory-search,body.light .hero-mini,body.light .category,body.light .service,body.light .about{background:#fff;border-color:#e2e8f0}
body.light .hero-mini{background:linear-gradient(145deg,#fff,#f2f5ff)}
body.light .hero-search input,body.light .directory-search input{color:#172033}
body.light .hero-copy>p,body.light .category p,body.light .service p{color:#64748b}
body.light .icon-btn,body.light .filter{color:#475569;background:#fff;border-color:#e2e8f0}
body.light select{color:#334155;background:#fff;border-color:#e2e8f0}
body.light .favorite{background:#f8fafc}
@media(min-width:900px){.hero{min-height:420px}.hero-mini{max-width:380px;justify-self:end;width:100%}.service-grid{gap:15px}.service{padding:20px;min-height:158px}.section{padding-top:58px;padding-bottom:58px}}
@media(max-width:620px){.hero{padding-top:42px}.hero-mini{background:linear-gradient(145deg,#fff,#f4f6ff)}}
@media(prefers-reduced-motion:reduce){.bg-orb{animation:none}}


/* Compact hero, mobile-first browsing, and gentle motion */
.hero{padding-top:34px;padding-bottom:22px;gap:28px;grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr)}
.hero h1{font-size:clamp(34px,4.3vw,54px);line-height:1.02;margin:13px 0 12px}
.hero-copy>p{font-size:14px;margin:0;max-width:560px}
.hero-search{margin-top:17px;min-height:46px}
.quick-actions{margin-top:8px}
.hero-mini{padding:19px;border-radius:20px}
.hero-mini>strong{font-size:48px}
.hero-mini>div{margin-top:14px}
.hero-mini b{padding:10px;font-size:19px}
.directory-first{padding-top:10px}
.section{scroll-margin-top:78px}
.service{animation:cardIn .42s cubic-bezier(.2,.75,.25,1) both}
.service:nth-child(4n+2){animation-delay:35ms}.service:nth-child(4n+3){animation-delay:70ms}.service:nth-child(4n+4){animation-delay:105ms}
.category{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease}
.favorite:active,.filter:active,.category:active,.icon-btn:active{transform:scale(.97)}
#serviceGrid[aria-busy="true"]{min-height:150px}
.loading-card{min-height:130px;border:1px solid #e5eaf2;border-radius:18px;background:linear-gradient(100deg,#fff 20%,#f1f4fa 38%,#fff 56%);background-size:220% 100%;animation:shimmer 1.15s linear infinite}
@keyframes shimmer{to{background-position-x:-220%}}
@media(min-width:901px){.hero{min-height:0;align-items:center}.hero-mini{max-width:330px}.hero h1{font-size:clamp(36px,4vw,52px)}.directory-first{padding-top:4px}.hero-copy .badge{padding:6px 10px;font-size:9px}}
@media(max-width:900px){.hero{grid-template-columns:minmax(0,1fr) minmax(190px,.65fr);padding-top:25px;padding-bottom:16px;gap:16px}.hero h1{font-size:clamp(32px,6vw,44px)}.hero-mini{padding:15px}.hero-mini>strong{font-size:38px}.hero-mini>div{margin-top:10px}.hero-mini b{padding:8px;font-size:17px}}
@media(max-width:620px){
 .hero,.section{width:calc(100% - 24px)}
 .hero{display:block;padding:20px 0 10px}
 .badge{font-size:9px;padding:6px 9px}
 .hero h1{font-size:clamp(30px,8.8vw,40px);margin:10px 0 7px;letter-spacing:-.045em}
 .hero h1 br{display:none}
 .hero-copy>p{font-size:12px;line-height:1.45;max-width:100%}
 .hero-search{margin-top:12px;min-height:44px;padding:4px 7px 4px 12px}
 .hero-search span,.directory-search span{font-size:21px}
 .quick-actions{display:flex;flex-direction:row;gap:16px;margin-top:4px}
 .quick-actions button{font-size:12px;padding:5px 0}
 .hero-mini{display:none}
 .directory-first{padding-top:7px}
 .section{padding:25px 0}
 .section-head{margin-bottom:10px}
 .section h2{font-size:21px}
 .directory-search{min-height:44px;margin-bottom:9px}
 .toolbar{gap:7px;margin-bottom:11px}
 .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .service{min-height:126px;padding:11px;border-radius:14px}
 .service-link{padding-right:0}
 .service-top{align-items:flex-start;gap:5px}
 .service-icon{width:32px;height:32px;border-radius:9px;flex:none}
 .pill{font-size:9px;max-width:calc(100% - 38px);padding:4px 6px}
 .service h3{font-size:12px;margin:10px 0 3px;padding-right:22px}
 .service p{font-size:10px;white-space:normal;overflow-wrap:anywhere;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 .tags{margin-top:7px;gap:4px}
 .tag{font-size:8px;padding:3px 5px}
 .favorite{right:7px;top:7px;width:27px;height:27px}
 .category-grid{gap:7px}
 .category{min-height:75px;padding:10px}
 .category .num{font-size:20px}
 .category h3{font-size:11px}
 .category p{font-size:8px}
 .about{margin-top:18px}
}
@media(max-width:360px){
 .hero,.section{width:calc(100% - 20px)}
 .service-grid{grid-template-columns:1fr}
 .service{min-height:112px;padding:13px}
 .service h3{font-size:13px}
 .service p{font-size:11px}
 .service-icon{width:36px;height:36px}
}
@media(prefers-reduced-motion:reduce){.service,.loading-card{animation:none!important}}

/* PWA, local dashboard, fuzzy search, and catalog health */
[hidden]{display:none!important}
.install-btn{font-size:11px;padding:8px 11px;border-radius:10px;white-space:nowrap}
.text-button{border:1px solid var(--line,#e5eaf2);background:var(--card,#fff);color:var(--muted,#667085);border-radius:10px;padding:8px 11px;font-size:11px;cursor:pointer}
.text-button:hover{color:var(--accent,#6d5ce8);border-color:var(--accent,#6d5ce8)}
.health-intro{font-size:13px;color:var(--muted,#667085);margin:0 0 14px}
.health-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.health-stat{background:var(--card,#fff);border:1px solid var(--line,#e5eaf2);border-radius:14px;padding:15px;display:flex;flex-direction:column;gap:4px}
.health-stat strong{font-size:25px;letter-spacing:-.04em;color:var(--text,#172033)}
.health-stat span{font-size:11px;color:var(--muted,#667085)}
.recent-service{animation:none}
#recentGrid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
@media(max-width:620px){.health-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.health-stat{padding:12px}.health-stat strong{font-size:22px}.install-btn{font-size:10px;padding:7px 8px}#recentGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* UI refinement: accessible controls, clearer hierarchy, and mobile-first browsing */
:root{--mh-accent:#8b5cf6;--mh-cyan:#06b6d4}
html{scroll-padding-top:82px}
button,a,select{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(139,92,246,.72);outline-offset:3px}
.nav-search{flex-shrink:1}
.nav-search button{min-width:28px;min-height:28px;border-radius:8px}
.nav-search button:hover,.hero-search button:hover{background:rgba(139,92,246,.12)}
.category-nav{overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:rgba(139,92,246,.4) transparent}
.nav-category{transition:background .18s ease,border-color .18s ease,color .18s ease}
.nav-category.active{background:rgba(139,92,246,.14);border-color:rgba(139,92,246,.3);color:var(--text,#fff)}
.nav-category.active small{color:inherit;opacity:.75}
.result-count{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border:1px solid var(--line,rgba(255,255,255,.12));border-radius:999px;background:var(--card,rgba(255,255,255,.04));color:var(--muted,#8d8d98);font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.filters{scrollbar-width:thin;scrollbar-color:rgba(139,92,246,.38) transparent;overscroll-behavior-x:contain}
.filter{transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.filter.active{box-shadow:0 4px 16px rgba(139,92,246,.13)}
.service{position:relative;isolation:isolate;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.service-link{min-width:0}
.service h3{overflow-wrap:anywhere}
.service p{overflow-wrap:anywhere}
.service-icon img{object-fit:contain}
.favorite{z-index:2;display:grid;place-items:center;line-height:1}
.favorite:focus-visible{outline-offset:2px}
.empty .text-button{margin-top:8px}
#serviceGrid[aria-busy="true"]{pointer-events:none}
body.light .nav-category.active{color:#5b3bd4;background:rgba(139,92,246,.1);border-color:rgba(139,92,246,.25)}
body.light .result-count{background:#fff;color:#596273;border-color:#e3e7ef}
body.light .nav-search button:hover,body.light .hero-search button:hover{background:rgba(109,92,232,.1)}
@media(hover:hover) and (pointer:fine){
 .service:hover{transform:translateY(-3px);border-color:rgba(139,92,246,.34);box-shadow:0 14px 38px rgba(25,30,55,.12)}
 .category:hover{transform:translateY(-2px)}
}
@media(max-width:900px){
 .nav-links{max-width:100%;width:100%;overflow:hidden}
 .category-nav{max-width:100%;width:100%;padding:4px 0 7px}
 .nav-category{flex:none}
 .nav-links.open{position:absolute;left:0;right:0;top:100%;max-width:none;width:100%;padding:10px 14px;background:var(--card,#10111a);border-bottom:1px solid var(--line,rgba(255,255,255,.1));box-shadow:0 18px 30px rgba(0,0,0,.12)}
 .nav-links.open .category-nav{flex-wrap:wrap;overflow:visible}
}
@media(max-width:620px){
 html{scroll-padding-top:70px}
 .nav{gap:7px}
 .logo{font-size:15px}
 .logo-mark{width:32px;height:32px}
 .nav-actions{gap:5px}
 .icon-btn{width:36px;height:36px;border-radius:10px}
 .nav-search{order:4;flex-basis:100%;width:100%;margin:2px 0 0;min-height:42px}
 .nav-search:focus-within{width:100%}
 .nav-links{order:5}
 .nav-links.open{top:100%}
 .section-head{align-items:flex-end;gap:8px}
 .section-head .eyebrow{font-size:8px}
 .result-count{font-size:10px;min-height:28px;padding:4px 8px}
 .toolbar{align-items:flex-start}
 .filters{max-width:100%;flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 7px;white-space:nowrap}
 .filter{flex:none}
 #sort{max-width:125px;min-width:96px;font-size:11px}
 .service-grid{align-items:stretch}
 .service{overflow:hidden}
 .service h3{line-height:1.3}
 .favorite{min-width:28px;min-height:28px}
 .health-summary{gap:7px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Catalog maintenance report */
.health-intro{max-width:720px;color:#64748b;font-size:14px;line-height:1.7}
.health-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}
.health-stat{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid #e5eaf2;border-radius:14px;background:rgba(255,255,255,.82);min-width:0}
.health-stat strong{font-size:25px;line-height:1.15;color:#4f46e5;font-variant-numeric:tabular-nums}
.health-stat span{font-size:12px;color:#64748b;overflow-wrap:anywhere}
.health-details{display:grid;gap:9px;margin-top:14px}
.health-issue{border:1px solid #e5eaf2;border-radius:12px;background:#fff;overflow:hidden}
.health-issue summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;cursor:pointer;color:#334155;font-size:13px;font-weight:650}
.health-issue summary span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:8px;background:#f1f0ff;color:#4f46e5}
.health-issue ul{list-style:none;margin:0;padding:0 14px 12px}
.health-issue li{padding:10px 0;border-top:1px solid #eef1f6;display:grid;gap:3px;overflow-wrap:anywhere}
.health-issue li strong{font-size:12px;color:#334155}
.health-issue li small,.health-more{font-size:11px;color:#64748b;overflow-wrap:anywhere}
.health-clean{padding:13px 15px;border:1px solid #bbf7d0;border-radius:12px;background:#f0fdf4;color:#166534;font-size:13px}
@media(max-width:620px){.health-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.health-stat{padding:12px}.health-stat strong{font-size:22px}.health-stat span{font-size:11px}.health-issue summary{font-size:12px}}
