@font-face {
  font-family: "Rozha One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/rozha-one-devanagari-400-normal.42159b1c20.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: "Hind";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/hind-devanagari-400-normal.6939ca4cd3.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: "Hind";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/hind-devanagari-500-normal.6eaed2a8a8.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: "Hind";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/hind-devanagari-600-normal.732a7089dc.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: "Rozha One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/rozha-one-latin-400-normal.a59c71d6d0.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hind";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/hind-latin-400-normal.aca5dec430.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hind";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/hind-latin-500-normal.16ab274f0e.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hind";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/hind-latin-600-normal.078751117e.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IP Deva Digits Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/IPDevaDigitsSans-Regular.39bccb45e8.woff2) format("woff2");
  unicode-range: U+0966-096F;
}
@font-face {
  font-family: "IP Deva Digits Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/IPDevaDigitsSans-SemiBold.39b72fab07.woff2) format("woff2");
  unicode-range: U+0966-096F;
}
@font-face {
  font-family: "IP Deva Digits Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/IPDevaDigitsSerif-Black.860168cbad.woff2) format("woff2");
  unicode-range: U+0966-096F;
}

:root {
  --surface: #FFFDF8;
  --surface-variant: #F5EDE1;
  --surface-raised: #FFFFFF;
  --on-surface: #231E1B;
  --on-surface-muted: #6E625A;
  --frame: #231E1B;
  --outline: #8C7D71;
  --outline-muted: #E7DCCF;
  --holiday: #AE1F2E;
  --festival-surface: #FBE7EA;
  --vrat: #2E6A3B;
  --accent: #27368A;
  --accent-container: #E6E9F7;
  --action: #231E1B;
  --on-action: #FFFDF8;
  --focus: #27368A;
  --decor: #D99A1E;
  --font-display: "IP Deva Digits Serif", "Rozha One", serif;
  --font-sans: "IP Deva Digits Sans", "Hind", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1A1614;
    --surface-variant: #251F1C;
    --surface-raised: #221C19;
    --on-surface: #F3ECE3;
    --on-surface-muted: #BDB2A6;
    --frame: #7D6F63;
    --outline: #857869;
    --outline-muted: #3B332D;
    --holiday: #F27B86;
    --festival-surface: #3A2226;
    --vrat: #8ACB93;
    --accent: #8E9BEA;
    --accent-container: #262B4A;
    --action: #F3ECE3;
    --on-action: #1A1614;
    --focus: #8E9BEA;
    --decor: #F0B648;
  }
}

/* Aripan: kohl line on rice-paste ground, double rules instead of boxes, kumkum for what is holy.
   Colour roles and @font-face rules are generated (src/theme.ts) and prepended at build time. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4.5vw + 1rem, 3.25rem);
  margin: 0.25em 0 0.4em;
}

h2 {
  font-size: clamp(1.5rem, 1.5vw + 1rem, 1.875rem);
  margin: 0 0 0.6em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-variant);
  padding: 0 0.3em;
  border-radius: 4px;
}

.ip-kumkum {
  color: var(--holiday);
}

.ip-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--action);
  color: var(--on-action);
}

.ip-skip:focus {
  left: 16px;
}

/* Mangalacharan: first, centred, never animated. */
.ip-mangal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 16px 8px;
  color: var(--holiday);
  border-bottom: 3px double var(--frame);
}

.ip-ganesha {
  width: 40px;
  height: 40px;
}

.ip-mangal p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Header */
.ip-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.ip-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--on-surface);
  text-decoration: none;
}

.ip-roundel {
  width: 52px;
  height: 52px;
  flex: none;
}

.ip-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ip-wm-hi {
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.ip-wm-en {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--on-surface-muted);
}

.ip-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  margin: 0;
  padding: 0;
}

.ip-nav a {
  display: inline-block;
  padding: 10px 0;
  color: var(--on-surface);
  text-decoration: none;
}

.ip-nav a:hover,
.ip-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--holiday);
  text-decoration-thickness: 2px;
}

.ip-nav .ip-lang {
  padding: 6px 14px;
  border: 1px solid var(--outline);
  border-radius: 6px;
  font-weight: 500;
}

/* Main */
.ip-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 16px 32px;
}

/* Landing */
.ip-hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 16px 0 8px;
}

