/* The yearly rashifal: the hub (templates/rashifal/year_hub.html) and the 12 rashi pages (year_rashi.html), on top
   of page.css and rashifal.css (the same parchment and night, the same three calm tones). The year's own pieces are
   "ry-": the timeline and sky band (server-drawn HTML, so labels stay real text on a phone), the path wheel, the
   period strips, the Sade Sati cycle bar, the month cards. Text never moves: no animation or transition on any
   text; only the planet icons beside the timeline lanes drift a little, and not at all for reduced motion. */
.ry { --tl-good: #2f7a55; --tl-mix: #8c6a2a; --tl-care: #a0502f; }

/* 1. the first screen */
.ry-hero { min-height: 0; padding: 56px 0 44px; display: block; }
.ry-hero h1 { max-width: 24ch; font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin-bottom: 14px; }
.ed[lang="hi"].ry .ry-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); max-width: 26ch; }
.ry-label { margin: 0 0 10px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ry-label .rf-glyph { color: var(--gold); }
.ry-fact { font-family: var(--serif); font-size: clamp(1.2rem, 2.1vw, 1.5rem); line-height: 1.4; color: #f5efe3; margin: 0 0 12px; max-width: 60ch; }
.ed[lang="hi"] .ry-fact { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.6; }
.ry-spoken { max-width: 74ch; }
.ry-spoken p { margin: 0 0 8px; line-height: 1.65; color: #ddd5c4; font-size: clamp(1rem, 1.4vw, 1.1rem); padding-left: 12px; border-left: 3px solid var(--pc, transparent); }
.ry-spoken .pol-good { --pc: #4f9f77; } .ry-spoken .pol-neutral { --pc: #b8913f; } .ry-spoken .pol-care { --pc: #c0704d; } .ry-spoken .pol-fact { --pc: rgba(242, 236, 224, .3); }
.ry-hero .pg-more-btn { color: var(--gold); border-color: rgba(201, 164, 92, .55); margin-top: 6px; }
.ry-hero .pg-more-btn:hover { background: var(--gold); color: var(--night); }
.ry-lead { max-width: 70ch; margin-bottom: 8px; }
.ry-hero .rf-line { color: #cfc8b8; }
.ry-counter { font-size: .95rem; margin-top: 14px !important; }
.ry-hero .rf-chips li { background: rgba(255, 255, 255, .08); color: #cfc8b8; }
.ry-hero .rf-chips li i { color: var(--gold); }
.ry-hero .rf-chips a { color: inherit; }
.ry-small { color: #a9a293; font-size: .84rem; line-height: 1.55; margin: 12px 0 0; max-width: 90ch; }
.ry-share { margin-top: 16px; }
.ry-hero .rf-chip-btn { color: var(--gold); border-color: rgba(201, 164, 92, .5); }
.ry-hero .rf-chip-btn:hover { background: var(--gold); color: var(--night); }
.ry-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.ry-chips .rf-chip .rf-glyph { color: var(--gold); }

/* 2. the timeline (rashi page) and the sky band (hub): lanes of bars on the night sky */
.ry-tl { margin: 22px 0 6px; --head: 104px; --axis: 26px; --lane: 34px; --lab: 19px; }
.ry-tl .rf-fig-h { margin-bottom: 8px; }
.ry-tl-box { position: relative; padding-bottom: calc(var(--lab) + 8px); }
.ry-tl-box.rows-2 { padding-bottom: calc(2 * var(--lab) + 8px); }
.ry-tl-box.rows-3 { padding-bottom: calc(3 * var(--lab) + 8px); }
.ry-tl-box.rows-4 { padding-bottom: calc(4 * var(--lab) + 8px); }
.ry-tl-box.rows-5 { padding-bottom: calc(5 * var(--lab) + 8px); }
.ry-tl-row { display: grid; grid-template-columns: var(--head) minmax(0, 1fr); align-items: center; }
.ry-axisrow { height: var(--axis); }
.ry-lane { height: var(--lane); margin-top: 6px; }
.ry-lane.k-band, .ry-lane.k-period { margin-top: 10px; }
.ry-tl-h { display: flex; align-items: center; gap: 7px; padding-right: 10px; min-width: 0; color: #ece4d4; font-size: .84rem; line-height: 1.15; }
.ry-tl-h b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ry-note { color: #b9b2a3; font-size: .72rem; font-weight: 400; }
.ry-ico { flex: none; width: 26px; height: 26px; display: inline-block; }
.ry-ico svg { display: block; width: 100%; height: 100%; animation: ry-drift 9s ease-in-out infinite; }
.k-saturn .ry-ico svg { animation-duration: 12s; } .k-rahu .ry-ico svg { animation-duration: 10s; } .k-ketu .ry-ico svg { animation-duration: 11s; animation-delay: -4s; }
@keyframes ry-drift { 50% { transform: translateY(-2px) rotate(-4deg); } }
.ry-axis { position: relative; height: 100%; border-bottom: 1px solid rgba(242, 236, 224, .22); }
.ry-month { position: absolute; top: 0; bottom: 0; padding: 4px 0 0 4px; color: #cfc8b8; font-size: .74rem; white-space: nowrap; box-sizing: border-box; }
.ry-month b { font-weight: 500; }
.ry-month .s { display: none; }
.ry-tick { position: absolute; bottom: -4px; width: 2px; height: 7px; margin-left: -1px; border-radius: 1px; background: var(--gold); }
.ry-bar { position: relative; height: 100%; background: rgba(255, 255, 255, .045); border-radius: 6px; }
.ry-seg { position: absolute; top: 3px; bottom: 3px; box-sizing: border-box; border-radius: 5px; display: flex; align-items: center; justify-content: center; gap: 6px;
  overflow: hidden; white-space: nowrap; color: #fff; font-size: .78rem; line-height: 1; box-shadow: inset 0 0 0 1px rgba(10, 14, 28, .4); }
.ry-seg b, .ry-seg i { position: relative; z-index: 2; }            /* above the retrograde and combust marks */
.ry-seg b { font-weight: 700; }
.ry-seg i { font-style: normal; font-weight: 500; opacity: .92; overflow: hidden; text-overflow: ellipsis; }
.ry-seg i.dg { font-size: .72rem; padding: 1px 6px; border-radius: 999px; background: rgba(10, 14, 28, .28); }
.ry-seg.pol-good { background: var(--tl-good); } .ry-seg.pol-neutral { background: var(--tl-mix); } .ry-seg.pol-care { background: var(--tl-care); }
.ry-seg.pol-fact { background: #5d5a66; }
.ry-seg.tone.t-supportive, .ry-seg.tone-supportive { background: var(--tl-good); }
.ry-seg.tone.t-mixed { background: var(--tl-mix); } .ry-seg.tone.t-patience { background: var(--tl-care); }
.ry-seg.ph { background: #4b5486; } .ry-seg.ph-peak { background: #3d4475; } .ry-seg.ph-kantaka, .ry-seg.ph-ashtama { background: #57608a; }
.ry-seg.pause { background: transparent; border: 1.5px dashed rgba(242, 236, 224, .45); box-shadow: none; color: #cfc8b8; }
.ry-seg.g-jupiter { background: #9a7428; } .ry-seg.g-saturn { background: #48618f; } .ry-seg.g-rahu { background: #5f5390; } .ry-seg.g-ketu { background: #74557f; }
/* how much a bar shows (tiers from the view: xs < 3.5% of the year, s < 7, m < 14, l < 28, xl) */
.ry-seg.t-xs b, .ry-seg.t-xs i, .ry-seg.t-s i, .ry-seg.t-m i, .ry-seg.t-l i.dg { display: none; }
.k-hub .ry-seg.t-l i.dg { display: inline; }
.k-period .ry-seg.t-s b, .k-period .ry-seg.t-m b, .k-band .ry-seg.t-s b { display: none; }
.ry-over { position: absolute; z-index: 1; top: 3px; bottom: 3px; border-radius: 4px; pointer-events: none; }
.ry-over.retro { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .32) 0 2px, transparent 2px 7px); }
.ry-over.comb { background: rgba(242, 236, 224, .3); }
.ry-empty { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 12px; color: #b9b2a3; font-size: .82rem; }
.ry-marks { position: absolute; top: var(--axis); bottom: 0; left: var(--head); right: 0; pointer-events: none; }
.ry-grid { position: absolute; top: 0; bottom: calc(var(--lab) + 8px); width: 0; border-left: 1px solid rgba(242, 236, 224, .07); }
.rows-2 .ry-grid { bottom: calc(2 * var(--lab) + 8px); } .rows-3 .ry-grid { bottom: calc(3 * var(--lab) + 8px); }
.rows-4 .ry-grid { bottom: calc(4 * var(--lab) + 8px); } .rows-5 .ry-grid { bottom: calc(5 * var(--lab) + 8px); }
.ry-mark { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px solid var(--mc, var(--gold)); }
.ry-mark em { position: absolute; bottom: 0; left: 0; transform: translateX(-50%); font-style: normal; font-size: .72rem; line-height: 1; white-space: nowrap;
  padding: 3px 6px; border-radius: 999px; background: #1a2036; color: #f2ece0; border: 1px solid var(--mc, var(--gold)); }
.ry-mark em.r1 { bottom: var(--lab); } .ry-mark em.r2 { bottom: calc(2 * var(--lab)); } .ry-mark em.r3 { bottom: calc(3 * var(--lab)); }
.ry-mark em.r4 { bottom: calc(4 * var(--lab)); }
.ry-mark em.e-l { transform: none; } .ry-mark em.e-r { transform: translateX(-100%); }
.ry-mark.ecl { --mc: #f0cf8a; }
.ry-mark.ecl.off { --mc: rgba(240, 207, 138, .45); border-left-style: dashed; }
.ry-mark.ecl.off em { color: #cfc8b8; }
.ry-mark.vs { --mc: #9fd3b2; }
.ry-mark.now { --mc: #f5efe3; border-left-width: 2px; }
.ry-mark.now em { background: #f5efe3; color: var(--night); font-weight: 700; }
.ry-legend { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: #cfc8b8; }
.ry-legend li { display: inline-flex; align-items: center; gap: 7px; }
.ry-legend.light { color: #4d4a44; }
.ry-sw { display: inline-block; flex: none; width: 18px; height: 12px; border-radius: 3px; box-sizing: border-box; }
.sw-good { background: var(--tl-good); } .sw-neutral { background: var(--tl-mix); } .sw-care { background: var(--tl-care); }
.sw-retro { background: #5d5a66 repeating-linear-gradient(135deg, rgba(255, 255, 255, .45) 0 2px, transparent 2px 6px); }
.sw-comb { background: #c9c2b2; }
.sw-ecl { width: 3px; height: 14px; border-radius: 1px; background: #f0cf8a; }
.sw-ecl-off { width: 0; height: 14px; border-radius: 0; border-left: 2px dashed rgba(240, 207, 138, .6); }
.sw-vs { width: 3px; height: 14px; border-radius: 1px; background: #9fd3b2; }
.sw-tick { width: 2px; height: 8px; border-radius: 1px; background: var(--gold); }
.sw-jupiter { height: 4px; background: #c9952e; } .sw-saturn { height: 4px; background: #4f6fa8; }

/* 3. the rashi page's sections */
.ry-glance { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--line); }
.ry-glance > li { padding: 14px 0 14px 16px; border-bottom: 1px solid var(--line); position: relative; }
.ry-glance > li::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 4px; background: var(--mix); }
.ry-glance > li.tone-supportive::before { background: var(--good); } .ry-glance > li.tone-patience::before { background: var(--care); }
.ry-glance-h { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ry-glance-h b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.ry-glance-h small { color: #6d665a; flex-basis: 100%; }
.ry-glance .rf-line { margin-top: 6px; }
.tone-supportive .rf-tone { background: var(--good); } .tone-patience .rf-tone { background: var(--care); }
.ry-lines { list-style: none; padding: 0; margin: 0; }
.ry-lines > li, .ry-lines > div { border-bottom: 1px solid var(--line); padding: 2px 0 8px; }
.ry-why .rf-why-meta { margin-top: 4px; }
.ry-state { margin-top: 10px; }
.ry-state-h { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.ry-state-h small { color: #6d665a; }
.ry-state .rf-line { margin-top: 4px; }
.ry-h2s { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.ed[lang="hi"] .ry-h2s { font-size: clamp(1.55rem, 2.9vw, 2.2rem); }
.ry-area + .ry-area { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.ry-h2q { display: flex; align-items: center; gap: 10px; margin: 10px 0 18px; }      /* the "?" beside the H2, not in it */
.ry-h2q .ed-h2 { margin: 0; }
.ry-h2q .rf-q { flex: none; margin-left: 0; }

/* the whole Sade Sati or dhaiya: one bar, the year outlined */
.ry-cycle { margin: 6px 0 18px; }
.ry-cycle figcaption { margin: 0 0 30px; }
.ry-cycle-bar { position: relative; height: 38px; border-radius: 6px; background: #ece4d3; }
.ry-cycle-bar .ry-seg { top: 4px; bottom: 4px; }
.ry-cycle-bar .ry-seg.pause { border-color: rgba(30, 30, 36, .35); color: #4d4a44; }
.ry-cycle-year { position: absolute; top: -5px; bottom: -5px; border: 2px solid var(--rust); border-radius: 7px; pointer-events: none; }
.ry-cycle-year em { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-style: normal; font-weight: 700; font-size: .82rem; color: var(--rust); }
.ry-cycle-axis { position: relative; height: 20px; margin-top: 6px; }
.ry-cycle-axis i { position: absolute; top: 0; transform: translateX(-50%); font-style: normal; font-size: .76rem; color: #6d665a; }
.ry-cycle-axis i::before { content: ""; position: absolute; left: 50%; top: -8px; width: 1px; height: 6px; background: rgba(30, 30, 36, .3); }
.ry-cycle .ry-seg.t-s b, .ry-cycle .ry-seg.t-xs b { display: none; }

/* month cards */
.ry-months { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ry-month-card { background: #fbf8f2; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px 14px; scroll-margin-top: 90px; }
.ry-month-h { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 4px; color: var(--ink); }
.ry-month-card .rf-line { font-size: .96rem; margin: 8px 0 2px; }
.ry-month-card .rf-chips { gap: 2px 10px; margin-top: 2px; }                /* the verses, compact: one quiet line */
.ry-month-card .rf-chips li { background: none; padding: 0; border-radius: 0; font-size: .74rem; color: #6d665a; }
.ry-month-src { margin: 10px 0 0 !important; }                                    /* the card's one house citation */
.ry-more { margin-top: 10px; }
.ry-more > summary { font-size: .92rem; color: var(--rust); font-weight: 600; min-height: 40px; }
.ry-tones { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 6px; font-size: .86rem; color: #4d4a44; }
.ry-tones li { display: flex; gap: 8px; align-items: baseline; }
.ry-dot { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--mix); }
.tone-supportive > .ry-dot, .tone-supportive .ry-dot { background: var(--good); } .tone-patience > .ry-dot, .tone-patience .ry-dot { background: var(--care); }
.ry-months-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ry-mlines { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; font-size: .92rem; line-height: 1.5; color: #3b3a40; }
.ry-mlines li { padding-left: 10px; border-left: 3px solid var(--pc, #d9cfbd); }
.ry-box { margin-top: 26px; background: #fbf8f2; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 4px 20px 16px; max-width: 900px; }

/* 4. the hub */
.ry-points { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.ry-points li { border-top: 1px solid var(--line); padding: 16px 0 18px; color: #3b3a40; line-height: 1.6; font-size: 1.05rem; }
.ry-key { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: #4d4a44; font-size: .92rem; margin: 0 0 16px; }
.ry-keyitem { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ry-card { border-top-color: var(--gold); }
.ry-cardfact { font-weight: 600; font-size: .95rem; line-height: 1.45; }
.ry-strip { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 6px 0 2px; background: #e8e0cf; }
.ry-strip i { display: block; height: 100%; background: var(--mix); box-shadow: inset -1px 0 0 #fbf8f2; }
.ry-strip i.tone-supportive { background: var(--good); } .ry-strip i.tone-patience { background: var(--care); }
.ry-card .rf-card-line { color: #2f6b4f; }
.ry-wheel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: center; margin: 8px 0 36px; }
.ry-wheel-side .rf-h3 { margin-top: 0; }
.ry-wheel { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.ry-wheel text { font-family: system-ui, "Noto Sans Devanagari", sans-serif; }
.yw-bg { fill: #151a2c; }
.yw-seg { fill: rgba(255, 255, 255, .03); stroke: rgba(201, 164, 92, .35); stroke-width: 1; }
.yw-seg.on { fill: rgba(201, 164, 92, .16); }
.yw-name { fill: #cfc8b8; font-size: 19px; text-anchor: middle; dominant-baseline: middle; }
.yw-name.on { fill: #f5efe3; font-weight: 600; }
.yw-ring { fill: none; stroke: rgba(201, 164, 92, .3); }
.yw-tick { fill: none; stroke: rgba(201, 164, 92, .16); stroke-width: 1; }
.yw-tick.on { stroke: rgba(201, 164, 92, .5); stroke-dasharray: 4 5; }
.yw-stn { fill: #151a2c; stroke-width: 2; } .yw-stn.g-jupiter { stroke: #f0cf8a; } .yw-stn.g-saturn { stroke: #b4c8ef; }
.yw-path { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.yw-path.g-jupiter { stroke: #e2a93b; } .yw-path.g-saturn { stroke: #7f9fdc; }
.yw-dot { fill: #151a2c; stroke-width: 1.6; } .yw-dot.g-jupiter { stroke: #f0cf8a; } .yw-dot.g-saturn { stroke: #b4c8ef; }
.yw-start { fill: #151a2c; stroke-width: 2.5; } .yw-end { stroke: #151a2c; stroke-width: 2; }
.yw-start.g-jupiter { stroke: #e2a93b; } .yw-start.g-saturn { stroke: #7f9fdc; }
.yw-end.g-jupiter, .yw-x.g-jupiter { fill: #e2a93b; } .yw-end.g-saturn, .yw-x.g-saturn { fill: #7f9fdc; }
.yw-x { stroke: #f5efe3; stroke-width: 1.5; }
.yw-date { fill: #f5efe3; font-size: 19px; font-weight: 600; paint-order: stroke; stroke: #151a2c; stroke-width: 4px; stroke-linejoin: round; }
.yw-year { fill: #e2c98f; font-size: 50px; text-anchor: middle; font-family: var(--serif) !important; }
.ry-big { border-top: 0; }
.ry-big .rf-event:first-child { padding-top: 0; }
.ry-big .rf-event-h { font-weight: 600; margin: 0 0 10px; }
.ry-big .rf-strip a { color: inherit; text-decoration: none; }
.ry-big .rf-strip a:hover b { color: var(--rust); }
.ry-sade td { white-space: nowrap; }
.ry-sade .ry-c-on { color: var(--care); font-weight: 600; }
.ry-sade .ry-c-pause { color: #4d4a44; font-style: italic; }
.ry-none { color: #a39b8b; }
.ry-sade + .ry-lines { margin-top: 18px; }
.ry-ecl { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ry-ecl li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; background: #fbf8f2; border: 1px solid var(--line); border-top: 4px solid #c9c2b2; }
.ry-ecl li b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.ry-ecl li span { font-size: .86rem; color: #3b3a40; }
.ry-ecl li small { font-size: .78rem; color: #6d665a; font-weight: 600; }
.ry-ecl li.st-on { border-top-color: #c98b1f; background: #fff8e6; }
.ry-ecl li.st-on small { color: #8a5a10; }
.ry-cities { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ry-cities li { padding: 10px 0; border-bottom: 1px solid var(--line); color: #3b3a40; line-height: 1.55; }
.ry-ask { margin: 20px 0 6px; }
.ry-ask-p { margin: 0 0 12px; color: #3b3a40; max-width: 70ch; }
.ry-next { margin-bottom: 14px; }
.ry-next a { min-height: 52px; }

@media (prefers-reduced-motion: reduce) { .ry-ico svg { animation: none; } }

@media (max-width: 1000px) {
  .ry-points { grid-template-columns: minmax(0, 1fr); }
  .ry-wheel-grid { grid-template-columns: minmax(0, 1fr); }
  .ry-months-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ry-ecl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ry-hero { padding: 20px 0 30px; }
  .ry-hero h1 { margin-bottom: 10px; }
  .ry-fact { margin-bottom: 8px; }
  .ry-spoken p { font-size: .98rem; }
  .ry-tl { --head: 60px; --lane: 32px; --axis: 22px; --lab: 18px; margin-top: 16px; }
  .ry-tl-h { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding-right: 6px; font-size: .68rem; }
  .ry-ico { width: 16px; height: 16px; }
  .ry-note { visibility: hidden; }
  .ry-month .l { display: none; }
  .ry-month .s { display: inline; }
  .ry-month { font-size: .68rem; padding-left: 2px; }
  .ry-seg { font-size: .72rem; gap: 3px; }
  .ry-seg.t-s i, .ry-seg.t-l i, .ry-seg i.dg { display: none; }
  .k-hub .ry-seg.t-s b, .k-hub .ry-seg.t-m b { display: none; }
  .k-period .ry-seg b, .k-band .ry-seg.t-m b { display: none; }
  .ry-mark em { font-size: .66rem; padding: 2px 5px; }
  .ry-mark.minor em { display: none; }
  .ry-card .rf-card-line { display: block; -webkit-line-clamp: unset; overflow: visible; }  /* dates never cut mid-list */
  .ry-legend { font-size: .76rem; gap: 4px 12px; }
  .ry-months, .ry-months-hub { grid-template-columns: minmax(0, 1fr); }
  .ry-month-card { padding: 14px 14px 12px; }
  .ry-ecl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ry-cycle-bar { height: 34px; }
}
@media print {
  .ry-ico, .ry-share, .ry-chips, .ry-ask { display: none !important; }
  .ry-hero { background: none; color: #000; }
  .ry-hero .ry-fact, .ry-spoken p, .ry-tl-h, .ry-month, .ry-small { color: #000; }
  .ry-months { display: block; }
  .ry-month-card { break-inside: avoid; margin-bottom: 10px; }
  .ry-more[open] > summary, .ry-more > summary { display: none; }
}
