/* ராசி பலன், as the PO's rasi-palan-v16 mockup (TMC-156; first the Figma design, TMC-151); scoped under .tmc90.
   Colours and fonts come from the site theme (css/tmc/shared/tmc90-theme.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;
  --shadow:0 4px 16px rgba(107,82,51,.08);
  --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 .num{font-family:var(--ff-num)}
.tmc90 .wrap{width:100%; max-width:var(--maxw); margin:0 auto; padding:14px var(--gutter) 8px}

.tmc90 .sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.tmc90 .crumb{font-size:12px; color:var(--muted); line-height:1.6; margin-bottom:8px}
.tmc90 .crumb a{color:var(--muted)}

/* page head: the title, then the period with its date or year */
.tmc90 .rp-head{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin:4px 0 14px}
.tmc90 .rp-head h1{font-size:25px; line-height:1.4; margin:0}
.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-sel{display:flex; gap:10px; flex-wrap:wrap}
.tmc90 .rp-sel label{position:relative; display:block}
.tmc90 .rp-sel label[hidden]{display:none}
.tmc90 .rp-sel select{appearance:none; -webkit-appearance:none; font:500 15px var(--ff-ta); line-height:1.3; color:var(--ink); background:#fff;
  height:44px; padding:0 40px 0 12px; border:1px solid #DDD6CF; border-radius:8px; min-width:180px; cursor:pointer}
.tmc90 .rp-sel select.yr{min-width:96px; padding-right:34px; font-family:var(--ff-num)}
.tmc90 .rp-sel #ylab[data-p=weekly] select.yr{min-width:210px}
.tmc90 .rp-sel #ylab[data-p=monthly] select.yr{min-width:160px}
.tmc90 .rp-sel input.dp{font:500 15px var(--ff-num); color:var(--ink); background:#fff; height:44px; padding:0 10px; border:1px solid #DDD6CF;
  border-radius:8px; min-width:150px}
.tmc90 .rp-sel label::after{content:""; position:absolute; right:13px; top:50%; width:8px; height:8px; margin-top:-6px; border-right:1.6px solid var(--ink);
  border-bottom:1.6px solid var(--ink); transform:rotate(45deg); pointer-events:none}
.tmc90 .rp-sel label.dl::after{display:none}
.tmc90 .rp-sel select:focus-visible,.tmc90 .rp-sel input:focus-visible{outline:2px solid var(--peach-deep); outline-offset:2px}
@media (max-width:480px){.tmc90 .rp-sel{width:100%; justify-content:space-between; flex-wrap:nowrap}
  .tmc90 .rp-sel label{flex:1 1 0; min-width:0} .tmc90 .rp-sel select,.tmc90 .rp-sel input.dp{min-width:0; width:100%}
  .tmc90 .rp-sel #ylab[data-p=yearly]{flex:0 0 96px}
  .tmc90 .rp-sel #ylab[data-p=weekly] select.yr,.tmc90 .rp-sel #ylab[data-p=monthly] select.yr{min-width:0}
  /* the week's range is long: a narrower type box and a tighter font so it shows whole */
  .tmc90 .rp-sel:has(#ylab[data-p=weekly]) label:first-child{flex:0 0 auto}
  .tmc90 .rp-sel:has(#ylab[data-p=weekly]) label:first-child select{padding:0 30px 0 10px}
  .tmc90 .rp-sel #ylab[data-p=weekly]{flex:1 1 auto}
  .tmc90 .rp-sel #ylab[data-p=weekly] select.yr{font-size:14px; padding:0 30px 0 10px}}
@media (max-width:374px){.tmc90 .rp-sel:has(#ylab[data-p=weekly]){flex-wrap:wrap}
  .tmc90 .rp-sel:has(#ylab[data-p=weekly]) label,.tmc90 .rp-sel:has(#ylab[data-p=weekly]) label:first-child{flex:1 1 100%}}

/* the rasi tiles: a row to swipe on phones, all twelve across on desktop */
/* the tiles sit in the page head: a full row after the period on desktop; on phones and tablets right under
   the title, with the period below them (PO, 2026-10-17) */
/* title, the rasis, then the filters below them (on the right on desktop) */
.tmc90 .rp-head > h1{order:1} .tmc90 .rp-head > .rp-tiles{order:2; flex:0 0 100%} .tmc90 .rp-sel{order:3; margin-left:auto}
@media (max-width:899px){.tmc90 .rp-head > .rp-tiles{flex-basis:calc(100% + 2*var(--gutter))} .tmc90 .rp-sel{margin-left:0}}
.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 button{flex:0 0 auto; width:64px; appearance:none; border:0; background:none; padding:0; cursor:pointer; text-align:center; color:#212121}
.tmc90 .rp-tiles .bx{display:grid; place-items:center; width:64px; height:64px; border-radius:8px; background:#fff; border:1px solid rgba(215,112,39,.4)}
.tmc90 .rp-tiles .bx img{max-width:48px; max-height:48px}
.tmc90 .rp-tiles .lb{display:block; margin-top:6px; font:500 12px/1.3 var(--ff-ta); white-space:nowrap}
.tmc90 .rp-tiles button[aria-pressed="true"] .bx{background:#FBEDED}
.tmc90 .rp-tiles button[aria-pressed="true"] .lb{color:#EC8B1F; font-weight:700}
.tmc90 .rp-tiles button:focus-visible .bx{outline:2px solid var(--peach-deep); outline-offset:2px}
@media (min-width:900px){.tmc90 .rp-tiles{gap:0; justify-content:space-between; margin:0; padding:0 0 6px}
  .tmc90 .rp-tiles button{width:71px} .tmc90 .rp-tiles .bx{width:71px; height:71px} .tmc90 .rp-tiles .bx img{max-width:52px; max-height:52px}
  .tmc90 .rp-tiles .lb{font-size:15.5px; font-weight:400; color:var(--body)}}

/* the day's பொது நிலை, for all rasis (open on desktop, folded on phones) */
.tmc90 .rp-gen{margin:14px 0 0; border:1px solid var(--line); border-radius:12px; background:#fff}
.tmc90 .rp-gen summary{display:flex; align-items:center; justify-content:space-between; gap:10px; list-style:none; cursor:pointer; padding:12px 14px;
  font-size:17px; font-weight:700; color:var(--head); line-height:1.4}
.tmc90 .rp-gen summary::-webkit-details-marker{display:none}
.tmc90 .rp-gen .chev{width:10px; height:10px; border-right:2px solid var(--orange-ink); border-bottom:2px solid var(--orange-ink); transform:rotate(45deg);
  transition:transform .2s; margin-right:4px; flex:0 0 auto}
.tmc90 .rp-gen[open] .chev{transform:rotate(-135deg)}
.tmc90 .rp-gen .gl{padding:0 14px 12px}
.tmc90 .rp-gen .ln{display:grid; grid-template-columns:20px 1fr; gap:10px; align-items:start; font-size:14px; line-height:1.75; padding:6px 0}
.tmc90 .rp-gen .ln + .ln{border-top:1px dashed var(--rule)}
.tmc90 .rp-gen .ln[hidden]{display:none}
.tmc90 .rp-gen .ln b{color:var(--head)}
.tmc90 .rp-gen .ln svg{width:18px; height:18px; margin-top:5px; fill:none; stroke:var(--peach-deep); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
@media (min-width:900px){.tmc90 .rp-gen summary{font-size:18px} .tmc90 .rp-gen .ln{font-size:15.5px}}

/* the chosen rasi: the card (with ‹ › on desktop), then its palan */
.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}
.tmc90 .rp-band .nav{display:none}
@media (min-width:900px){.tmc90 .rp-band{background:#FCEFE0; border-radius:16px; padding:12px 20px; min-height:143px}
  .tmc90 .rp-band .nav{display:grid; place-items:center; width:40px; height:40px; border:0; background:transparent; color:var(--ink); cursor:pointer; border-radius:50%}
  .tmc90 .rp-band .nav:hover{background:rgba(0,0,0,.05)}
  .tmc90 .rp-band .nav svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}}
.tmc90 .rp-card{flex:1; display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:366px; 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 .nm{font-size:30px; font-weight:700; line-height:1.3; color:#D77027}
.tmc90 .rp-card .per{font-size:15.5px; font-weight:500; line-height:1.7; color:#D77027}
.tmc90 .rp-card .dt{font:500 13.5px/1.7 var(--ff-num); color:var(--ink)}
.tmc90 .rp-card .art{width:88px; height:88px; display:grid; place-items:center; flex:0 0 auto}
.tmc90 .rp-card .art img{max-width:88px; max-height:88px}
@media (min-width:900px){.tmc90 .rp-card .nm{font-size:32px} .tmc90 .rp-card .dt{font-size:15px} .tmc90 .rp-card .art,.tmc90 .rp-card .art img{width:96px; height:96px; max-width:96px; max-height:96px}}

.tmc90 .rp-body{padding:16px 16px 0}
@media (min-width:900px){.tmc90 .rp-body{padding:26px 0 0}}
.tmc90 .rp-greet{font-size:16px; font-weight:700; color:var(--ink); margin:0 0 4px}
.tmc90 .rp-mood{font-size:18px; font-weight:700; line-height:1.4; margin:0 0 6px; color:var(--green-ink)}
.tmc90 .rp-p{font-size:14px; line-height:1.9; margin:0 0 10px}
.tmc90 .rp-p.ld{color:var(--muted)}
.tmc90 .rp-h3{font-size:15.5px; line-height:1.6; color:#C66B04; font-weight:700; margin:16px 0 6px}
.tmc90 .rp-graha p{font-size:14px; line-height:1.9; margin:0 0 10px}
.tmc90 .rp-graha p.kv{margin:0} .tmc90 .rp-graha p.kv b{font-weight:500}
.tmc90 .rp-kvs{margin:14px 0 0; padding:10px 14px; background:var(--cream); border:1px solid var(--line); border-radius:8px}
.tmc90 .rp-kvs p.kv{font-size:14px; line-height:1.9; margin:0}
.tmc90 .rp-kvs p.kv b{font-weight:600}
.tmc90 .rp-calc{font-size:13px; line-height:1.7; color:var(--grey); margin:16px 0 6px}
.tmc90 .rp-disc{font-size:12px; line-height:1.7; color:#979797; margin:0}
@media (min-width:900px){.tmc90 .rp-greet{font-size:18px} .tmc90 .rp-mood{font-size:20px} .tmc90 .rp-p,.tmc90 .rp-graha p,.tmc90 .rp-kvs p.kv{font-size:15.5px}
  .tmc90 .rp-h3{font-size:17px; margin:22px 0 8px} .tmc90 .rp-calc{font-size:14px} .tmc90 .rp-disc{font-size:13px}}

/* குறிச்சொற்கள்: the other periods */
.tmc90 .rp-tags{margin:24px 0 0}
.tmc90 .rp-tags h2{font-size:17px; margin:0 0 12px}
.tmc90 .rp-tags .row{display:flex; flex-wrap:wrap; gap:12px 16px}
.tmc90 .rp-tags button{display:inline-flex; align-items:center; gap:10px; min-height:42px; padding:8px 16px; border:1px solid #FF851A; border-radius:24px; background:#fff;
  color:#E5700F; font:500 15px var(--ff-ta); cursor:pointer}
.tmc90 .rp-tags button svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.tmc90 .rp-tags button:hover{background:var(--orange-soft)}
.tmc90 .rp-tags button[aria-pressed="true"]{background:#FF851A; color:#fff}
@media (min-width:900px){.tmc90 .rp-tags h2{font-size:21px}}

/* கிரக பெயர்ச்சி */
.tmc90 .rp-pey{margin:32px 0 0}
.tmc90 .rp-pey h2{font-size:21px; margin:0 0 16px}
.tmc90 .rp-pey .grid{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media (min-width:900px){.tmc90 .rp-pey h2{font-size:28px; margin-bottom:22px} .tmc90 .rp-pey .grid{grid-template-columns:repeat(4,1fr); gap:28px}}
.tmc90 .rp-pey a{display:flex; flex-direction:column; align-items:center; gap:12px; padding:8px 7px 12px; background:#fff; border:1px solid #CFCFCF; border-radius:8px; color:var(--ink)}
.tmc90 .rp-pey a:hover{border-color:var(--peach-deep)}
.tmc90 .rp-pey .ph{width:100%; height:auto; aspect-ratio:255/165; object-fit:cover; border-radius:5px; background:linear-gradient(135deg,#FFF1E2,#F0D2B4)}
.tmc90 .rp-pey b{font-size:15.5px; font-weight:600; line-height:1.3; text-align:center}

/* 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)}

/* the narrowest phones: "இன்றைய பலன்" and the date fit side by side */
@media (max-width:360px){.tmc90 .rp-sel{gap:8px} .tmc90 .rp-sel #dlab{flex:0 0 126px}
  .tmc90 .rp-sel select{font-size:13.5px; padding:0 22px 0 8px} .tmc90 .rp-sel label::after{right:10px; width:7px; height:7px}
  .tmc90 .rp-sel input.dp{font-size:13px; padding:0 5px}
  .tmc90 .rp-gen summary{font-size:16px}}