@media (min-width: 860px) {
  .ip-hero {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }
}

.ip-lede {
  font-size: 1.1875rem;
}

.ip-store {
  margin-top: 24px;
}

.ip-badge {
  display: inline-block;
  margin: 0;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--action);
  color: var(--on-action);
  font-weight: 600;
}

.ip-store-note {
  margin: 8px 0 0;
  color: var(--on-surface-muted);
  font-size: 0.9375rem;
}

.ip-shots {
  margin: 0;
}

.ip-shots ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 24px 0 0;
}

.ip-phone {
  width: min(30%, 168px);
  aspect-ratio: 9 / 19;
  padding: 6px;
  border: 3px double var(--frame);
  border-radius: 22px;
  background: var(--surface-raised);
}

.ip-phone:nth-child(2) {
  transform: translateY(-20px);
}

.ip-phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: var(--surface-variant);
  color: var(--on-surface-muted);
  font-size: 0.875rem;
  line-height: 1.3;
  text-align: center;
}

.ip-phone-mark {
  width: 45%;
  height: auto;
  color: var(--on-surface);
  opacity: 0.55;
}

.ip-shots figcaption {
  margin-top: 12px;
  color: var(--on-surface-muted);
  font-size: 0.875rem;
  text-align: center;
}

.ip-divider {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  color: var(--frame);
}

.ip-fish {
  width: 160px;
  height: 24px;
}

.ip-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 40px;
  margin: 0;
  padding: 0;
}

.ip-features li {
  padding: 20px 0;
  border-top: 1px dashed var(--outline-muted);
}

.ip-features h3 {
  margin: 10px 0 4px;
}

.ip-features p {
  margin: 0;
  color: var(--on-surface-muted);
}

.ip-art {
  width: 32px;
  height: 32px;
  color: var(--on-surface);
}

.ip-art-motif {
  width: 44px;
  height: 44px;
  margin: -6px;
  color: var(--holiday);
}

/* Double-line Mithila frame with lotus corners */
.ip-frame {
  position: relative;
  margin: 8px 0;
  padding: 40px clamp(24px, 6vw, 56px);
  border: 3px double var(--frame);
}

.ip-lotus {
  position: absolute;
  width: 40px;
  height: 40px;
  color: var(--frame);
}

.ip-lotus-tl {
  top: 6px;
  left: 6px;
}

.ip-lotus-tr {
  top: 6px;
  right: 6px;
  transform: scaleX(-1);
}

.ip-lotus-bl {
  bottom: 6px;
  left: 6px;
  transform: scaleY(-1);
}

.ip-lotus-br {
  bottom: 6px;
  right: 6px;
  transform: scale(-1);
}

.ip-frame > :last-child {
  margin-bottom: 0;
}

.ip-ticks {
  list-style: "◆  ";
  padding-left: 1.5rem;
}

.ip-ticks li::marker {
  color: var(--holiday);
  font-size: 0.75em;
}

.ip-ticks li + li {
  margin-top: 6px;
}

/* Long documents */
.ip-doc {
  max-width: 46rem;
}

.ip-doc section {
  scroll-margin-top: 16px;
}

.ip-doc > section > h2,
.ip-doc .ip-frame h2 {
  margin-top: 2.25rem;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--outline-muted);
}

.ip-doc .ip-frame h2 {
  margin-top: 0;
}

.ip-doc li + li {
  margin-top: 8px;
}

.ip-meta {
  color: var(--on-surface-muted);
}

.ip-note {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--holiday);
  border-radius: 0 6px 6px 0;
  background: var(--festival-surface);
}

.ip-note p {
  margin: 0;
}

.ip-todo {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--accent-container);
  color: var(--on-surface);
}

.ip-summary {
  margin: 24px 0;
  padding: 20px 24px 8px;
  background: var(--surface-variant);
}

.ip-summary h2,
.ip-toc h2 {
  margin-top: 0;
  border-bottom: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
}

.ip-toc ol {
  columns: 2 16rem;
  column-gap: 32px;
  margin: 0;
}

.ip-faq dt {
  margin-top: 16px;
  font-weight: 600;
}

.ip-faq dd {
  margin: 4px 0 0;
}

