:root{--pp-gold:#ffad08;--pp-gold2:#ff8a00;--pp-purple:#4b18e8;--pp-purple2:#7627ed;--pp-ink:#111735;--pp-muted:#697188;--pp-line:#eadfc9;--pp-shadow:0 10px 28px rgba(255,157,0,.13),0 3px 12px rgba(75,24,232,.06)}
*{box-sizing:border-box}.tm-pujari-profile-page{margin:0;background:linear-gradient(180deg,#fff 0%,#fffdf9 70%,#fff 100%);color:var(--pp-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.tm-pujari-profile-page a{color:inherit}.profile-shell{width:min(1480px,calc(100% - 44px));margin:0 auto;padding:12px 0 24px}.profile-card{border:1.5px solid var(--pp-gold);border-radius:17px;background:rgba(255,255,255,.95);box-shadow:var(--pp-shadow);overflow:hidden}.profile-back{height:42px;display:flex;align-items:center;padding:0 22px}.profile-back a{text-decoration:none;color:#ee7108;font-size:14px}.profile-hero{position:relative;display:grid;grid-template-columns:310px 1fr 360px;min-height:330px;align-items:center;padding:0 26px;overflow:hidden;background:radial-gradient(circle at 22% 25%,rgba(255,204,91,.18),transparent 28%),linear-gradient(110deg,#fff 0%,#fff 67%,#fff8f1 100%)}.profile-portrait-wrap{position:relative;height:320px;display:flex;align-items:flex-end;justify-content:center;z-index:2}.profile-portrait-halo{position:absolute;width:280px;height:280px;border-radius:50%;left:16px;top:12px;border:1px solid rgba(255,173,8,.45);box-shadow:0 0 0 16px rgba(255,173,8,.05),0 0 0 34px rgba(255,173,8,.035);background:radial-gradient(circle,rgba(255,235,186,.55),transparent 68%);z-index:3;pointer-events:none;overflow:visible}.profile-portrait-halo:after{content:"";position:absolute;inset:-1px;border-radius:50%;padding:1px;background:conic-gradient(from 0deg,transparent 0deg,transparent 245deg,rgba(255,188,32,.15) 275deg,#f5c75c 305deg,#fff1b5 326deg,#f5c75c 344deg,rgba(255,188,32,.18) 354deg,transparent 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;filter:drop-shadow(0 0 4px rgba(245,199,92,.72));animation:profileHaloGoldSweep 4.8s linear infinite;will-change:transform}.profile-portrait{height:280px;width:280px;object-fit:cover;object-position:center center;position:relative;z-index:2;border-radius:50%;clip-path:circle(50% at 50% 50%);transform:scale(1.07);filter:drop-shadow(0 12px 14px rgba(74,32,126,.13))}.profile-verified{position:absolute;z-index:4;left:18px;bottom:20px;background:linear-gradient(135deg,#5a19e6,#7727ec);color:#fff;border-radius:7px;padding:9px 17px;font-size:13px;font-weight:800;box-shadow:0 8px 17px rgba(86,27,230,.25)}.profile-hero-copy{position:relative;z-index:3;padding:26px 10px 26px 14px}.profile-name-row{display:flex;align-items:center;gap:10px}.profile-name-row h1{margin:0;font-size:31px;line-height:1.15;font-weight:750;letter-spacing:-.4px}.profile-badge{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#6320e6;color:#fff;font-size:13px;box-shadow:0 2px 8px rgba(99,32,230,.25)}.profile-rating{display:flex;align-items:center;gap:9px;margin-top:12px;font-size:14px}.profile-rating strong{font-size:23px;color:#ff9d00}.profile-rating b{font-size:17px}.profile-rating .stars{color:#ff9d00;letter-spacing:2px;font-size:18px}.profile-meta{display:flex;align-items:center;gap:12px;margin-top:16px;font-size:14px;font-weight:650}.profile-meta i{width:4px;height:4px;background:#ff8a00;border-radius:50%}.profile-location{display:flex;align-items:center;gap:10px;margin-top:17px;font-size:14px;font-weight:600}.profile-location:first-letter{color:#5b18d6}.profile-hero-copy>p{max-width:620px;margin:17px 0 18px;font-size:14px;line-height:1.6}.profile-actions{display:flex;align-items:center;gap:14px}.profile-btn,.profile-icon-btn{height:46px;border-radius:8px;font:700 14px/1 inherit;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.profile-btn{padding:0 20px}.profile-btn-primary{background:linear-gradient(135deg,#ffbd22,#ff9700);border:1px solid #f3a000;box-shadow:0 7px 15px rgba(255,157,0,.23);color:#241600}.profile-btn-secondary,.profile-btn-follow{background:#fff;border:1px solid #cda9ff;color:#24135d;box-shadow:0 4px 11px rgba(75,24,232,.07)}.profile-btn-follow{color:#5418db;padding-inline:21px}.profile-icon-btn{width:46px;background:#fff;border:1px solid #eadfc9;color:#252441;font-size:28px;box-shadow:0 4px 11px rgba(75,24,232,.07)}.profile-btn:hover,.profile-icon-btn:hover{transform:translateY(-1px)}.profile-hero-art{position:absolute;right:-15px;top:0;width:420px;height:100%;overflow:hidden;opacity:.92;z-index:1}.profile-hero-art img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.05)}.profile-hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.45) 24%,transparent 58%),linear-gradient(180deg,rgba(255,255,255,.15),rgba(255,255,255,.2))}.om-glow{position:absolute;z-index:3;right:130px;top:43px;width:88px;height:88px;border-radius:50%;display:grid;place-items:center;color:#ff8a00;font-size:57px;text-shadow:0 0 17px rgba(255,153,0,.35);background:radial-gradient(circle,rgba(255,241,199,.78),rgba(255,255,255,.1) 68%);border:1px solid rgba(255,173,8,.32)}
@keyframes profileHaloGoldSweep{to{transform:rotate(360deg)}}
.profile-stats{margin-top:14px;display:grid;grid-template-columns:repeat(5,1fr);min-height:84px;padding:0 10px}.profile-stats>div{display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto;align-items:center;padding:13px 18px;border-right:1px solid #eee2d0}.profile-stats>div:last-child{border-right:0}.profile-stats i{grid-row:1/3;width:52px;height:52px;border-radius:50%;border:1px solid #e3c5ff;display:grid;place-items:center;color:#641ae6;font-style:normal;font-size:22px;background:#fff;box-shadow:0 5px 14px rgba(90,25,220,.08)}.profile-stats b{font-size:19px;margin-left:12px}.profile-stats span{font-size:12px;color:#3f4358;margin-left:12px;margin-top:1px}
.profile-main-grid{display:grid;grid-template-columns:1.05fr 1.45fr .95fr;gap:14px;margin-top:14px;align-items:stretch}.profile-about,.profile-expertise,.profile-languages{padding:20px}.profile-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.profile-card-heading h2{font-size:19px;margin:0;font-weight:750}.profile-card-heading h2:first-letter{color:#6a20e8}.profile-card-heading a{font-size:12px;color:#4d12e6;text-decoration:none;font-weight:700}.profile-about>p{font-size:13px;line-height:1.75;margin:0;color:#22263b}.profile-check-list{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:15px;font-size:13px}.profile-check-list li{display:flex;gap:11px;color:#5d1be4}.profile-check-list span{color:#30344a}.specialty-list{display:grid}.specialty-row{min-height:40px;display:grid;grid-template-columns:40px 1fr auto;align-items:center;border-bottom:1px solid #eee5d8;gap:8px}.specialty-row:last-child{border-bottom:0}.specialty-row i{width:31px;height:31px;border:1px solid #e6b8ff;border-radius:50%;display:grid;place-items:center;color:#6b20e7;font-style:normal}.specialty-row b{font-size:13px;font-weight:650}.specialty-row span{font-size:12px;color:#ff9a00;white-space:nowrap}.profile-side-stack{display:grid;grid-template-rows:1fr auto;gap:14px}.profile-languages{padding:20px}.language-list{display:grid;gap:14px}.language-list>div{display:flex;align-items:center;justify-content:space-between;font-size:13px}.language-list span{display:flex;align-items:center;gap:9px}.language-list i{width:7px;height:7px;border-radius:50%;background:#ff9700}.language-list b{font-size:11px;color:#43485d}.profile-verified-card{min-height:73px;padding:14px 18px;display:flex;align-items:center;gap:12px}.profile-verified-card>i{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#faf7ff;border:1px solid #dec4ff;color:#5e19df;font-style:normal;font-size:21px}.profile-verified-card h3{margin:0;font-size:14px}.profile-verified-card p{margin:4px 0 0;font-size:11px;color:#656a7c}.profile-verified-card>strong{margin-left:auto;color:#19a24a;font-size:21px}
.profile-bottom-grid{display:grid;grid-template-columns:1.1fr 1.35fr;gap:14px;margin-top:14px}.profile-timeline,.profile-reviews{padding:20px}.timeline-list{position:relative;margin-top:3px}.timeline-list:before{content:"";position:absolute;left:9px;top:8px;bottom:8px;width:1px;background:#c9a3ff}.timeline-item{display:grid;grid-template-columns:18px 86px 1fr;gap:10px;align-items:center;min-height:48px;position:relative}.timeline-dot{width:11px;height:11px;border-radius:50%;border:2px solid #fff;background:#8b36e8;box-shadow:0 0 0 1px #c49aff;z-index:1}.timeline-item b{font-size:11px;color:#f17412}.timeline-item p{margin:0;font-size:12px}.review-list{display:grid;gap:13px}.review-row{display:grid;grid-template-columns:40px 1fr;gap:11px}.review-row>img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:1px solid #e2c9ff}.review-top{display:flex;align-items:center;gap:8px}.review-top b{font-size:12px}.review-top span{font-size:12px;letter-spacing:1px;color:#ff9b00}.review-top small{font-size:10px;color:#666b7b}.review-row p{margin:3px 0 0;font-size:11px;line-height:1.45;color:#3f4357}.profile-full-btn{width:100%;height:34px;margin-top:12px;border:1px solid #bd8cff;border-radius:6px;background:#fff;color:#5318df;font-weight:700;cursor:pointer}
.profile-contact-grid{display:grid;grid-template-columns:1fr 1.1fr 1.2fr;gap:14px;margin-top:14px}.contact-mini{min-height:105px;padding:18px;display:flex;align-items:center;gap:14px}.contact-mini>i{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;border:1px solid #ffce64;color:#6b1fe7;font-style:normal;font-size:25px;background:#fffdf8}.contact-mini>div{display:grid;gap:3px}.contact-mini span{font-size:12px}.contact-mini b{font-size:15px}.contact-mini strong{font-size:13px;color:#1b9b42}.contact-mini small{font-size:10px;color:#63687b}.contact-mini>a{margin-left:auto;width:43px;height:43px;border:1px solid #d7b8ff;border-radius:9px;display:grid;place-items:center;color:#6a20e8;text-decoration:none;font-size:20px}
@media(max-width:1100px){.profile-hero{grid-template-columns:250px 1fr;min-height:330px}.profile-hero-art{width:310px;opacity:.45}.profile-main-grid{grid-template-columns:1fr 1fr}.profile-side-stack{grid-column:1/-1;grid-template-columns:1fr 1fr;grid-template-rows:auto}.profile-bottom-grid{grid-template-columns:1fr}.profile-contact-grid{grid-template-columns:1fr 1fr}.profile-contact-grid .contact-mini:last-child{grid-column:1/-1}.profile-stats{grid-template-columns:repeat(3,1fr)}.profile-stats>div:nth-child(3){border-right:0}.profile-stats>div:nth-child(n+4){border-top:1px solid #eee2d0}}
@media(max-width:720px){.profile-shell{width:calc(100% - 20px);padding-top:4px}.profile-back{height:38px;padding:0 7px}.profile-hero{grid-template-columns:1fr;min-height:0;padding:20px 16px 22px;text-align:center}.profile-portrait-wrap{height:250px}.profile-portrait-halo{left:50%;transform:translateX(-50%);top:0;width:220px;height:220px}.profile-portrait{height:220px;width:220px;object-fit:cover;object-position:center center;transform:scale(1.07)}.profile-verified{left:50%;transform:translateX(-50%);bottom:4px;white-space:nowrap}.profile-hero-copy{padding:20px 0 4px}.profile-name-row{justify-content:center}.profile-name-row h1{font-size:25px}.profile-rating,.profile-meta,.profile-location{justify-content:center;flex-wrap:wrap}.profile-hero-copy>p{font-size:13px}.profile-actions{justify-content:center;flex-wrap:wrap}.profile-hero-art{display:none}.profile-stats{grid-template-columns:1fr 1fr;padding:0}.profile-stats>div{border-right:0!important;border-bottom:1px solid #eee2d0!important}.profile-stats>div:nth-child(odd){border-right:1px solid #eee2d0!important}.profile-stats>div:last-child{grid-column:1/-1;border-bottom:0!important}.profile-main-grid,.profile-side-stack,.profile-contact-grid{grid-template-columns:1fr}.profile-side-stack{grid-column:auto}.profile-contact-grid .contact-mini:last-child{grid-column:auto}.profile-about,.profile-expertise,.profile-languages,.profile-timeline,.profile-reviews{padding:16px}.specialty-row{grid-template-columns:36px 1fr}.specialty-row span{grid-column:2}.timeline-item{grid-template-columns:18px 78px 1fr}}

/* TARAMAA Mandir Gallery V4 — mobile-safe gallery + structured lightbox. */
.profile-mandir-gallery{margin-top:14px;padding:14px;overflow:hidden}
.profile-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.profile-gallery-title{display:flex;align-items:center;gap:10px;min-width:0}
.profile-gallery-icon{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;border:1px solid #f0bd49;background:#fffaf0;color:#d98900;font-size:20px}
.profile-gallery-title h2{margin:0;font-size:20px;line-height:1.15}
.profile-gallery-title p{margin:3px 0 0;font-size:11px;color:#6a7082;line-height:1.35}
.profile-gallery-controls{display:flex;gap:7px;flex:0 0 auto}
.profile-gallery-arrow{width:34px;height:34px;border-radius:50%;border:1px solid #f0bd49;background:#fff;color:#5b18d6;font-size:23px;line-height:1;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 10px rgba(75,24,232,.08)}
.profile-gallery-arrow:hover{background:#fff9eb;border-color:#ffad08}
.profile-gallery-viewport{overflow:hidden}
.profile-gallery-track{display:flex;gap:9px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:2px 1px 4px}
.profile-gallery-track::-webkit-scrollbar{display:none}
.profile-gallery-card{flex:0 0 calc((100% - 45px)/6);min-width:0;border:1px solid #f0bd49;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 5px 14px rgba(255,157,0,.10)}
.profile-gallery-media{position:relative;display:block;width:100%;height:112px;padding:0;border:0;background:#160a2d;overflow:hidden;cursor:pointer}
.profile-gallery-media img,.profile-gallery-media video{display:block;width:100%;height:100%;object-fit:cover;background:#120722}
.profile-gallery-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;padding-left:2px;background:rgba(6,11,18,.68);border:2px solid rgba(246,191,70,.9);color:#fff4c8;font-size:13px;box-shadow:0 0 14px rgba(246,191,70,.22)}
.profile-gallery-card-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px 7px;min-height:38px;background:#fff}
.profile-gallery-card-foot strong{font-size:8px;line-height:1.2;color:#22263b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-gallery-card-foot span{font-size:7px;color:#777b8b;white-space:nowrap}

/* Structured viewer: compact on desktop and fully contained on phones. */
.profile-gallery-lightbox{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(8,12,22,.78);backdrop-filter:blur(7px)}
.profile-gallery-lightbox.is-open{display:flex}
.profile-gallery-lightbox-inner{position:relative;width:min(92vw,900px);height:min(88vh,780px);display:flex;align-items:center;justify-content:center;padding:52px 58px 50px;border:1px solid rgba(255,193,72,.65);border-radius:18px;background:linear-gradient(145deg,#fff,#fffdf8);box-shadow:0 24px 70px rgba(0,0,0,.35);overflow:hidden}
.profile-gallery-lightbox-content{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.profile-gallery-lightbox [data-gallery-lightbox-content]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.profile-gallery-lightbox img,.profile-gallery-lightbox video{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.profile-gallery-lightbox-close{position:absolute;right:12px;top:10px;width:38px;height:38px;border-radius:50%;border:1px solid #f0bd49;background:#fff;color:#5b18d6;font-size:25px;line-height:1;cursor:pointer;z-index:4;display:grid;place-items:center}
.profile-gallery-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1px solid #f0bd49;background:#fff;color:#5b18d6;font-size:28px;line-height:1;cursor:pointer;z-index:4;display:grid;place-items:center;box-shadow:0 6px 15px rgba(75,24,232,.10)}
.profile-gallery-lightbox-nav.prev{left:10px}.profile-gallery-lightbox-nav.next{right:10px}
.profile-gallery-lightbox-nav:disabled{opacity:.35;cursor:default}
.profile-gallery-lightbox-counter{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);font:700 11px/1 Arial,sans-serif;color:#5d6172;background:rgba(255,255,255,.92);border:1px solid #eadfc9;border-radius:999px;padding:5px 10px;z-index:4}
.profile-gallery-lightbox-media-error{color:#4b18e8;font:700 14px/1.5 Arial,sans-serif;text-align:center;padding:30px}

@media(max-width:900px){
  .profile-gallery-card{flex-basis:calc((100% - 27px)/4)}
}
@media(max-width:620px){
  .profile-mandir-gallery{margin-top:12px;padding:10px}
  .profile-gallery-heading{gap:7px;margin-bottom:7px}
  .profile-gallery-title{gap:7px}
  .profile-gallery-icon{width:32px;height:32px;flex-basis:32px;font-size:15px}
  .profile-gallery-title h2{font-size:15px}
  .profile-gallery-title p{font-size:8px;margin-top:2px}
  .profile-gallery-controls{gap:4px}
  .profile-gallery-arrow{width:28px;height:28px;font-size:19px}
  .profile-gallery-track{gap:6px}
  .profile-gallery-card{flex-basis:calc((100% - 18px)/3);border-radius:7px}
  .profile-gallery-media{height:78px}
  .profile-gallery-play{width:27px;height:27px;font-size:10px;border-width:1px}
  .profile-gallery-card-foot{padding:4px 5px;min-height:30px}
  .profile-gallery-card-foot strong{font-size:6.5px}
  .profile-gallery-card-foot span{font-size:5.8px}

  .profile-gallery-lightbox{padding:8px}
  .profile-gallery-lightbox-inner{width:min(96vw,430px);height:min(86vh,760px);padding:48px 42px 42px;border-radius:15px}
  .profile-gallery-lightbox img,.profile-gallery-lightbox video{max-width:100%!important;max-height:100%!important;border-radius:6px}
  .profile-gallery-lightbox-close{right:8px;top:7px;width:34px;height:34px;font-size:22px}
  .profile-gallery-lightbox-nav{width:34px;height:34px;font-size:23px}
  .profile-gallery-lightbox-nav.prev{left:6px}.profile-gallery-lightbox-nav.next{right:6px}
  .profile-gallery-lightbox-counter{bottom:9px;font-size:9px;padding:4px 8px}
}


/* TARAMAA V12 — merged Pujari portrait ring only.
 * Restores the complete known-good profile/gallery stylesheet and changes
 * only the merged Pujari portrait presentation. No gallery layout rules are removed.
 */
.tm-merged-pujari-profile .profile-portrait-circle{
  position:relative!important;
  width:280px!important;
  height:280px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  flex:0 0 280px!important;
  background:transparent!important;
}
.tm-merged-pujari-profile .profile-portrait-circle .profile-portrait{
  width:100%!important;
  height:100%!important;
  display:block!important;
  border-radius:50%!important;
  clip-path:circle(50% at 50% 50%)!important;
  -webkit-clip-path:circle(50% at 50% 50%)!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:scale(1.14)!important;
  transform-origin:50% 50%!important;
  background:transparent!important;
}
.tm-merged-pujari-profile .profile-portrait-halo{
  width:280px!important;
  height:280px!important;
  left:15px!important;
  top:40px!important;
  border:4px solid #f5c75c!important;
  background:transparent!important;
  box-shadow:0 0 0 2px rgba(255,214,102,.35),0 0 10px 3px rgba(245,199,92,.72),0 0 24px 7px rgba(245,199,92,.30)!important;
  z-index:3!important;
}
.tm-merged-pujari-profile .profile-portrait-halo:after{
  content:""!important;
  position:absolute!important;
  inset:-4px!important;
  border-radius:50%!important;
  padding:4px!important;
  background:conic-gradient(from 0deg,
    rgba(194,138,34,.20) 0deg,
    #f5c75c 55deg,
    #fff5c8 68deg,
    #f5c75c 82deg,
    rgba(194,138,34,.18) 170deg,
    rgba(194,138,34,.18) 245deg,
    #f5c75c 310deg,
    #fff5c8 323deg,
    #f5c75c 338deg,
    rgba(194,138,34,.20) 360deg)!important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  -webkit-mask-composite:xor!important;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  mask-composite:exclude!important;
  filter:drop-shadow(0 0 5px rgba(245,199,92,.95))!important;
  animation:tmMergedCircleGoldShine 3.8s linear infinite!important;
}
@keyframes tmMergedCircleGoldShine{to{transform:rotate(360deg)}}
@media(max-width:720px){
  .tm-merged-pujari-profile .profile-portrait-circle{width:220px!important;height:220px!important;flex-basis:220px!important}
  .tm-merged-pujari-profile .profile-portrait-halo{width:220px!important;height:220px!important;left:50%!important;top:30px!important;transform:translateX(-50%)!important}
  .tm-merged-pujari-profile .profile-portrait-circle .profile-portrait{transform:scale(1.14)!important}
}
