/* வாஸ்து சாஸ்திரம், as the PO's vastu-sasthiram-v10 mockup (TMC-158); scoped under .tmc90, built on the ராசி பலன் page's
   tiles / card (css/tmc/pages/astrology/rasi-palan.css). Text sizes = the Palli Kathum scale. */
.tmc90{--orange:#FF7700; --orange-soft:#FFF1E2; --orange-ink:#B55D00;
  --cream:#FFFBF6; --cream-deep:#FFF3E6; --white:#FFFFFF;
  --peach:#F0D2B4; --peach-deep:#E5772A; --tan:#F5E4CF;
  --rose:#F4DBD7; --rose-ink:#BD5746;
  --green:#248D49; --green-soft:#E8F5EC; --green-ink:#0F6E3C; --red:#D14343;
  --ink:#1B1B1B; --body:#2B2524; --head:#35343D; --muted:#8A817A; --grey:#6B6259;
  --line:#E9E1D6; --rule:#ECE8E3;
  --radius-s:8px; --radius-m:12px; --radius-l:16px; --pill:32px;
  --gutter:16px; --maxw:1200px;
  --lh-body:1.8; --lh-head:1.4;
  --ff-ta:'Anek Tamil','Noto Sans Tamil',system-ui,sans-serif;
  --ff-num:'Inter',system-ui,sans-serif;
  color:var(--body); font-family:var(--ff-ta); font-size:14px; line-height:var(--lh-body)}
.tmc90 *,.tmc90 *::before,.tmc90 *::after{box-sizing:border-box}
.tmc90 h1,.tmc90 h2,.tmc90 h3{color:var(--head); margin:0; line-height:var(--lh-head); font-weight:700}
.tmc90 p{margin:0; line-height:var(--lh-body)}
.tmc90 a{color:var(--orange); text-decoration:none}
.tmc90 .wrap{width:100%; max-width:var(--maxw); margin:0 auto; padding:14px var(--gutter) 8px}
.tmc90 .crumb{font-size:12px; color:var(--muted); line-height:1.6; margin-bottom:8px}
.tmc90 .crumb a{color:var(--muted)}

/* title */
.tmc90 .rp-head{margin:4px 0 8px}
.tmc90 .rp-head h1{font-size:25px; line-height:1.4}
.tmc90 .rp-head h1 .en{display:block; font-size:12.5px; font-weight:500; line-height:1.4; color:var(--muted)}
@media (min-width:760px){.tmc90 .rp-head h1{font-size:32px; line-height:40px}}
.tmc90 .rp-p{font-size:14px; line-height:1.9; margin:0 0 10px}
.tmc90 .vlead{margin:0 0 14px; color:var(--grey)}
@media (min-width:900px){.tmc90 .rp-p{font-size:15.5px}}