/* Footer */
.ip-footer {
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 0 16px 32px;
  color: var(--on-surface-muted);
  font-size: 0.9375rem;
  text-align: center;
}

.ip-kachni {
  height: 10px;
  border-top: 1.25px solid var(--frame);
  border-bottom: 1.25px solid var(--frame);
  background-image: repeating-linear-gradient(-60deg, transparent 0 3px, var(--frame) 3px 4px);
  opacity: 0.8;
}

.ip-footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 24px;
  margin: 20px 0 8px;
  padding: 0;
}

.ip-footer a {
  display: inline-block;
  padding: 8px 0;
  color: var(--on-surface);
}

.ip-footer p {
  margin: 4px 0;
}

/* 404 */
.ip-notfound {
  padding: 32px 0;
  text-align: center;
}

/* Programmatic pages: breadcrumbs, festival header, lists, day tables, pagers */
.ip-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  color: var(--on-surface-muted);
  font-size: 0.9375rem;
}

.ip-crumbs li + li::before {
  content: "›";
  margin: 0 8px;
}

.ip-fest-head {
  display: flex;
  gap: 24px;
  align-items: center;
}

.ip-fest-head h1 {
  margin-bottom: 0.1em;
}

.ip-fest-art {
  flex: none;
  width: 112px;
  height: 112px;
  color: var(--on-surface);
}

.ip-fest-date {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
}

.ip-chip {
  display: inline-block;
  margin-right: 4px;
  padding: 0 10px;
  border: 1px solid var(--outline-muted);
  border-radius: 999px;
  font-size: 0.875rem;
}

.ip-notes {
  margin: 8px 0 0;
  padding-left: 1.25rem;
}

.ip-fest-list,
.ip-dates {
  padding-left: 1.25rem;
}

.ip-doc .ip-fest-list li + li,
.ip-doc .ip-dates li + li {
  margin-top: 4px;
}

.ip-major a,
.ip-major {
  color: var(--holiday);
  font-weight: 600;
}

.ip-inline,
.ip-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip-doc .ip-inline li + li,
.ip-doc .ip-cities li + li {
  margin-top: 0;
}

.ip-cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}

.ip-date-lines {
  margin: 4px 0 16px;
  padding: 0;
  list-style: none;
  color: var(--on-surface-muted);
}

.ip-doc .ip-date-lines li + li {
  margin-top: 0;
}

.ip-sankranti {
  color: var(--holiday);
  font-weight: 600;
}

.ip-day-section {
  margin-top: 24px;
}

.ip-table {
  width: 100%;
  border-collapse: collapse;
}

.ip-table th,
.ip-table td {
  padding: 6px 8px 6px 0;
  border-bottom: 1px dashed var(--outline-muted);
  text-align: left;
  vertical-align: top;
}

.ip-table th {
  width: 38%;
  font-weight: 600;
}

.ip-auspicious th::before,
.ip-inauspicious th::before {
  content: "●";
  margin-right: 6px;
  font-size: 0.75em;
}

.ip-auspicious th::before {
  color: var(--accent);
}

.ip-inauspicious th::before {
  color: var(--holiday);
}

.ip-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 24px 0;
}

.ip-more {
  margin-top: 24px;
}

@media (max-width: 480px) {
  .ip-fest-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ip-fest-art {
    width: 88px;
    height: 88px;
  }
}

/* Play badge once the listing is live, and "open in app" on deep-linkable pages */
a.ip-badge-live {
  text-decoration: none;
}

.ip-open {
  margin: 4px 0 12px;
}

