/* Ancient temple / palm-leaf manuscript theme (LoneMate). Loaded after site.css when BRAND_THEME = 'temple'. */
.theme-temple{
  --paper:#f4e4c1;--paper2:#3d0f0c;--ink:#3b1a0b;--ink2:#5b3519;--dim:#8a6a43;--rule:#c9a35d;--grid:transparent;
  --acc:#b8461b;--gold:#c99a2e;--gold2:#e8c36a;--maroon:#5a1410;
  --disp:"Cinzel","Tiro Telugu","Noto Serif Telugu",Georgia,serif;
  --sans:"Lora","Noto Serif Telugu",Georgia,serif;
  --mono:"Cinzel","Noto Serif Telugu",Georgia,serif;
  background:var(--paper2) radial-gradient(circle at 50% 0,#6b1d16 0,#3d0f0c 60%) fixed;
}
.theme-temple .mono{letter-spacing:.14em;font-weight:700;font-size:11px}

/* the leaf: parchment with fibres instead of a drafting grid, gold double border */
.theme-temple .sheet{border:3px double var(--gold);border-radius:6px;padding-left:0;
  background:
    repeating-linear-gradient(0deg,rgba(120,80,30,.045) 0 1px,transparent 1px 7px),
    radial-gradient(ellipse at 20% 10%,rgba(255,250,235,.7),transparent 60%),
    radial-gradient(ellipse at 80% 90%,rgba(170,110,40,.16),transparent 55%),
    var(--paper);
  box-shadow:0 0 0 6px var(--maroon),0 0 0 8px var(--gold),0 30px 80px rgba(0,0,0,.45)}
.theme-temple .sheet::before{inset:10px;border:1px solid var(--rule);border-radius:3px}
.theme-temple .ticks,.theme-temple .mast-meta{display:none}

/* gopuram frieze under the masthead */
.theme-temple .mast{border-bottom:0;height:92px;position:relative}
.theme-temple .mast::after{content:"";position:absolute;left:0;right:0;bottom:-14px;height:14px;
  background:
    linear-gradient(135deg,var(--gold) 25%,transparent 25%) -7px 0/14px 14px,
    linear-gradient(225deg,var(--gold) 25%,transparent 25%) -7px 0/14px 14px,
    linear-gradient(var(--maroon),var(--maroon)) 0 0/100% 4px no-repeat;opacity:.9}
.theme-temple .wordmark{font:900 30px/1 var(--disp);letter-spacing:.08em;color:var(--maroon)}
.theme-temple .wordmark b{color:var(--acc)}
.theme-temple .wordmark .mark{width:38px;height:38px}
.theme-temple .mainnav a{font-family:var(--disp);letter-spacing:.06em;border-radius:999px}
.theme-temple .mainnav a:hover{border-color:var(--gold)}
.theme-temple .mainnav a.on{background:var(--maroon);color:var(--gold2)}

/* buttons: lacquered saffron with a gold rim */
.theme-temple .btn{background:linear-gradient(180deg,#d4622a,var(--acc));color:#fff8e6;border:2px solid var(--gold);border-radius:999px;
  box-shadow:0 3px 0 var(--maroon),0 8px 18px rgba(90,20,16,.25);font-family:var(--disp);letter-spacing:.06em;padding:13px 26px}
.theme-temple .btn:hover{transform:translateY(-2px);box-shadow:0 5px 0 var(--maroon),0 12px 24px rgba(90,20,16,.3)}
.theme-temple .btn.ghost{background:transparent;color:var(--maroon)}

/* hero */
.theme-temple .hero{border-bottom:0;padding-top:72px;position:relative}
.theme-temple .hero::after,.theme-temple .chan-hero::after{content:"❖  ❖  ❖";position:absolute;left:0;right:0;bottom:6px;text-align:center;color:var(--gold);letter-spacing:.6em;font-size:14px}
.theme-temple .kicker{color:var(--acc);font-family:var(--disp)}
.theme-temple .hero h1,.theme-temple .chan-hero h1,.theme-temple .ep-head h1{font:400 clamp(58px,7.6vw,120px)/1.08 var(--disp);text-transform:none;color:var(--maroon);letter-spacing:0}
.theme-temple .hero h1 em,.theme-temple .chan-hero h1 em{color:var(--acc);-webkit-text-stroke:0;text-shadow:0 2px 0 rgba(201,154,46,.35)}
.theme-temple .hero h1 em::after,.theme-temple .chan-hero h1 em::after{height:.06em;bottom:-.04em;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.theme-temple .lede{font-family:var(--sans);font-size:21px;line-height:1.7;color:var(--ink2)}
.theme-temple .hero-fig{border:0;background:transparent}
.theme-temple .hero-fig .titleblock{display:none}
.theme-temple .drawing{padding:0}
.theme-temple .drawing .ln{stroke:var(--ink)}
.theme-temple .drawing .thin{stroke:var(--dim)}
.theme-temple .drawing .pylon{stroke:var(--acc);stroke-width:4}
.theme-temple .drawing .deck{stroke:var(--gold);stroke-width:4}
.theme-temple .drawing .d{stroke:var(--gold)}
.theme-temple .drawing text{fill:var(--acc);font-family:var(--disp)}

/* production strip: temple-lamp band */
.theme-temple .strip{background:linear-gradient(180deg,var(--maroon),#3d0f0c);border-top:3px double var(--gold);border-bottom:3px double var(--gold);margin:0 -44px}
.theme-temple .strip>div{border-right-color:rgba(232,195,106,.25)}
.theme-temple .strip span.mono{color:var(--gold2)}
.theme-temple .strip b{font-family:var(--disp);color:#fff3d6}
.theme-temple .strip>div:first-child b{color:var(--gold2)}
.theme-temple .strip-note{color:#f1dcb0;font-family:var(--sans)}
.theme-temple .pulse{background:var(--gold2);box-shadow:0 0 0 0 rgba(232,195,106,.6);animation-name:diya}
@keyframes diya{70%{box-shadow:0 0 0 10px rgba(232,195,106,0)}100%{box-shadow:0 0 0 0 rgba(232,195,106,0)}}

/* section heads with a lotus rule */
.theme-temple .block-h{border-bottom:0;position:relative;padding-bottom:16px}
.theme-temple .block-h::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,var(--gold),var(--acc) 50%,var(--gold))}
.theme-temple .block-h .mono{color:var(--gold)}
.theme-temple .block-h h2{font:700 42px/1.1 var(--disp);text-transform:none;color:var(--maroon)}

/* cards: temple-arch frames */
.theme-temple .dwg{border:2px solid var(--gold);border-radius:18px;background:rgba(255,248,228,.75);overflow:hidden}
.theme-temple .dwg:hover{box-shadow:0 14px 30px rgba(90,20,16,.25);transform:translateY(-4px)}
.theme-temple .dwg-frame{border:2px solid var(--maroon);border-radius:50% 50% 10px 10px / 18% 18% 10px 10px;background:#2b0c09}
.theme-temple .cm{display:none}
.theme-temple .play{background:rgba(90,20,16,.85);box-shadow:0 0 0 3px var(--gold)}
.theme-temple .dwg-kicker{color:var(--acc)}
.theme-temple .dwg h3{font:700 25px/1.25 var(--disp);text-transform:none;color:var(--maroon)}
.theme-temple .tb{border-top:1px solid var(--rule)}
.theme-temple .tb>div{border-right-color:var(--rule)}
.theme-temple .dwg-big .tb{border-color:var(--rule);border-radius:10px}
.theme-temple .empty-state{border:2px dashed var(--gold);border-radius:18px;background:rgba(255,248,228,.6)}
.theme-temple .empty-state h2{font:700 38px/1.2 var(--disp);text-transform:none;color:var(--maroon)}

/* departments */
.theme-temple .depts{border:2px solid var(--gold);border-radius:18px;overflow:hidden}
.theme-temple .dept{border-color:var(--rule);background:rgba(255,248,228,.6)}
.theme-temple .dept::before{background:linear-gradient(var(--acc),var(--gold))}
.theme-temple .dept h3{font:700 44px/1.05 var(--disp);text-transform:none;color:var(--maroon)}
.theme-temple .dept-f{border-top-color:var(--rule)}

/* titleblocks become plaques */
.theme-temple .titleblock{border-color:var(--gold);font-family:var(--sans)}
.theme-temple .titleblock>div{border-color:var(--rule)}
.theme-temple .titleblock span{color:var(--acc);font-family:var(--disp)}
.theme-temple .titleblock.vertical{border:2px solid var(--gold);border-radius:14px;overflow:hidden;background:rgba(255,248,228,.75)}
.theme-temple .chan-hero{border-bottom:0;position:relative}
.theme-temple .chan-meta .titleblock{border:2px solid var(--gold);border-radius:14px;background:rgba(255,248,228,.75)}

/* episode page */
.theme-temple .screen{border:3px solid var(--gold);border-radius:14px;box-shadow:0 0 0 6px var(--maroon),0 18px 40px rgba(0,0,0,.35)}
.theme-temple .phone{border:3px solid var(--gold);box-shadow:0 0 0 6px var(--maroon),0 18px 40px rgba(0,0,0,.35)}
.theme-temple .report-label{color:var(--acc);border-bottom:1px solid var(--gold)}
.theme-temple .report h2{font:700 34px/1.2 var(--disp);text-transform:none;color:var(--maroon)}
.theme-temple .report h2::before{content:"✦ ";color:var(--gold)}
.theme-temple .report h3{font:700 23px/1.25 var(--disp);text-transform:none;color:var(--maroon)}
.theme-temple .report p,.theme-temple .report li{font-family:var(--sans);color:#3b2412;line-height:1.85}
.theme-temple .report p:first-of-type::first-letter{font:400 78px/.8 var(--disp);color:var(--acc)}
.theme-temple .report blockquote{border:0;border-left:4px solid var(--gold);border-radius:0 12px 12px 0;background:rgba(201,154,46,.12);box-shadow:none;font:italic 400 22px/1.5 var(--sans);color:var(--maroon)}
.theme-temple .tags span{border-color:var(--gold);border-radius:999px;font-family:var(--sans)}
.theme-temple .preview-bar{background:var(--maroon)}

/* footer: sanctum doorway */
.theme-temple .foot{background:linear-gradient(180deg,var(--maroon),#2b0a08);border-top:3px double var(--gold);border-radius:0 0 4px 4px}
.theme-temple .foot-word{font:900 clamp(52px,10vw,150px)/.9 var(--disp);-webkit-text-stroke:1.5px rgba(232,195,106,.45);letter-spacing:.06em}
.theme-temple .foot-word b{-webkit-text-stroke-color:var(--gold2)}
.theme-temple .foot-grid a{color:#f1dcb0}
.theme-temple .foot-grid a:hover{color:var(--gold2)}
.theme-temple .foot .label{color:var(--gold)}
.theme-temple ::selection{background:var(--gold);color:var(--maroon)}

@media (max-width:720px){
  .theme-temple .sheet{box-shadow:none;border:0;border-radius:0}
  .theme-temple .strip{margin:0 -16px}
  .theme-temple .hero h1,.theme-temple .chan-hero h1{font-size:clamp(46px,13vw,72px)}
}
