/* CAFE7040 Start – browser home page */
:root{--navy:#071a45;--blue:#1a5fd0;--green:#0e8a41;--ink:#0f1b3d;--mute:#5b6b8c;--line:#e3eaf5}
*{box-sizing:border-box;margin:0}
body{font-family:Inter,"Hind Siliguri",system-ui,sans-serif;color:var(--ink);min-height:100vh;background:#eef4fb;position:relative;overflow-x:hidden}
a{color:inherit;text-decoration:none}
.sky{position:absolute;inset:0 0 auto 0;height:560px;background:linear-gradient(180deg,#0a2a73 0%,#1553c4 38%,#3a86e0 62%,#cfe5fb 100%);z-index:0}
.scene{position:absolute;left:0;right:0;top:250px;height:250px;background:url(../img/st-bg.jpg) center/cover;z-index:0;-webkit-mask-image:linear-gradient(180deg,transparent,#000 22%,#000 70%,transparent);mask-image:linear-gradient(180deg,transparent,#000 22%,#000 70%,transparent)}
.wrap{position:relative;z-index:1;max-width:1480px;margin:0 auto;padding:0 28px}
header{display:flex;align-items:center;gap:22px;padding:18px 0;color:#fff}
header .logo img{height:46px}
header .sep{width:1px;height:42px;background:#ffffff55}
.home{display:flex;align-items:center;gap:10px}.home svg{width:38px;height:38px;color:#8be08f}.home b{font-size:19px;display:block}.home small{font-size:13px;opacity:.85}
header nav{margin-left:auto;display:flex;gap:26px;align-items:center}
header nav a{display:flex;gap:8px;align-items:center;font-weight:600;font-size:15px}
header nav a svg{width:20px;height:20px}
.av{width:34px;height:34px;border-radius:50%;background:#ffffff33;display:grid;place-items:center}
.top{display:grid;grid-template-columns:260px 1fr 360px;gap:20px;align-items:start;color:#fff;min-height:250px}
.clock b{display:block;font-size:48px;line-height:1.1;font-weight:700}.clock b small{font-size:26px;font-weight:600;margin-left:4px}
.clock .dt{font-size:17px;margin-top:4px}
.wx{display:flex;align-items:center;gap:12px;margin-top:18px}.wx i{font-size:40px;font-style:normal}.wx b{font-size:28px;display:block;line-height:1}.wx small{font-size:14px;opacity:.9}
.greet{padding-top:6px}
.greet h1{font-size:46px;font-style:italic;font-weight:800;line-height:1.15;text-shadow:0 2px 10px #0004}
.greet p{font-size:25px;font-weight:600;margin-top:6px}
.greet .ul{display:block;width:260px;height:6px;border-radius:99px;background:linear-gradient(90deg,#7ee05a,#1fb447);margin-top:12px}
.mas{display:flex;justify-content:flex-end;align-self:end}
.mas img{height:240px;object-fit:contain;-webkit-mask-image:radial-gradient(closest-side,#000 74%,transparent);mask-image:radial-gradient(closest-side,#000 74%,transparent)}
.sbar{max-width:810px;margin:-6px auto 0;background:#fff;border-radius:99px;display:flex;align-items:center;gap:12px;padding:6px 10px 6px 24px;box-shadow:0 8px 28px #0a2a7355;position:relative;z-index:2}
.sbar input{flex:1;border:0;outline:0;height:52px;font:inherit;font-size:18px;color:var(--ink);background:none;min-width:0}
.sbar svg{width:26px;height:26px;flex:none}
.sbar button{border:0;background:none;cursor:pointer;display:grid;place-items:center;padding:6px}
.quick{max-width:810px;margin:18px auto 0;display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.quick a{background:#fffffff2;border-radius:18px;padding:16px 6px 12px;display:grid;justify-items:center;gap:8px;font-weight:600;font-size:14.5px;box-shadow:0 6px 18px #0a2a7326;transition:.15s}
.quick a:hover{transform:translateY(-3px)}
.quick svg{width:36px;height:36px;color:#1a4fc0}
.cards{display:grid;grid-template-columns:1fr 1.05fr .95fr;gap:20px;margin-top:34px}
.card{background:#fffffff5;border-radius:20px;padding:20px 22px;box-shadow:0 10px 30px #0f1b3d1a}
.card h2{display:flex;align-items:center;gap:10px;font-size:20px;margin-bottom:14px}
.card h2 svg{width:24px;height:24px;color:#1a4fc0}
.card h2 a,.card h2 button{margin-left:auto;font-size:13.5px;font-weight:600;border:0;background:none;color:var(--ink);cursor:pointer;font-family:inherit}
.bm{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.bm a{border:1px solid var(--line);border-radius:14px;padding:12px 4px 8px;display:grid;justify-items:center;gap:6px;font-size:13px;font-weight:600;background:#fff;position:relative}
.bm a:hover{background:#f2f7ff}
.bm .ic{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:18px}
.bm .x{position:absolute;top:2px;right:6px;color:#c33;font-size:15px;display:none}.editing .bm .x{display:block}
.bm .add{background:#f2f7ff;color:#1a4fc0;border-style:dashed;cursor:pointer}
.news a{display:grid;grid-template-columns:96px 1fr;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.news a:last-child{border:0}
.news img{width:96px;height:56px;object-fit:cover;border-radius:8px}
.news b{font-size:15.5px;line-height:1.35;display:block}.news small{color:var(--mute);font-size:12.5px}
.net .conn{margin-left:auto;background:#17a34a;color:#fff;border-radius:99px;padding:4px 12px;font-size:12.5px;font-weight:700}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stats div{border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.stats small{display:block;color:var(--mute);font-size:12.5px}.stats b{font-size:19px}.ok{color:#17a34a}
.btn{display:block;text-align:center;margin-top:12px;background:linear-gradient(180deg,#1ba04a,#0e8a41);color:#fff;font-weight:700;border-radius:99px;padding:13px;font-size:16px}
.pop{margin-top:20px;background:#fffffff5;border-radius:20px;padding:14px 22px;display:flex;align-items:center;gap:18px;box-shadow:0 10px 30px #0f1b3d1a;overflow-x:auto}
.pop>b{display:flex;gap:10px;align-items:center;white-space:nowrap;font-size:18px}.pop>b svg{width:26px;height:26px;color:#1a4fc0}
.pop .sites{display:flex;flex:1;justify-content:space-around;gap:20px}
.pop .sites a{text-align:center;white-space:nowrap}.pop .sites b{display:block;font-size:19px}.pop .sites small{font-size:12.5px;color:var(--mute)}
footer{margin-top:26px;background:var(--navy);color:#fff;font-size:13.5px}
footer .wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
footer nav{display:flex;gap:18px}
@media(max-width:1100px){.top{grid-template-columns:1fr}.mas{display:none}.cards{grid-template-columns:1fr}header nav{display:none}.sky{height:760px}.scene{top:420px}.greet h1{font-size:34px}}
@media(max-width:640px){.quick{grid-template-columns:repeat(3,1fr)}.bm{grid-template-columns:repeat(3,1fr)}.wrap{padding:0 16px}.sbar input{font-size:16px}.pop .sites{justify-content:flex-start}}
@media(max-width:420px){header .sep,.home div{display:none}header{gap:12px}.clock b{font-size:40px}}
.lsw{display:inline-flex;gap:4px;background:#ffffff22;border-radius:99px;padding:3px}
.lsw a{padding:3px 11px;border-radius:99px;font-size:13.5px;font-weight:600}.lsw a[aria-current]{background:#fff;color:#0a2a73}
.lsw a[lang=bn]{font-family:"Hind Siliguri",sans-serif}
html[lang=bn] body{font-family:"Hind Siliguri",Inter,system-ui,sans-serif}
html[lang=bn] .greet h1{font-style:normal}
@media(max-width:1100px){header nav{display:flex}header nav a:not(.av){display:none}header nav .lsw a{display:inline-block}}
@media(max-width:420px){.home{display:none}header .logo img{height:36px}header nav{gap:10px}}
@media(max-width:360px){header .logo img{height:30px}header{gap:8px}.lsw a{padding:3px 8px}}
#ed{min-height:32px;padding:0 12px;border-radius:8px}#ed:hover{background:#eef3fb}
.lsw a{display:inline-flex;align-items:center;min-height:30px}

/* CAFE7040 Start on the live site: signed-out connection card, empty news, footer button, "make this my home page" slide-in */
.card.net .signin{color:#4a5b7a;font-size:14px;line-height:1.5;margin:6px 0 14px}
.card.net .conn.off{color:#c27b00}
.card.news .empty{color:#6b7a94;font-size:14px;margin:8px 0}
footer .hp-open{background:none;border:1px solid rgba(255,255,255,.35);color:inherit;font:inherit;font-weight:600;padding:4px 12px;border-radius:99px;cursor:pointer;margin-right:6px}
footer .hp-open:hover{border-color:#9be564;color:#9be564}
.hp{position:fixed;right:20px;bottom:20px;z-index:100;width:min(380px,calc(100vw - 24px));max-height:calc(100vh - 40px);overflow-y:auto;background:#fff;color:#0b1f4a;border-radius:20px;box-shadow:0 24px 60px rgba(7,26,69,.35);padding:20px;font-family:Inter,"Hind Siliguri",system-ui,sans-serif;transform:translateX(calc(100% + 40px));opacity:0;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .25s}
.hp.on{transform:none;opacity:1}
.hp-x{position:absolute;top:10px;right:10px;width:32px;height:32px;border:0;border-radius:50%;background:#f1f4f9;color:#4a5b7a;cursor:pointer;font-size:14px}
.hp-head{display:flex;gap:12px;align-items:flex-start;padding-right:30px}
.hp-ic{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#9be564,#4fc236);color:#0b2a14}.hp-ic svg{width:24px;height:24px}
.hp-head b{display:block;font-size:16px;line-height:1.3}.hp-head small{display:block;color:#5b6b88;font-size:13px;margin-top:3px;line-height:1.4}
.hp-url{display:flex;margin:14px 0 10px;border:1.5px solid #d3ddec;border-radius:12px;overflow:hidden}
.hp-url input{flex:1;min-width:0;border:0;padding:10px 12px;font:inherit;font-size:13.5px;color:#0b1f4a;background:#f7f9fd}
.hp-url button{border:0;background:#1a5fd0;color:#fff;font:inherit;font-weight:700;padding:0 16px;cursor:pointer}
.hp-for{font-size:12.5px;font-weight:700;color:#1a5fd0;text-transform:uppercase;letter-spacing:.04em;margin:4px 0 6px}
.hp-steps{margin:0 0 14px;padding-left:20px;display:grid;gap:6px;font-size:14px;line-height:1.45;color:#26375a}
.hp-acts{display:flex;gap:8px}
.hp-acts button{flex:1;border-radius:12px;font:inherit;font-weight:700;font-size:14px;padding:11px 10px;cursor:pointer}
.hp-done{border:0;background:linear-gradient(90deg,#4fc236,#2f9e16);color:#fff}.hp-later{border:1.5px solid #d3ddec;background:#fff;color:#4a5b7a}
@media(max-width:560px){.hp{right:12px;left:12px;bottom:12px;width:auto}}
@media(prefers-reduced-motion:reduce){.hp{transition:none}}
/* live-site fixes: keep the logo at its natural ratio, let popular sites wrap on phones */
header .logo img{width:auto;max-width:100%;object-fit:contain}
@media(max-width:640px){.pop .sites{flex-wrap:wrap;gap:12px 18px}header{flex-wrap:wrap}}
