/* GPS Home Page – GBWA – v1.2.0 */

/* ---------- Page frame (full-screen dark blue) ---------- */
html.gpsh-lock, html.gpsh-lock body { overflow: hidden !important; }

#gpsh-app {
	position: fixed; inset: 0; z-index: 99990;
	overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
	background: radial-gradient(ellipse at 50% 35%, #123a8c 0%, #0b2560 45%, #06163d 100%);
	background-color: #0b2560;
	color: #fff;
	font-family: "Poppins", "Segoe UI", "Noto Sans Telugu", "Nirmala UI", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
body.admin-bar #gpsh-app { top: 32px; }
@media (max-width: 782px) { body.admin-bar #gpsh-app { top: 46px; } }

.gpsh-scope, .gpsh-scope *, .gpsh-scope *::before, .gpsh-scope *::after { box-sizing: border-box; }

/* ---------- Sky: sun rays + glow + flying sparks ---------- */
.gpsh-sky { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.gpsh-rays {
	position: absolute; left: 50%; top: 42%;
	width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax;
	background: repeating-conic-gradient(from 0deg, rgba(255, 205, 90, .13) 0deg 5deg, rgba(255, 205, 90, 0) 5deg 15deg);
	-webkit-mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 25%, transparent 55%);
	mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 25%, transparent 55%);
	animation: gpshSpin 80s linear infinite;
}
.gpsh-rays2 {
	background: repeating-conic-gradient(from 7deg, rgba(255, 240, 180, .07) 0deg 2deg, rgba(255,240,180,0) 2deg 11deg);
	animation: gpshSpin 120s linear infinite reverse;
}
.gpsh-glow {
	position: absolute; left: 50%; top: 42%; width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 200, 90, .45) 0%, rgba(255, 170, 60, .15) 40%, transparent 70%);
	animation: gpshBreath 4s ease-in-out infinite;
}
.gpsh-sparks span {
	position: absolute; bottom: -12px; border-radius: 50%;
	background: #ffd56b; box-shadow: 0 0 8px 2px rgba(255, 213, 107, .8);
	opacity: 0; animation-name: gpshFly; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes gpshSpin { to { transform: rotate(360deg); } }
@keyframes gpshBreath { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes gpshFly {
	0% { transform: translate(0, 0) scale(.6); opacity: 0; }
	10% { opacity: .9; }
	50% { transform: translate(30px, -55vh) scale(1); }
	90% { opacity: .7; }
	100% { transform: translate(-20px, -110vh) scale(.4); opacity: 0; }
}

/* ---------- Red Panchangam bar ---------- */
.gpsh-datebar {
	position: sticky; top: 0; z-index: 5;
	background: #d10f0f; background: linear-gradient(90deg, #a80000, #e01414, #a80000);
	display: flex; align-items: center; justify-content: center; gap: 10px; padding: 7px 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.gpsh-top-ic {
	position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 42px; height: 42px; padding: 0 12px; border-radius: 99px; cursor: pointer; font-family: inherit;
	border: 2px solid rgba(255,255,255,.75); background: rgba(255,255,255,.12); color: #fff; font-weight: 900; font-size: 15px; letter-spacing: 1px;
}
.gpsh-loc-btn { width: 42px; padding: 0; animation: gpshPinBob 1.8s ease-in-out infinite; }
@keyframes gpshPinBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.gpsh-top-ic:hover, .gpsh-top-ic:focus-visible { background: rgba(255,255,255,.25); outline: none; }
.gpsh-news-dot { position: absolute; top: -3px; right: -3px; width: 13px; height: 13px; border-radius: 50%; background: #ffd56b; box-shadow: 0 0 0 2px #a80000; animation: gpshPulse 1s ease-in-out infinite; }
.gpsh-news-dot[hidden] { display: none; }
.gpsh-panch-btn {
	display: inline-flex; align-items: center; gap: 8px; border: 2px solid rgba(255,255,255,.75); background: transparent;
	color: #fff; font-family: inherit; font-weight: 900; font-size: clamp(16px, 4.6vw, 21px); letter-spacing: 2px;
	padding: 5px 18px; min-height: 42px; border-radius: 99px; cursor: pointer; line-height: 1.3; flex: 0 1 auto; min-width: 0;
	animation: gpshFlash 1.2s ease-in-out infinite;
}
.gpsh-panch-btn:hover, .gpsh-panch-btn:focus-visible { background: rgba(255,255,255,.15); outline: none; }
@keyframes gpshFlash { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 50% { opacity: .55; box-shadow: 0 0 0 6px rgba(255,255,255,0); } }

/* ---------- Visitors + language line ---------- */
.gpsh-topline { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px 0; flex-wrap: wrap; }
.gpsh-visitors {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px;
	background: rgba(255,213,107,.15); border: 1.5px solid rgba(224,180,80,.7); color: #fff; font-weight: 800; font-size: 13px;
}
.gpsh-visitors b { color: #ffd56b; font-size: 15px; font-variant-numeric: tabular-nums; }
.gpsh-langs { display: flex; justify-content: flex-end; gap: 6px; }
.gpsh-langs button {
	border: 1.5px solid #e0b450; background: transparent; color: #fff; font-weight: 700; font-size: 13px;
	padding: 5px 12px; border-radius: 99px; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.gpsh-langs button.on { background: #e0b450; color: #0b2560; }

/* ---------- Counter badges ---------- */
.gpsh-cnt {
	display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
	padding: 3px 9px; border-radius: 99px; background: rgba(255,213,107,.18); border: 1px solid rgba(255,213,107,.6);
	color: #ffe7a6; font-size: 12px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums;
}
.gpsh-cnt b { font-weight: 900; }
.gpsh-cnt.gpsh-bump { animation: gpshBump .5s ease; }
@keyframes gpshBump { 0% { transform: scale(1); } 40% { transform: scale(1.25); background: #ffd56b; color: #4a1500; } 100% { transform: scale(1); } }
.gpsh-cnt-l { background: #FFF6E8; border-color: #e2c393; color: #A6531A; margin-left: auto; }

/* ---------- Main column ---------- */
.gpsh-main {
	position: relative; z-index: 2; max-width: 560px; margin: 0 auto;
	padding: 8px 16px 110px; text-align: center;
}
.gpsh-welcome {
	margin: 10px 0 2px; font-size: clamp(22px, 6.5vw, 34px); font-weight: 800; color: #ffd56b; letter-spacing: 1px;
	animation: gpshDrop .8s cubic-bezier(.2,.8,.2,1) both;
}
.gpsh-h1 {
	margin: 0 0 18px !important; padding: 0; border: 0;
	font-size: clamp(24px, 7.2vw, 40px) !important; line-height: 1.2 !important; font-weight: 900 !important; color: #fff !important;
	text-shadow: 0 2px 14px rgba(255, 190, 70, .55);
	animation: gpshDrop .9s .15s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes gpshDrop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }

/* ---------- Logo ---------- */
.gpsh-logo-wrap { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0 auto 34px; }
.gpsh-enter-row { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.gpsh-enter-row .gpsh-enter { margin-bottom: 0; }
.gpsh-enter-row .gpsh-cnt { animation: gpshDrop .7s 1.8s both; }
.gpsh-enter {
	display: inline-block; margin-bottom: 12px; padding: 7px 26px; border-radius: 99px;
	background: linear-gradient(180deg, #ffe08a, #e0a83a); color: #5a1a00; font-weight: 900; font-size: clamp(16px, 4.6vw, 20px); letter-spacing: 4px;
	box-shadow: 0 0 0 3px rgba(255,255,255,.25), 0 6px 18px rgba(0,0,0,.35);
	animation: gpshDrop .7s 1.6s both, gpshPulse 1.6s 2.4s ease-in-out infinite;
	cursor: pointer;
}
@keyframes gpshPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.gpsh-logo-btn {
	position: relative; display: block; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer;
	width: min(74vw, 330px); height: min(74vw, 330px); border-radius: 50%;
	animation: gpshLogoIn 1.6s .3s cubic-bezier(.2,.9,.25,1.15) both;
	-webkit-tap-highlight-color: transparent;
}
.gpsh-logo-btn:focus-visible { outline: 3px solid #ffd56b; outline-offset: 6px; }
.gpsh-logo {
	position: relative; z-index: 2; display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
	background: #fff; box-shadow: 0 0 0 4px #e0b450, 0 14px 40px rgba(0,0,0,.5);
	animation: gpshFloat 5s 2s ease-in-out infinite;
}
.gpsh-ring {
	position: absolute; inset: -14px; border-radius: 50%; z-index: 1;
	border: 3px dashed rgba(255, 213, 107, .7);
	animation: gpshSpin 18s linear infinite;
}
.gpsh-logo-btn:hover .gpsh-logo, .gpsh-logo-btn:active .gpsh-logo { box-shadow: 0 0 0 6px #ffd56b, 0 0 40px 8px rgba(255,213,107,.6); }
@keyframes gpshLogoIn {
	0% { opacity: 0; transform: scale(.15) rotate(-260deg) translateY(-40vh); }
	60% { opacity: 1; transform: scale(1.08) rotate(12deg) translateY(0); }
	80% { transform: scale(.97) rotate(-4deg); }
	100% { opacity: 1; transform: none; }
}
@keyframes gpshFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Quick links ---------- */
.gpsh-links { display: flex; flex-direction: column; gap: 16px; margin: 0 auto 40px; text-align: left; }
.gpsh-link {
	display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px 10px 10px;
	border-radius: 16px; text-decoration: none !important; color: #fff !important;
	background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(224, 180, 80, .55);
	box-shadow: 0 6px 18px rgba(0,0,0,.25);
	backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
	transition: transform .2s, background .2s, box-shadow .2s;
	animation: gpshSlide .6s calc(1.9s + var(--i, 0) * .12s) cubic-bezier(.2,.8,.2,1) both;
}
.gpsh-link:hover, .gpsh-link:focus-visible { transform: translateY(-3px); background: rgba(255,213,107,.18); box-shadow: 0 10px 24px rgba(0,0,0,.35); outline: none; }
.gpsh-link:active { transform: scale(.98); }
.gpsh-ic {
	flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(180deg, #ffe08a, #d99a2b); color: #5a1a00;
}
.gpsh-cap { flex: 1; font-weight: 800; font-size: clamp(16px, 4.6vw, 19px); line-height: 1.3; color: #fff; }
.gpsh-arr { font-size: 30px; font-weight: 700; color: #ffd56b; line-height: 1; }
@keyframes gpshSlide { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }

/* ---------- RED ALERT button (v1.3.0) ---------- */
.gpsh-redalert-btn {
	display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; margin: 0 auto 18px; padding: 10px 16px 10px 10px; cursor: pointer;
	border-radius: 16px; text-align: left; font-family: inherit; color: #fff;
	background: linear-gradient(135deg, #e53935, #b71c1c); border: 2px solid #ffcdd2;
	box-shadow: 0 6px 18px rgba(183, 28, 28, .45);
	animation: gpshSlide .6s .6s cubic-bezier(.2,.8,.2,1) both, gpshRaPulse 2.2s 1.4s ease-in-out infinite;
	max-width: 560px;
	transition: transform .2s;
}
.gpsh-redalert-btn:hover, .gpsh-redalert-btn:focus-visible { transform: translateY(-3px); outline: none; }
.gpsh-redalert-btn:active { transform: scale(.98); }
.gpsh-ra-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; color: #c62828; }
.gpsh-ra-cap { flex: 1; font-weight: 900; font-size: clamp(16px, 4.6vw, 19px); line-height: 1.3; color: #fff; }
.gpsh-redalert-btn .gpsh-arr { color: #fff; }
@keyframes gpshRaPulse { 0%, 100% { box-shadow: 0 6px 18px rgba(183,28,28,.45); } 50% { box-shadow: 0 6px 30px rgba(255,82,82,.85); } }
.gpsh-raview .gpsh-vbar { background: linear-gradient(90deg, #b71c1c, #e53935); }
.gpsh-ra-in { max-width: 1060px; margin: 0 auto; padding: 14px 10px 60px; }
@media (prefers-reduced-motion: reduce) { .gpsh-redalert-btn { animation: none; } }

/* ---------- People ---------- */
.gpsh-people { display: flex; flex-direction: column; gap: 18px; margin: 0 auto 30px; }
.gpsh-person {
	padding: 16px 12px; border-radius: 16px;
	background: linear-gradient(180deg, rgba(255,213,107,.14), rgba(255,213,107,.04));
	border-top: 2px solid #e0b450;
	animation: gpshDrop .7s calc(2.6s + var(--i, 0) * .2s) both;
}
.gpsh-pname { font-weight: 900; font-size: clamp(19px, 5.4vw, 24px); color: #fff; line-height: 1.3; }
.gpsh-prole { margin-top: 4px; font-weight: 800; font-size: clamp(14px, 4vw, 16px); color: #ffd56b; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- Footer ---------- */
.gpsh-foot { opacity: .9; }
.gpsh-foottxt { margin: 0 0 10px; font-weight: 700; font-size: 13px; color: #cfd9f5; }
.gpsh-admin-btn {
	border: 1px solid rgba(255,255,255,.35); background: transparent; color: #cfd9f5; font-weight: 700; font-size: 12px;
	padding: 5px 14px; border-radius: 99px; cursor: pointer; font-family: inherit;
}

/* ---------- Chat floating button ---------- */
.gpsh-chat-fab {
	position: fixed; right: 16px; bottom: 16px; z-index: 6;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 20px; border: 0; border-radius: 99px; cursor: pointer; font-family: inherit;
	background: linear-gradient(180deg, #ffe08a, #e0a83a); color: #4a1500; font-weight: 900; font-size: 16px;
	box-shadow: 0 0 0 3px rgba(255,255,255,.25), 0 10px 26px rgba(0,0,0,.45);
	animation: gpshDrop .6s 3s both, gpshBob 3s 4s ease-in-out infinite;
}
.gpsh-chat-count {
	min-width: 26px; padding: 2px 8px; border-radius: 99px; background: #c62828; color: #fff; font-size: 13px; font-weight: 900; text-align: center;
	box-shadow: 0 0 0 2px #fff;
}
.gpsh-chat-new {
	position: absolute; top: -14px; right: 6px; padding: 3px 10px; border-radius: 99px; background: #2e7d32; color: #fff;
	font-size: 12px; font-weight: 900; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.35); animation: gpshPulse 1.2s ease-in-out infinite;
}
.gpsh-chat-new[hidden] { display: none; }
@keyframes gpshBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ======================================================================
   Popups (appended to <body>; share .gpsh-scope) – light theme
   ====================================================================== */
.gpsh-overlay {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: flex-start; justify-content: center;
	padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch;
	background: rgba(4, 14, 40, .6);
	opacity: 0; transition: opacity .25s;
	font-family: "Poppins", "Segoe UI", "Noto Sans Telugu", "Nirmala UI", Arial, sans-serif;
}
.gpsh-overlay.gpsh-open { opacity: 1; }
.gpsh-modal {
	position: relative; width: 100%; max-width: 480px; margin: 24px auto;
	background: #FFFDF7; color: #3a2c1a; border-radius: 18px; padding: 22px 18px 18px;
	border-top: 5px solid #C97A1E;
	box-shadow: 0 20px 60px rgba(0,0,0,.45);
	transform: translateY(-30px) scale(.97); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.gpsh-open .gpsh-modal { transform: none; }
.gpsh-wide .gpsh-modal { max-width: 980px; }
.gpsh-x {
	position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%;
	border: 0; background: #FFF6E8; color: #A6531A; font-size: 18px; font-weight: 900; cursor: pointer; line-height: 1;
}
.gpsh-modal h3 { margin: 0 44px 14px 0; font-size: 21px; font-weight: 900; color: #A6531A; line-height: 1.3; }
.gpsh-modal h4 { margin: 18px 0 8px; font-size: 16px; font-weight: 900; color: #A6531A; }
.gpsh-modal label { display: block; margin: 10px 0 4px; font-weight: 800; font-size: 14px; color: #3a2c1a; }
.gpsh-in {
	display: block; width: 100%; padding: 11px 12px; border-radius: 10px;
	border: 1.5px solid #e2c393; background: #fff; color: #3a2c1a; font-weight: 700; font-size: 16px; font-family: inherit;
	line-height: 1.3;
}
.gpsh-in:focus { outline: none; background: #FFF9C4; border-color: #C97A1E; box-shadow: 0 0 0 3px rgba(201,122,30,.2); }
textarea.gpsh-in { resize: vertical; min-height: 70px; }
.gpsh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	margin-top: 12px; padding: 12px 20px; border: 0; border-radius: 12px; cursor: pointer; font-family: inherit;
	background: #C97A1E; color: #fff; font-weight: 900; font-size: 16px; line-height: 1.2;
	transition: transform .15s, background .15s;
}
.gpsh-btn:hover { background: #A6531A; transform: translateY(-1px); }
.gpsh-btn:active { transform: scale(.97); }
.gpsh-btn[disabled] { opacity: .55; cursor: wait; }
.gpsh-btn.gpsh-full { width: 100%; }
.gpsh-btn.gpsh-sm { margin-top: 0; padding: 8px 12px; font-size: 13px; border-radius: 9px; }
.gpsh-btn.gpsh-red { background: #c62828; }
.gpsh-btn.gpsh-red:hover { background: #9e1c1c; }
.gpsh-btn.gpsh-green { background: #2e7d32; }
.gpsh-btn.gpsh-light { background: #FFF6E8; color: #A6531A; border: 1.5px solid #e2c393; }
.gpsh-msg { min-height: 20px; margin: 8px 0 0; font-weight: 800; font-size: 14px; color: #c62828; }
.gpsh-msg.ok { color: #2e7d32; }
.gpsh-muted { color: #7a6650; font-weight: 600; font-size: 14px; }
.gpsh-linkbtn { border: 0; background: none; color: #A6531A; font-weight: 800; text-decoration: underline; cursor: pointer; font-family: inherit; font-size: 14px; padding: 0 4px; }

/* ---------- Menu popup (slides from top) ---------- */
.gpsh-menu-ov { align-items: flex-start; }
.gpsh-menu-ov .gpsh-modal { margin-top: 8px; transform: translateY(-110%); }
.gpsh-menu-ov.gpsh-open .gpsh-modal { transform: none; }
.gpsh-mlist { display: flex; flex-direction: column; gap: 12px; }
.gpsh-mitem {
	display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px;
	background: #FFF6E8; border: 1.5px solid #e9cf9f; color: #3a2c1a !important; text-decoration: none !important;
	font-weight: 800; font-size: 17px; cursor: pointer; text-align: left; width: 100%; font-family: inherit;
	opacity: 0; transform: translateY(-10px);
	transition: background .2s, transform .2s;
}
.gpsh-open .gpsh-mitem { animation: gpshMenuIn .4s calc(.1s + var(--i, 0) * .06s) both; }
.gpsh-mitem:hover { background: #FFF9C4; transform: translateX(4px); }
.gpsh-mitem .gpsh-ic { flex-basis: 40px; width: 40px; height: 40px; }
@keyframes gpshMenuIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- Chat popup ---------- */
.gpsh-who { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 12px; border-radius: 10px; background: #FFF6E8; font-weight: 800; }
.gpsh-thread {
	margin: 12px 0; padding: 10px; border-radius: 12px; background: #fff; border: 1.5px solid #f0dcb8;
	max-height: min(48vh, 420px); min-height: 140px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
}
.gpsh-bub { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-weight: 700; font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.gpsh-bub small { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; opacity: .75; }
.gpsh-bub b.gpsh-by { display: block; font-size: 12px; margin-bottom: 2px; }
.gpsh-bub.me { align-self: flex-end; background: #C97A1E; color: #fff; border-bottom-right-radius: 4px; }
.gpsh-bub.them { align-self: flex-start; background: #FFF6E8; color: #3a2c1a; border: 1px solid #ecd3a6; border-bottom-left-radius: 4px; }
.gpsh-bub .gpsh-del1 { float: right; margin: -4px -6px 0 8px; border: 0; background: none; color: inherit; cursor: pointer; font-weight: 900; opacity: .6; }

/* ---------- Admin ---------- */
.gpsh-adm-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-right: 40px; }
.gpsh-adm-top h3 { margin: 0; }
.gpsh-adm-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gpsh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.gpsh-stat { background: #FFF6E8; border: 1.5px solid #ecd3a6; border-radius: 12px; padding: 10px; text-align: center; }
.gpsh-stat b { display: block; font-size: 22px; color: #A6531A; font-weight: 900; }
.gpsh-stat span { font-size: 12px; font-weight: 800; color: #3a2c1a; }
.gpsh-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.gpsh-bar .gpsh-in { flex: 1 1 180px; width: auto; }
.gpsh-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; padding: 8px; border-radius: 10px; background: #FFF6E8; }
.gpsh-bulk label { margin: 0 6px 0 0; display: inline-flex; align-items: center; gap: 6px; }
.gpsh-tablewrap { overflow-x: auto; border-radius: 12px; border: 1.5px solid #ecd3a6; }
.gpsh-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; background: #fff; }
.gpsh-table th { background: #C97A1E; color: #fff; font-weight: 800; padding: 9px 8px; text-align: left; white-space: nowrap; }
.gpsh-table td { padding: 9px 8px; border-top: 1px solid #f2e2c6; color: #3a2c1a; font-weight: 700; vertical-align: top; }
.gpsh-table tr.gpsh-row { cursor: pointer; }
.gpsh-table tr.gpsh-row:hover td { background: #FFF9C4; }
.gpsh-table tr.unread td { background: #fff3e0; }
.gpsh-snip { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gpsh-badge { display: inline-block; min-width: 24px; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 900; text-align: center; }
.gpsh-badge.new { background: #c62828; color: #fff; }
.gpsh-badge.done { background: #e8f5e9; color: #2e7d32; }
.gpsh-badge.wait { background: #fff3cd; color: #8a5a00; }

/* EDIT APPLICATION */
.gpsh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.gpsh-rows { display: flex; flex-direction: column; gap: 10px; }
.gpsh-erow { display: grid; gap: 8px; align-items: center; padding: 10px; border-radius: 12px; background: #FFF6E8; border: 1px solid #ecd3a6; }
.gpsh-erow.lnk { grid-template-columns: 110px 1fr 1fr 1.4fr 40px; }
.gpsh-erow.ppl { grid-template-columns: 1fr 1fr 1fr 1fr 40px; }
.gpsh-erow .gpsh-in { padding: 9px 10px; font-size: 14px; }
.gpsh-rm { width: 38px; height: 38px; border: 0; border-radius: 10px; background: #c62828; color: #fff; font-weight: 900; cursor: pointer; }
.gpsh-savebar { position: sticky; bottom: -18px; margin: 16px -18px -18px; padding: 12px 18px; background: #FFFDF7; border-top: 1.5px solid #ecd3a6; border-radius: 0 0 18px 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.gpsh-savebar .gpsh-btn { margin-top: 0; }

/* ---------- Founder / Nodal Officer photos ---------- */
.gpsh-photos { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 0 0 18px; }
.gpsh-photo {
	position: relative; margin: 0; flex: 0 1 46%; display: flex; flex-direction: column; align-items: center;
	transition: transform .12s linear, opacity .12s linear; will-change: transform, opacity;
}
.gpsh-photo img {
	display: block; width: 100%; max-width: 230px; height: auto; max-height: 46vw;
	object-fit: contain; object-position: bottom; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45));
}
.gpsh-pl img { animation: gpshFromLeft 1s .4s cubic-bezier(.2,.8,.2,1) both; }
.gpsh-pr img { animation: gpshFromRight 1s .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes gpshFromLeft { from { opacity: 0; transform: translateX(-60%); } to { opacity: 1; transform: none; } }
@keyframes gpshFromRight { from { opacity: 0; transform: translateX(60%); } to { opacity: 1; transform: none; } }
.gpsh-photo figcaption {
	position: relative; z-index: 1; margin-top: -10px; width: 100%; max-width: 230px; padding: 7px 6px; border-radius: 12px;
	background: linear-gradient(180deg, #ffe08a, #e0a83a); color: #4a1500; text-align: center; line-height: 1.25;
	box-shadow: 0 6px 14px rgba(0,0,0,.35);
	animation: gpshDrop .6s 1.2s both;
}
.gpsh-phname { display: block; font-weight: 900; font-size: clamp(12px, 3.5vw, 16px); }
.gpsh-phrole { display: block; margin-top: 2px; font-weight: 800; font-size: clamp(10px, 2.9vw, 12px); letter-spacing: 1.5px; text-transform: uppercase; color: #7a1d00; }
@media (min-width: 1000px) {
	.gpsh-photos { display: block; height: 0; margin: 0; }
	.gpsh-photo { position: fixed; bottom: 0; z-index: 2; width: min(25vw, 360px); }
	.gpsh-pl { left: 1.5vw; }
	.gpsh-pr { right: 1.5vw; bottom: 70px; }
	.gpsh-photo img { max-width: none; max-height: 62vh; width: 100%; }
	.gpsh-photo figcaption { max-width: 300px; }
}

/* ---------- News / Address popup ---------- */
.gpsh-th { display: flex; align-items: center; gap: 10px; }
.gpsh-th svg { flex: 0 0 auto; color: #C97A1E; }
.gpsh-rich {
	white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word;
	font-size: 16px; line-height: 1.65; font-weight: 700; color: #3a2c1a;
	padding: 14px; border-radius: 12px; background: #fff; border: 1.5px solid #f0dcb8;
}
.gpsh-rich a { color: #A6531A; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.gpsh-rich a:hover { background: #FFF9C4; }
.gpsh-pvbox { margin-top: 10px; }
.gpsh-tupd { margin: 10px 0 0; text-align: right; font-size: 13px; }

/* ---------- Full-page viewer ---------- */
.gpsh-viewer {
	position: fixed; inset: 0; z-index: 100001; display: flex; flex-direction: column; background: #FFFDF7;
	opacity: 0; transform: translateY(24px); transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1);
	font-family: "Poppins", "Segoe UI", "Noto Sans Telugu", "Nirmala UI", Arial, sans-serif;
}
.gpsh-viewer.gpsh-open { opacity: 1; transform: none; }
body.admin-bar .gpsh-viewer { top: 32px; }
@media (max-width: 782px) { body.admin-bar .gpsh-viewer { top: 46px; } }
.gpsh-vbar {
	flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 6px 10px; min-height: 56px;
	background: #0b2560; background: linear-gradient(90deg, #0b2560, #123a8c); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.gpsh-home-btn {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 99px; cursor: pointer;
	border: 0; background: linear-gradient(180deg, #ffe08a, #e0a83a); color: #4a1500; font-family: inherit; font-weight: 900; font-size: 15px;
	box-shadow: 0 0 0 2px rgba(255,255,255,.4);
}
.gpsh-home-btn img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; }
.gpsh-home-btn:hover { transform: scale(1.04); }
.gpsh-vtitle { flex: 1; min-width: 0; font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpsh-vnew { flex: 0 0 auto; color: #ffd56b !important; font-weight: 800; font-size: 13px; text-decoration: none !important; padding: 6px 10px; border: 1px solid rgba(255,213,107,.6); border-radius: 99px; }
.gpsh-vload { position: absolute; top: 50%; left: 0; right: 0; text-align: center; color: #A6531A; font-weight: 800; z-index: 0; }
.gpsh-vframe { position: relative; z-index: 1; flex: 1 1 auto; width: 100%; height: 100%; border: 0; background: transparent; }
.gpsh-vpage { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.gpsh-vpage-in { max-width: 760px; margin: 0 auto; padding: 22px 16px 60px; color: #3a2c1a; }
.gpsh-vpage-in h2 { margin: 0 0 14px; color: #A6531A; font-weight: 900; font-size: clamp(22px, 6vw, 30px); line-height: 1.25; }
.gpsh-vcontent { font-size: 17px; line-height: 1.7; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.gpsh-vcontent img { max-width: 100%; height: auto; border-radius: 10px; }
.gpsh-vcontent a { color: #A6531A; font-weight: 800; }

/* ---------- Panchangam popup ---------- */
.gpsh-panch-h { font-size: 24px !important; }
.gpsh-ptable { display: flex; flex-direction: column; gap: 8px; }
.gpsh-prow {
	display: flex; align-items: baseline; gap: 12px; padding: 11px 14px; border-radius: 12px; background: #FFF6E8; border-left: 5px solid #C97A1E;
	animation: gpshMenuIn .4s calc(.08s + var(--i, 0) * .07s) both;
}
.gpsh-prow span { flex: 0 0 82px; font-weight: 800; color: #A6531A; font-size: 16px; }
.gpsh-prow b { flex: 1; font-weight: 900; color: #3a2c1a; font-size: 18px; line-height: 1.4; }
.gpsh-pnote { margin-top: 12px; text-align: center; font-size: 13px; }

/* ---------- Pages editor / update ---------- */
.gpsh-prow-ed { grid-template-columns: 1fr; }
.gpsh-ed-line { display: grid; grid-template-columns: 110px 110px 1fr 1fr 110px auto; gap: 8px; align-items: center; }
.gpsh-ed-tools { display: inline-flex; gap: 6px; }
.gpsh-mv { width: 34px; height: 38px; border: 1.5px solid #e2c393; border-radius: 10px; background: #fff; color: #A6531A; font-weight: 900; cursor: pointer; }
.gpsh-ed-cnt { font-size: 13px; }
.gpsh-upgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gpsh-upcard { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: #FFF6E8; border: 1.5px solid #ecd3a6; }
.gpsh-upcard span { width: 100%; font-size: 13px; font-weight: 800; color: #7a6650; }
.gpsh-upcard b { font-size: 20px; color: #A6531A; font-weight: 900; }
.gpsh-mlbl { flex: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
	.gpsh-stats { grid-template-columns: repeat(2, 1fr); }
	.gpsh-grid2 { grid-template-columns: 1fr; }
	.gpsh-erow.lnk, .gpsh-erow.ppl { grid-template-columns: 1fr 1fr; }
	.gpsh-erow .gpsh-rm { justify-self: end; }
	.gpsh-ed-line { grid-template-columns: 1fr 1fr; }
	.gpsh-ed-tools { justify-content: flex-end; }
	.gpsh-upgrid { grid-template-columns: 1fr; }
	.gpsh-vnew span { display: none; }
}
@media (max-width: 420px) {
	.gpsh-panch-btn { letter-spacing: 1px; padding: 5px 12px; gap: 6px; font-size: 15px; }
	.gpsh-top-ic { font-size: 13px; padding: 0 10px; }
	.gpsh-main { padding-left: 12px; padding-right: 12px; }
	.gpsh-link { gap: 10px; min-height: 56px; padding-right: 12px; }
	.gpsh-ic { flex-basis: 40px; width: 40px; height: 40px; }
	.gpsh-chat-fab { right: 12px; bottom: 12px; padding: 11px 16px; font-size: 15px; }
	.gpsh-overlay { padding: 8px; }
	.gpsh-modal { padding: 20px 14px 14px; margin: 10px auto; }
	.gpsh-savebar { margin: 16px -14px -14px; padding: 12px 14px; }
}
@media (max-width: 340px) {
	.gpsh-chat-lbl { display: none; }
	.gpsh-datebar { gap: 6px; padding: 6px; }
	.gpsh-news-lbl { display: none; }
	.gpsh-news-btn { width: 42px; padding: 0; }
	.gpsh-prow span { flex-basis: 64px; font-size: 14px; }
	.gpsh-prow b { font-size: 16px; }
}
@media (min-height: 900px) and (min-width: 700px) {
	.gpsh-main { padding-top: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.gpsh-scope *, .gpsh-scope *::before, .gpsh-scope *::after {
		animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
		transition-duration: .01ms !important;
	}
	.gpsh-sparks { display: none; }
	.gpsh-mitem { opacity: 1; transform: none; }
	.gpsh-viewer { transform: none; }
	.gpsh-photo { transition: none; }
}
