/* Portal-wide ambient particles and drifting TEER logo marks. */
.teer-home-ambient{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;isolation:isolate;background:radial-gradient(ellipse at 12% 18%,rgba(34,139,84,.09),transparent 42%),radial-gradient(ellipse at 88% 72%,rgba(224,173,55,.07),transparent 38%)}
#teer-particle-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:.72}
.teer-float-logo{position:absolute;width:clamp(76px,9vw,132px);height:clamp(76px,9vw,132px);object-fit:contain;opacity:.16;filter:saturate(.8);border-radius:50%;animation:teerLogoDrift 22s ease-in-out infinite alternate}
.teer-float-logo.logo-a{left:7%;top:23%;animation-duration:25s}
.teer-float-logo.logo-b{right:8%;top:36%;width:clamp(60px,7vw,104px);height:clamp(60px,7vw,104px);animation-duration:29s;animation-delay:-8s}
.teer-float-logo.logo-c{left:42%;bottom:8%;width:clamp(52px,6vw,88px);height:clamp(52px,6vw,88px);animation-duration:32s;animation-delay:-14s}
@keyframes teerLogoDrift{0%{transform:translate3d(0,0,0) rotate(-8deg)}50%{transform:translate3d(16px,-22px,0) rotate(8deg)}100%{transform:translate3d(-8px,14px,0) rotate(16deg)}}
/* Keep all real portal controls and content above the decorative layer. */
body>header,body>#live-notice-banner,body>main,body>footer,body>.admin-shell,body>.container,body>.page,body>.app,body>.wrap{position:relative;z-index:1}
body>*:not(.teer-home-ambient):not(.modal):not(.toasts){position:relative;z-index:1}
/* Global dialogs must escape the page stacking context and stay viewport-centered. */
body>.modal{position:fixed!important;inset:0!important;z-index:10000!important;display:flex;align-items:center!important;justify-content:center!important;padding:20px!important;overflow-y:auto;overscroll-behavior:contain}
body>.modal.hidden{display:none!important}
body>.modal>.sheet{width:min(720px,100%);max-height:min(88dvh,900px);height:auto;overflow:auto;border-radius:22px;padding:clamp(18px,3vw,28px);margin:auto}
body>.modal>.sheet.big{width:100%;max-width:none;height:100%;max-height:none;border-radius:0}
body>.toasts{position:fixed!important;z-index:10001!important}
@media(max-width:600px){.teer-home-ambient{opacity:.78}.teer-float-logo{opacity:.12}.teer-float-logo.logo-c{display:none}#teer-particle-canvas{opacity:.5}}
@media(prefers-reduced-motion:reduce){.teer-float-logo{animation:none}.teer-home-ambient{opacity:.35}}


/* Reference-inspired unified TEER navigation header */
.teer-reference-header{position:sticky;top:0;z-index:100;padding:14px 18px;background:linear-gradient(180deg,rgba(8,43,29,.58),rgba(8,43,29,0));border:0;backdrop-filter:none}
.teer-header-shell{width:min(1425px,100%);min-height:78px;margin:0 auto;padding:10px 26px;display:flex;align-items:center;gap:28px;background:linear-gradient(115deg,#123f2b,#17643b 62%,#0d3525);border:1px solid rgba(218,177,65,.48);border-radius:18px;box-shadow:0 14px 38px rgba(0,0,0,.22);color:#fff}
.teer-brand{flex:0 0 auto;gap:13px;text-decoration:none;color:#fff;min-width:245px}
.teer-brand img{width:58px;height:58px;border:0;border-radius:12px;padding:0;background:#fff;object-fit:contain}
.teer-brand .teer-wordmark{display:block;font-family:Inter,sans-serif;font-size:1.55rem;line-height:1.05;font-weight:800;letter-spacing:.09em;color:#fff}

.teer-brand small{display:block;max-width:240px;color:#d8e8dc;font-size:.65rem;line-height:1.3;white-space:normal}
.teer-main-nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,34px);flex:1;min-width:0}
.teer-main-nav a{color:#f7fbf7;text-decoration:none;font-family:'Hind Siliguri',sans-serif;font-size:1.02rem;font-weight:600;white-space:nowrap;transition:color .2s ease}
.teer-main-nav a:hover,.teer-main-nav a:focus-visible{color:#f0c65a}
.teer-header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.teer-header-actions .badge{white-space:nowrap}
.teer-header-actions .teer-lang{width:auto;height:42px;padding:0 13px;border-radius:10px;background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.35)}
.teer-header-actions .teer-admin-btn{min-width:88px;padding:11px 18px;border-radius:10px;background:#c99a22;color:#fff;box-shadow:none}
.teer-header-actions .teer-admin-btn:hover{background:#bd8d12}
@media(max-width:1000px){.teer-header-shell{gap:16px;padding:10px 16px}.teer-brand{min-width:190px}.teer-brand img{width:50px;height:50px}.teer-main-nav{gap:13px}.teer-main-nav a{font-size:.92rem}}
@media(max-width:720px){.teer-reference-header{padding:8px 9px}.teer-header-shell{min-height:unset;display:grid;grid-template-columns:1fr auto;gap:8px 10px;padding:9px 12px;border-radius:15px}.teer-brand{min-width:0;gap:9px}.teer-brand img{width:43px;height:43px}.teer-brand .teer-wordmark{font-size:1.12rem}.teer-brand small{font-size:.57rem;max-width:205px}.teer-header-actions{gap:6px}.teer-header-actions .teer-admin-btn{min-width:0;padding:9px 12px;font-size:.8rem}.teer-header-actions .teer-lang{height:36px;padding:0 9px}.teer-main-nav{grid-column:1/-1;justify-content:space-between;gap:8px;overflow-x:auto;padding:4px 1px 1px;scrollbar-width:none}.teer-main-nav::-webkit-scrollbar{display:none}.teer-main-nav a{font-size:.84rem;flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){.teer-main-nav a{transition:none}}
