/* ராகு காலம், as the PO's ragu-kalam-v16 mockup (TMC-158; before: TMC-149, v14); scoped under .tmc90.
   Colours and fonts come from the site theme (css/tmc/shared/tmc90-theme.css); text sizes = the Palli Kathum scale;
   the head, weekday tiles and day card are the ராசி பலன் page's (css/tmc/pages/astrology/rasi-palan.css). */
.tmc90{--orange:#FF7700; --orange-soft:#FFF1E2; --orange-ink:#B55D00;
  --cream:#FFFBF6; --white:#FFFFFF; --peach:#F0D2B4; --peach-deep:#E5772A;
  --rose:#F4DBD7; --rose-ink:#BD5746;
  --ink:#1B1B1B; --body:#2B2524; --head:#35343D; --muted:#8A817A; --grey:#6B6259;
  --line:#E9E1D6; --rule:#ECE8E3;
  --radius-m:12px; --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 .num{font-family:var(--ff-num)}
.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)}

/* page head: the title and the date */
.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}
@media (min-width:760px){.tmc90 .rp-head h1{font-size:32px; line-height:40px}}
.tmc90 .rp-sel{display:flex; gap:10px}
.tmc90 .rp-sel label{position:relative; display:block}
.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 input:focus-visible{outline:2px solid var(--peach-deep); outline-offset:2px}