/* the nine direction tiles: a row to swipe on phones, all nine across on desktop */
.tmc90 .rp-tiles{display:flex; gap:14px; overflow-x:auto; scrollbar-width:none; margin:0 calc(-1*var(--gutter)); padding:2px var(--gutter) 6px}
.tmc90 .rp-tiles::-webkit-scrollbar{display:none}
.tmc90 .rp-tiles a{flex:0 0 auto; width:64px; text-align:center; color:#212121}
.tmc90 .rp-tiles .bx{display:grid; place-items:center; width:64px; height:64px; margin:0 auto; border-radius:8px; background:#fff; border:1px solid rgba(215,112,39,.4)}
.tmc90 .rp-tiles .bx svg{display:block}
.tmc90 .rp-tiles a > span:not(.bx){display:block; margin-top:6px; font:500 12px/1.3 var(--ff-ta); white-space:normal; min-height:2.6em}
.tmc90 .rp-tiles a > span.lg{display:none}
.tmc90 .rp-tiles a[aria-current] .bx{background:#FBEDED}
.tmc90 .rp-tiles a[aria-current] > span:not(.bx){color:#EC8B1F; font-weight:700}
.tmc90 .rp-tiles a:focus-visible .bx{outline:2px solid var(--peach-deep); outline-offset:2px}
@media (min-width:900px){.tmc90 .rp-tiles{gap:12px; margin:0; padding:0 0 6px}
  .tmc90 .rp-tiles a{width:118px} .tmc90 .rp-tiles .bx{width:71px; height:71px}
  .tmc90 .rp-tiles a > span:not(.bx){font-size:15.5px; font-weight:400; color:var(--body); min-height:0}
  .tmc90 .rp-tiles a > span.sh{display:none} .tmc90 .rp-tiles a > span.lg{display:block}}

/* the chosen direction: the card, then its rules */
.tmc90 .rp-box{margin-top:16px; scroll-margin-top:140px}
@media (max-width:899px){.tmc90 .rp-box{border:1px solid rgba(198,107,4,.4); border-radius:8px; padding:0 0 18px}}
.tmc90 .rp-band{display:flex; align-items:center; gap:8px}
@media (min-width:900px){.tmc90 .rp-band{background:#FCEFE0; border-radius:16px; padding:12px 20px; min-height:143px}}
.tmc90 .rp-card{flex:1; display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:440px; min-height:120px; margin:0 auto;
  padding:16px 18px; background:rgba(255,248,237,.6); border-radius:8px}
@media (max-width:899px){.tmc90 .rp-card{max-width:none; margin:0; border-radius:8px 8px 0 0; background:linear-gradient(180deg,#FFF3EB 0%,#FFF9F5 100%)}}
.tmc90 .rp-card{min-width:0} .tmc90 .rp-card > div:first-child{min-width:0}
.tmc90 .rp-card .nm{font-size:clamp(22px,7.5vw,30px); font-weight:700; line-height:1.3; color:#D77027}
.tmc90 .rp-card .nm.long{font-size:clamp(18px,5.6vw,30px)}
.tmc90 .rp-card .per{font-size:15.5px; font-weight:500; line-height:1.7; color:#D77027}
.tmc90 .rp-card .sub2{font-size:14px; line-height:1.7; color:var(--body)}
.tmc90 .rp-card .art{width:76px; height:76px; display:grid; place-items:center; flex:0 0 auto}
.tmc90 .rp-card .art svg{width:100%; height:100%}
@media (min-width:900px){.tmc90 .rp-card .nm{font-size:32px} .tmc90 .rp-card .art{width:96px; height:96px}}
.tmc90 .rp-body{padding:16px 16px 0}
@media (min-width:900px){.tmc90 .rp-body{padding:26px 0 0}}

/* பரிந்துரை / தவிர்க்க chips */
.tmc90 .vrow{display:block; margin:10px 0}
.tmc90 .vrow .l{display:block; font-size:12.5px; font-weight:600; line-height:1.5; color:var(--muted); margin:0 0 6px}
.tmc90 .vch{display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 12px}
.tmc90 .vch span{display:inline-block; padding:5px 11px; border-radius:var(--pill); font-size:13.5px; line-height:1.5; font-weight:600}
.tmc90 .vch .ok{background:#EAF6EC; color:#1F6B37; border:1px solid #CDEBD4}
.tmc90 .vch .no{background:#FDECEC; color:#A33A3A; border:1px solid #F5CFCF}
@media (min-width:900px){.tmc90 .vrow{display:grid; grid-template-columns:170px 1fr; gap:6px 10px; align-items:start} .tmc90 .vrow .l{font-size:14px; padding-top:7px}}

/* the four corners */
.tmc90 .vcg{display:grid; grid-template-columns:1fr; gap:12px; margin-top:6px}
@media (min-width:700px){.tmc90 .vcg{grid-template-columns:1fr 1fr; gap:16px}}
.tmc90 .vc{display:block; background:#fff; border:1px solid #CFCFCF; border-radius:8px; padding:12px 14px; color:var(--ink)}
.tmc90 .vc:hover{border-color:var(--peach-deep)}
.tmc90 .vc-top{display:flex; align-items:center; gap:10px; margin-bottom:8px}
.tmc90 .vc-top svg{flex:0 0 auto}
.tmc90 .vc-top b{display:block; font-size:15.5px; line-height:1.4; color:#D77027}
.tmc90 .vc-top span{display:block; font-size:12.5px; font-weight:500; line-height:1.4; color:var(--muted)}
.tmc90 .vc-row{display:grid; grid-template-columns:70px 1fr; gap:8px; font-size:13.5px; line-height:1.7; padding:3px 0}
.tmc90 .vc-row .l{color:var(--muted); font-size:12px; font-weight:600}
.tmc90 .vc-row .ok{color:#1F6B37}
.tmc90 .vc-row .no{color:#A33A3A}

.tmc90 .rp-note{font-size:13.5px; line-height:1.7; color:var(--grey); background:var(--cream); border:1px solid var(--line); border-radius:8px; padding:9px 12px; margin:16px 0 12px}

/* மனை, அறைகள், கழிவறை, சரிசெய்தல்: folded on phones, open on desktop */
.tmc90 .vs{border:1px solid rgba(198,107,4,.4); border-radius:8px; margin:14px 0; background:#fff}
.tmc90 .vs summary{list-style:none; cursor:pointer; padding:12px 44px 12px 14px; position:relative}
.tmc90 .vs summary::-webkit-details-marker{display:none}
.tmc90 .vs summary h2{font-size:17px; line-height:1.5}
.tmc90 .vs summary::after{content:""; position:absolute; right:18px; top:20px; width:9px; height:9px; border-right:2px solid var(--orange); border-bottom:2px solid var(--orange);
  transform:rotate(45deg); transition:transform .2s}
.tmc90 .vs[open] summary::after{transform:rotate(-135deg); top:24px}
.tmc90 .vs[open] summary{border-bottom:1px solid var(--rule)}
.tmc90 .vs-b{padding:12px 14px 6px}
@media (min-width:900px){.tmc90 .vs{border:0; margin:30px 0 0} .tmc90 .vs summary{padding:0 0 8px; pointer-events:none} .tmc90 .vs summary::after{display:none}
  .tmc90 .vs summary h2{font-size:21px} .tmc90 .vs[open] summary{border:0} .tmc90 .vs-b{padding:0}}
.tmc90 .vl{margin:0 0 10px; padding-left:18px; list-style:disc}
.tmc90 .vl li{font-size:14px; line-height:1.9; margin:0 0 6px}
.tmc90 .vl li b{color:var(--ink)}
@media (min-width:900px){.tmc90 .vl li{font-size:15.5px}}

.tmc90 .rp-author{font-size:13.5px; line-height:1.7; color:var(--body); margin:22px 0 8px}
.tmc90 .rp-disc{font-size:12px; line-height:1.7; color:#979797; margin:0}
@media (min-width:900px){.tmc90 .rp-author{font-size:14px} .tmc90 .rp-disc{font-size:13px}}

/* related pages, FAQ, பரிந்துரைகள் */
.tmc90 .sec{margin:30px 0 0}
.tmc90 .sec h2{font-size:clamp(17px,4.2vw,21px); margin-bottom:10px}
.tmc90 .reco{display:grid; grid-template-columns:1fr; gap:10px}
@media (min-width:600px){.tmc90 .reco{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.tmc90 .reco{grid-template-columns:repeat(4,1fr)}}
.tmc90 .reco a{display:flex; align-items:center; gap:12px; background:var(--rose); border-radius:var(--radius-m); padding:10px 12px; color:var(--head);
  font-weight:700; font-size:14.5px; line-height:1.4}
.tmc90 .reco a:hover{background:#F0CEC8}
.tmc90 .reco .tl{width:44px; height:44px; border-radius:10px; background:#fff; display:grid; place-items:center; color:var(--rose-ink); flex:0 0 auto}
.tmc90 .reco .tl svg{width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round}
.tmc90 .reco .t{flex:1}
.tmc90 .reco a::after{content:"›"; font-size:20px; color:var(--rose-ink)}