.ip-open-app {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

/* Share row (festival, month and city day pages): plain links, WhatsApp first; the share script
   adds the native share button (.ip-share-native) and copy-to-clipboard where available */
.ip-share {
  margin: 12px 0 20px;
}

.ip-share h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.ip-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip-share-links a,
.ip-share-native {
  display: inline-block;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}

.ip-share-links a.ip-share-whatsapp,
.ip-share-native {
  border-color: var(--action);
  background: var(--action);
  color: var(--on-action);
}

.ip-share-status {
  min-height: 1.5em;
  margin: 6px 0 0;
  color: var(--on-surface-muted);
  font-size: 0.9375rem;
}

/* "Get the app" at the end of shareable pages */
.ip-getapp {
  margin: 32px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
}

.ip-getapp h2 {
  margin-top: 0;
}

/* Search names: other names of a festival, and the link from a day to its festival's parent page */
.ip-aka {
  margin: 4px 0;
  color: var(--on-surface-muted);
}

.ip-group {
  margin: 8px 0 0;
  font-weight: 600;
}

/* Month calendar (month pages, rendered on request): a real table in Aripan's line work, double
   rules above and below, hairlines between days; red dates for Sundays and holidays, the festival
   wash for major festivals, today outlined in indigo (the app's Aripan today: 2px, inset, rounded).
   Phones get the compact cell: date, short tithi, the first festival name. */
.ip-doc.ip-month {
  max-width: 64rem;
}

.ip-cal-nav {
  display: flex;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 8px;
}

.ip-cal-nav a {
  text-decoration: none;
  font-weight: 600;
}

.ip-cal {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-top: 3px double var(--frame);
  border-bottom: 3px double var(--frame);
  line-height: 1.3;
}

.ip-cal caption {
  caption-side: top;
  padding: 0 0 6px;
  color: var(--on-surface-muted);
  font-size: 0.9375rem;
  text-align: left;
}

.ip-cal th {
  padding: 6px 2px;
  border-bottom: 1px solid var(--outline);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}

.ip-cal th.ip-cal-holiday {
  color: var(--holiday);
}

.ip-cal td {
  position: relative;
  height: 7.5rem;
  padding: 8px 8px 10px;
  border: 1px solid var(--outline-muted);
  vertical-align: top;
  overflow: hidden;
}

.ip-cal tr > td:first-child {
  border-left: 0;
}

.ip-cal tr > td:last-child {
  border-right: 0;
}

.ip-cal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
}

.ip-cal-date {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.1;
  color: var(--on-surface);
  text-decoration: none;
}

a.ip-cal-date:hover {
  text-decoration: underline;
}

.ip-cal-holiday .ip-cal-date {
  color: var(--holiday);
}

.ip-cal-moon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  color: var(--on-surface-muted);
}

.ip-cal-tithi,
.ip-cal-fest li {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ip-cal-tithi {
  margin-top: 2px;
  color: var(--on-surface-muted);
  font-size: 0.8125rem;
}

.ip-cal-tithi-short,
.ip-cal-more-narrow {
  display: none;
}

.ip-cal-fest {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
}

.ip-doc .ip-cal-fest li + li {
  margin-top: 0;
}

.ip-cal-fest a {
  color: inherit;
  text-decoration: none;
}

.ip-cal-fest a:hover {
  text-decoration: underline;
}

.ip-cal-major {
  color: var(--holiday);
  font-weight: 600;
}

.ip-cal-vrat {
  color: var(--vrat);
  font-weight: 500;
}

.ip-cal-fest .ip-cal-quiet {
  color: var(--on-surface-muted);
  font-weight: 400;
}

.ip-cal-more {
  color: var(--on-surface-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.ip-cal-wash {
  background: var(--festival-surface);
}

.ip-cal-today::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  pointer-events: none;
}

@media (max-width: 600px) {
  .ip-cal th {
    padding: 4px 0;
    font-size: 0.8125rem;
  }

  .ip-cal td {
    height: 4.5rem;
    padding: 5px 4px 6px;
  }

  .ip-cal-date {
    font-size: 1.1875rem;
  }

  .ip-cal-moon {
    width: 10px;
    height: 10px;
    margin-top: 2px;
  }

  .ip-cal-today::after {
    inset: 1px;
    border-radius: 6px;
  }

  /* Full tithi and further festival names stay for screen readers only. */
  .ip-cal-tithi,
  .ip-cal-fest li + li {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .ip-cal-tithi-short {
    display: block;
    overflow: hidden;
    color: var(--on-surface-muted);
    font-size: 0.6875rem;
    white-space: nowrap;
  }

  .ip-cal-fest {
    margin-top: 2px;
    font-size: 0.625rem;
    line-height: 1.25;
  }

  .ip-cal-fest li {
    text-overflow: clip;
  }

  .ip-cal-more-wide {
    display: none;
  }

  .ip-cal-more-narrow {
    display: inline;
    font-size: 0.625rem;
  }
}

/* Landing: the calendar link */
.ip-home-cal p {
  margin: 0 0 12px;
}