/* நேற்று / இன்று / நாளை */
.tmc90 .dnav{display:flex; gap:8px; margin:-4px 0 14px}
.tmc90 .dnav button{font:600 13.5px/1.4 var(--ff-ta); padding:7px 16px; border-radius:var(--pill); border:1px solid var(--line); background:#fff; color:var(--grey); cursor:pointer}
.tmc90 .dnav button.on{background:var(--orange); border-color:var(--orange); color:#fff}

/* the weekday tiles: a row to swipe on phones, all seven 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; border-radius:8px; background:#fff; border:1px solid rgba(215,112,39,.4)}
.tmc90 .rp-tiles .bx svg{display:block; width:48px; height:48px}
.tmc90 .rp-tiles a > span:last-child{display:block; margin-top:6px; font:500 12px/1.3 var(--ff-ta); white-space:nowrap}
.tmc90 .rp-tiles a[aria-current] .bx{background:#FBEDED}
.tmc90 .rp-tiles a[aria-current] > span:last-child{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; margin:0 auto} .tmc90 .rp-tiles .bx svg{width:54px; height:54px}
  .tmc90 .rp-tiles a > span:last-child{font-size:15.5px; font-weight:400; color:var(--body)}
  .tmc90 .rp-tiles a[aria-current] > span:last-child{font-weight:700}}

/* the chosen day: the card, then its times */
.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: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 .sub2{font-size:14px; line-height:1.7; color:var(--body)}
.tmc90 .rp-card .art{width:88px; height:88px; display:grid; place-items:center; flex:0 0 auto}
.tmc90 .rp-card .art svg{width:88px; height:88px}
@media (min-width:900px){.tmc90 .rp-card .nm{font-size:32px} .tmc90 .rp-card .art,.tmc90 .rp-card .art svg{width:96px; height:96px}}

.tmc90 .rp-body{padding:16px 16px 0}
@media (min-width:900px){.tmc90 .rp-body{padding:26px 0 0}}
.tmc90 .trow{display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--rule)}
.tmc90 .trow:last-of-type{border-bottom:0}
.tmc90 .trow .tl{flex:0 0 40px; width:40px; height:40px; border-radius:10px; display:grid; place-items:center}
.tmc90 .trow .tl svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.tmc90 .trow .tl.rh{background:#FDECEC; color:#A33A3A}
.tmc90 .trow .tl.ym{background:#FFF1E2; color:#B55D00}
.tmc90 .trow .tl.gu{background:#EFECE8; color:#5C554F}
.tmc90 .trow .tl.so{background:#EAF6EC; color:#1F6B37}
.tmc90 .trow b{display:block; font-size:14px; font-weight:500; line-height:1.5; color:var(--ink)}
.tmc90 .trow .tv{display:block; font-size:20px; font-weight:700; line-height:1.4; color:var(--ink)}
.tmc90 .trow .tv.num{letter-spacing:-.2px}
.tmc90 .trow .pair{display:flex; gap:22px; flex:1}
.tmc90 .trow .pair > div{min-width:0}
.tmc90 .trow .pair b{white-space:nowrap}
@media (min-width:900px){.tmc90 .trows{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:6px}
  .tmc90 .trow{flex-direction:column; align-items:flex-start; gap:10px; padding:16px; border:1px solid #CFCFCF; border-radius:8px; background:#fff}
  .tmc90 .trow:last-of-type{border-bottom:1px solid #CFCFCF}
  .tmc90 .trow .tv{font-size:22px} .tmc90 .trow b{font-size:15.5px} .tmc90 .trow .pair{flex-direction:column; gap:8px}}
.tmc90 .nl{display:flex; justify-content:space-between; align-items:center; gap:10px; margin:14px 0 10px; padding:12px 14px; background:#FBEDED; border-radius:8px;
  color:var(--ink); font-weight:600; font-size:14px; line-height:1.5}
.tmc90 .nl span{color:var(--orange); font-size:20px}
.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:0 0 12px}

/* tables: the week, and the eight parts of the day */
.tmc90 .sec{margin:30px 0 0}
.tmc90 .sec h2{font-size:clamp(17px,4.2vw,21px); margin-bottom:10px}
.tmc90 .sech{margin:0 0 10px} .tmc90 .sech h2{margin:0}
.tmc90 .tw{overflow-x:auto; margin:0 calc(-1*var(--gutter)); padding:0 var(--gutter)}
.tmc90 .pt{width:100%; border-collapse:collapse; font-size:13.5px; line-height:1.6; min-width:560px}
.tmc90 .pt th{background:#FCEFE0; color:#6B4A2B; font-weight:600; text-align:left; padding:9px 10px; font-size:12.5px; white-space:nowrap}
.tmc90 .pt td{padding:9px 10px; border-bottom:1px solid var(--rule); vertical-align:top}
.tmc90 .pt td.num{white-space:nowrap}
.tmc90 .pt td b{display:block; color:var(--ink); font-weight:600}
.tmc90 .pt tr.today td{background:#FFF8ED}
.tmc90 .pt tr.today td:first-child{box-shadow:inset 3px 0 0 var(--orange)}
.tmc90 .wk .rh{color:#A33A3A; font-weight:700}
.tmc90 .wk .ym{color:#B55D00}
.tmc90 .wk .gu{color:#5C554F}
@media (min-width:900px){.tmc90 .pt{font-size:15px} .tmc90 .pt th{font-size:13.5px} .tmc90 .tw{margin:0; padding:0}}

/* the notes: folded boxes on phones, open sections 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; margin:0}
.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}
.tmc90 .vs-b .tw{margin:6px 0 12px; padding:0}
.tmc90 .vs-b .pt{min-width:0}
.tmc90 .vs-b .pt td,.tmc90 .vs-b .pt th{padding:7px 8px}
@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 .rp-p{font-size:14px; line-height:1.9; margin:0 0 10px}
.tmc90 .rp-p b{color:var(--head)}
.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 4px}
.tmc90 .two{display:grid; grid-template-columns:1fr; gap:6px 28px}
@media (min-width:760px){.tmc90 .two{grid-template-columns:1fr 1fr}}
.tmc90 .two h3{font-size:15.5px; line-height:1.6; color:#C66B04; margin:6px 0 2px; font-weight:600}
@media (min-width:900px){.tmc90 .rp-p,.tmc90 .vl li{font-size:15.5px}}
.tmc90 .rp-disc{font-size:12px; line-height:1.7; color:#979797; margin:18px 0 0}
@media (min-width:900px){.tmc90 .rp-disc{font-size:13px}}

/* தொடர்புடைய பக்கங்கள், பரிந்துரைகள் */
.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: the card's ring a little smaller, the times one size down */
@media (max-width:360px){.tmc90 .rp-card{padding:14px 12px} .tmc90 .rp-card .nm{font-size:26px}
  .tmc90 .rp-card .art,.tmc90 .rp-card .art svg{width:76px; height:76px} .tmc90 .trow .tv{font-size:18px}}
