@font-face {
  font-family: "Rozha One";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  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: "Rozha One";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  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: optional;
  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: optional;
  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: optional;
  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: "Hind";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  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: optional;
  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: optional;
  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: "Eczar";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/eczar-devanagari-700-normal.ebfec0c841.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: "Eczar";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/eczar-latin-700-normal.9088211206.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: "Mukta";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/mukta-devanagari-400-normal.afc56ae914.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: "Mukta";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/mukta-devanagari-500-normal.80e35c0c4c.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: "Mukta";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/mukta-devanagari-600-normal.872b98024f.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: "Mukta";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/mukta-latin-400-normal.510168c767.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: "Mukta";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/mukta-latin-500-normal.42fe1664fe.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: "Mukta";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/mukta-latin-600-normal.1e86a6af02.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: "Martel";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/martel-devanagari-800-normal.4194ce905b.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: "Martel";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/martel-latin-800-normal.ed34474e1e.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: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/noto-sans-devanagari-devanagari-400-normal.f86f14cbd1.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: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/noto-sans-devanagari-devanagari-500-normal.c9e45ff29d.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: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/noto-sans-devanagari-devanagari-600-normal.fcfcaacda2.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: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/noto-sans-devanagari-latin-400-normal.1ea6a2f05a.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: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/noto-sans-devanagari-latin-500-normal.18745d0398.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: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/noto-sans-devanagari-latin-600-normal.5db75e80d2.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: "Tiro Devanagari Hindi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/tiro-devanagari-hindi-devanagari-400-normal.ba48f7ea67.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: "Tiro Devanagari Hindi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/tiro-devanagari-hindi-latin-400-normal.0cbde597b9.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: optional;
  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: optional;
  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: optional;
  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;
  --on-holiday: #FFFFFF;
  --festival-surface: #FBE7EA;
  --vrat: #2E6A3B;
  --vrat-surface: #E6F0E6;
  --today: #27368A;
  --today-end: #27368B;
  --on-today: #FFFFFF;
  --accent: #27368A;
  --on-accent: #FFFFFF;
  --accent-container: #E6E9F7;
  --action: #231E1B;
  --on-action: #FFFDF8;
  --focus: #27368A;
  --decor: #D99A1E;
  --mangal: #AE1F2F;
  --shubh: #AE1F2D;
  --art-festival: #AE1F2C;
  --art-vrat: #2E6A3C;
  --moon: #231E1C;
  --auspicious: #2E6A3D;
  --inauspicious: #8A4A12;
  --scrim: #231E1B8C;
  --header-band: #FFFDF8;
  --on-header-band: #231E1B;
  --on-header-band-muted: #6E625A;
  --header-band-line: #231E1B;
  --ink-soft: #4A3F38;
  --line: #D9CFC4;
  --rest: #EFE7DD;
  --link: #8C1C2A;
  --link-line: rgba(174, 31, 46, 0.35);
  --link-hover: #AE1F2E;
  color-scheme: light;
  --font-display: "IP Deva Digits Serif", "Rozha One", serif;
  --font-sans: "IP Deva Digits Sans", "Hind", system-ui, sans-serif;
  --display-weight: 400;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-scheme="light"]) {
    --surface: #1A1614;
    --surface-variant: #251F1C;
    --surface-raised: #221C19;
    --on-surface: #F3ECE3;
    --on-surface-muted: #BDB2A6;
    --frame: #7D6F63;
    --outline: #857869;
    --outline-muted: #3B332D;
    --holiday: #F27B86;
    --on-holiday: #1A1614;
    --festival-surface: #3A2226;
    --vrat: #8ACB93;
    --vrat-surface: #1F2C21;
    --today: #8E9BEA;
    --today-end: #8E9BEB;
    --on-today: #1A1614;
    --accent: #8E9BEA;
    --on-accent: #1A1614;
    --accent-container: #262B4A;
    --action: #F3ECE3;
    --on-action: #1A1614;
    --focus: #8E9BEA;
    --decor: #F0B648;
    --mangal: #F27B87;
    --shubh: #F27B85;
    --art-festival: #F27B84;
    --art-vrat: #8ACB94;
    --moon: #F3ECE4;
    --auspicious: #8ACB95;
    --inauspicious: #E7A26A;
    --scrim: #000000B3;
    --header-band: #1A1614;
    --on-header-band: #F3ECE3;
    --on-header-band-muted: #BDB2A6;
    --header-band-line: #7D6F63;
    --ink-soft: #D9CFC4;
    --line: #4A4039;
    --rest: #2E2724;
    --link: #F27B86;
    --link-line: rgba(242, 123, 134, 0.45);
    --link-hover: #FFC2C8;
    color-scheme: dark;
  }
}
:root[data-scheme="dark"] {
  --surface: #1A1614;
  --surface-variant: #251F1C;
  --surface-raised: #221C19;
  --on-surface: #F3ECE3;
  --on-surface-muted: #BDB2A6;
  --frame: #7D6F63;
  --outline: #857869;
  --outline-muted: #3B332D;
  --holiday: #F27B86;
  --on-holiday: #1A1614;
  --festival-surface: #3A2226;
  --vrat: #8ACB93;
  --vrat-surface: #1F2C21;
  --today: #8E9BEA;
  --today-end: #8E9BEB;
  --on-today: #1A1614;
  --accent: #8E9BEA;
  --on-accent: #1A1614;
  --accent-container: #262B4A;
  --action: #F3ECE3;
  --on-action: #1A1614;
  --focus: #8E9BEA;
  --decor: #F0B648;
  --mangal: #F27B87;
  --shubh: #F27B85;
  --art-festival: #F27B84;
  --art-vrat: #8ACB94;
  --moon: #F3ECE4;
  --auspicious: #8ACB95;
  --inauspicious: #E7A26A;
  --scrim: #000000B3;
  --header-band: #1A1614;
  --on-header-band: #F3ECE3;
  --on-header-band-muted: #BDB2A6;
  --header-band-line: #7D6F63;
  --ink-soft: #D9CFC4;
  --line: #4A4039;
  --rest: #2E2724;
  --link: #F27B86;
  --link-line: rgba(242, 123, 134, 0.45);
  --link-hover: #FFC2C8;
  color-scheme: dark;
}
:root[data-skin="ishaanKon"] {
  --surface: #FFFFFE;
  --surface-variant: #F1F2F9;
  --surface-raised: #FFFFFD;
  --on-surface: #1B1C33;
  --on-surface-muted: #55577A;
  --frame: #DCDDEA;
  --outline: #7D7F9E;
  --outline-muted: #DCDDEA;
  --holiday: #C1121F;
  --on-holiday: #FFFFFC;
  --festival-surface: #FFF4DA;
  --vrat: #6A5A1A;
  --vrat-surface: #F7F1DC;
  --today: #1B1C33;
  --today-end: #1B1C34;
  --on-today: #FFFFFA;
  --accent: #2B3A8C;
  --on-accent: #FFFFF9;
  --accent-container: #E8EAF6;
  --action: #1B1C35;
  --on-action: #FFFFF8;
  --focus: #2B3A8D;
  --decor: #E2A120;
  --mangal: #C1121E;
  --shubh: #C1121D;
  --art-festival: #E2A121;
  --art-vrat: #E2A122;
  --moon: #1B1C36;
  --auspicious: #1E6B34;
  --inauspicious: #8F2D0B;
  --scrim: #1B1C338C;
  --header-band: #FFFFFE;
  --on-header-band: #1B1C33;
  --on-header-band-muted: #55577A;
  --header-band-line: #7D7F9E;
  --ink-soft: #4A3F38;
  --line: #D9CFC4;
  --rest: #EFE7DD;
  --link: #8C1C2A;
  --link-line: rgba(174, 31, 46, 0.35);
  --link-hover: #AE1F2E;
  color-scheme: light;
  --font-display: "Eczar", serif;
  --font-sans: "Mukta", system-ui, sans-serif;
  --display-weight: 700;
}
@media (prefers-color-scheme: dark) {
  :root[data-skin="ishaanKon"]:not([data-scheme="light"]) {
    --surface: #121326;
    --surface-variant: #1C1D35;
    --surface-raised: #1A1B30;
    --on-surface: #ECEBF7;
    --on-surface-muted: #A7A8C8;
    --frame: #2A2C49;
    --outline: #6E7096;
    --outline-muted: #2A2C49;
    --holiday: #FF7A7A;
    --on-holiday: #121326;
    --festival-surface: #26233A;
    --vrat: #D9C77A;
    --vrat-surface: #2A2717;
    --today: #ECEBF7;
    --today-end: #ECEBF8;
    --on-today: #121326;
    --accent: #F2C14E;
    --on-accent: #121326;
    --accent-container: #2E2A20;
    --action: #F2C14F;
    --on-action: #121327;
    --focus: #F2C14D;
    --decor: #F2C14E;
    --mangal: #F2C14C;
    --shubh: #FF7A79;
    --art-festival: #F2C14B;
    --art-vrat: #F2C14A;
    --moon: #ECEBF6;
    --auspicious: #7DD39A;
    --inauspicious: #FFAA85;
    --scrim: #000000B4;
    --header-band: #121326;
    --on-header-band: #ECEBF7;
    --on-header-band-muted: #A7A8C8;
    --header-band-line: #6E7096;
    --ink-soft: #D9CFC4;
    --line: #4A4039;
    --rest: #2E2724;
    --link: #F27B86;
    --link-line: rgba(242, 123, 134, 0.45);
    --link-hover: #FFC2C8;
    color-scheme: dark;
  }
}
:root[data-skin="ishaanKon"][data-scheme="dark"] {
  --surface: #121326;
  --surface-variant: #1C1D35;
  --surface-raised: #1A1B30;
  --on-surface: #ECEBF7;
  --on-surface-muted: #A7A8C8;
  --frame: #2A2C49;
  --outline: #6E7096;
  --outline-muted: #2A2C49;
  --holiday: #FF7A7A;
  --on-holiday: #121326;
  --festival-surface: #26233A;
  --vrat: #D9C77A;
  --vrat-surface: #2A2717;
  --today: #ECEBF7;
  --today-end: #ECEBF8;
  --on-today: #121326;
  --accent: #F2C14E;
  --on-accent: #121326;
  --accent-container: #2E2A20;
  --action: #F2C14F;
  --on-action: #121327;
  --focus: #F2C14D;
  --decor: #F2C14E;
  --mangal: #F2C14C;
  --shubh: #FF7A79;
  --art-festival: #F2C14B;
  --art-vrat: #F2C14A;
  --moon: #ECEBF6;
  --auspicious: #7DD39A;
  --inauspicious: #FFAA85;
  --scrim: #000000B4;
  --header-band: #121326;
  --on-header-band: #ECEBF7;
  --on-header-band-muted: #A7A8C8;
  --header-band-line: #6E7096;
  --ink-soft: #D9CFC4;
  --line: #4A4039;
  --rest: #2E2724;
  --link: #F27B86;
  --link-line: rgba(242, 123, 134, 0.45);
  --link-hover: #FFC2C8;
  color-scheme: dark;
}
:root[data-skin="pratahkal"] {
  --surface: #F3F6FB;
  --surface-variant: #E3E9F3;
  --surface-raised: #FFFFFE;
  --on-surface: #17203D;
  --on-surface-muted: #5A6487;
  --frame: #E3E9F3;
  --outline: #7B86A6;
  --outline-muted: #D5DDEB;
  --holiday: #B4363F;
  --on-holiday: #FFFFFB;
  --festival-surface: #FFEBDC;
  --vrat: #26357A;
  --vrat-surface: #E6EAF7;
  --today: #F59A45;
  --today-end: #EA6F86;
  --on-today: #17203D;
  --accent: #26357A;
  --on-accent: #FFFFF7;
  --accent-container: #E3E9F5;
  --action: #26357B;
  --on-action: #FFFFF6;
  --focus: #26357C;
  --decor: #F08A24;
  --mangal: #B4363E;
  --shubh: #B4363D;
  --art-festival: #F08A25;
  --art-vrat: #26357D;
  --moon: #26357E;
  --auspicious: #1E6B35;
  --inauspicious: #8F2D0C;
  --scrim: #17203D8C;
  --header-band: #F3F6FB;
  --on-header-band: #17203D;
  --on-header-band-muted: #5A6487;
  --header-band-line: #7B86A6;
  --ink-soft: #4A3F38;
  --line: #D9CFC4;
  --rest: #EFE7DD;
  --link: #8C1C2A;
  --link-line: rgba(174, 31, 46, 0.35);
  --link-hover: #AE1F2E;
  color-scheme: light;
  --font-display: "Martel", serif;
  --font-sans: "Noto Sans Devanagari", system-ui, sans-serif;
  --display-weight: 800;
}
@media (prefers-color-scheme: dark) {
  :root[data-skin="pratahkal"]:not([data-scheme="light"]) {
    --surface: #0D1430;
    --surface-variant: #141C40;
    --surface-raised: #162047;
    --on-surface: #E9EEFA;
    --on-surface-muted: #9FAAD0;
    --frame: #24306A;
    --outline: #6F7BAB;
    --outline-muted: #26306A;
    --holiday: #FF9AAE;
    --on-holiday: #0D1430;
    --festival-surface: #2A2550;
    --vrat: #A9B8F5;
    --vrat-surface: #1E2A5C;
    --today: #F59A45;
    --today-end: #E0607C;
    --on-today: #0D1430;
    --accent: #FFC08A;
    --on-accent: #0D1430;
    --accent-container: #2E2C3A;
    --action: #FFC08B;
    --on-action: #0D1431;
    --focus: #FFC08C;
    --decor: #FFB066;
    --mangal: #FFC089;
    --shubh: #FF9AAD;
    --art-festival: #FFB067;
    --art-vrat: #A9B8F6;
    --moon: #E9EEFB;
    --auspicious: #7DD39B;
    --inauspicious: #FFAA86;
    --scrim: #000000B5;
    --header-band: #0D1430;
    --on-header-band: #E9EEFA;
    --on-header-band-muted: #9FAAD0;
    --header-band-line: #6F7BAB;
    --ink-soft: #D9CFC4;
    --line: #4A4039;
    --rest: #2E2724;
    --link: #F27B86;
    --link-line: rgba(242, 123, 134, 0.45);
    --link-hover: #FFC2C8;
    color-scheme: dark;
  }
}
:root[data-skin="pratahkal"][data-scheme="dark"] {
  --surface: #0D1430;
  --surface-variant: #141C40;
  --surface-raised: #162047;
  --on-surface: #E9EEFA;
  --on-surface-muted: #9FAAD0;
  --frame: #24306A;
  --outline: #6F7BAB;
  --outline-muted: #26306A;
  --holiday: #FF9AAE;
  --on-holiday: #0D1430;
  --festival-surface: #2A2550;
  --vrat: #A9B8F5;
  --vrat-surface: #1E2A5C;
  --today: #F59A45;
  --today-end: #E0607C;
  --on-today: #0D1430;
  --accent: #FFC08A;
  --on-accent: #0D1430;
  --accent-container: #2E2C3A;
  --action: #FFC08B;
  --on-action: #0D1431;
  --focus: #FFC08C;
  --decor: #FFB066;
  --mangal: #FFC089;
  --shubh: #FF9AAD;
  --art-festival: #FFB067;
  --art-vrat: #A9B8F6;
  --moon: #E9EEFB;
  --auspicious: #7DD39B;
  --inauspicious: #FFAA86;
  --scrim: #000000B5;
  --header-band: #0D1430;
  --on-header-band: #E9EEFA;
  --on-header-band-muted: #9FAAD0;
  --header-band-line: #6F7BAB;
  --ink-soft: #D9CFC4;
  --line: #4A4039;
  --rest: #2E2724;
  --link: #F27B86;
  --link-line: rgba(242, 123, 134, 0.45);
  --link-hover: #FFC2C8;
  color-scheme: dark;
}
:root[data-skin="kashi"] {
  --surface: #FBF5E8;
  --surface-variant: #F3E8D3;
  --surface-raised: #FFFBF2;
  --on-surface: #2B1216;
  --on-surface-muted: #6A4D45;
  --frame: #A9842A;
  --outline: #8F7262;
  --outline-muted: #E3D3B4;
  --holiday: #A3162B;
  --on-holiday: #FFFBF2;
  --festival-surface: #F6E1DC;
  --vrat: #1E6A4E;
  --vrat-surface: #E3EFE6;
  --today: #2C3C82;
  --today-end: #2C3C83;
  --on-today: #FFFBF1;
  --accent: #2C3C82;
  --on-accent: #FFFBF0;
  --accent-container: #E4E6F4;
  --action: #7A1424;
  --on-action: #FBF0DA;
  --focus: #2C3C84;
  --decor: #C9A13B;
  --mangal: #A3162C;
  --shubh: #A3162D;
  --art-festival: #A9842B;
  --art-vrat: #1E6A4F;
  --moon: #2B1217;
  --auspicious: #1E6A50;
  --inauspicious: #8A4A12;
  --scrim: #2B12168C;
  --header-band: #7A1424;
  --on-header-band: #FBF0DA;
  --on-header-band-muted: #E9D2BF;
  --header-band-line: #D8B04A;
  --ink-soft: #4A3F38;
  --line: #D9CFC4;
  --rest: #EFE7DD;
  --link: #8C1C2A;
  --link-line: rgba(174, 31, 46, 0.35);
  --link-hover: #AE1F2E;
  color-scheme: light;
  --font-display: "Tiro Devanagari Hindi", serif;
  --font-sans: "IP Deva Digits Sans", "Hind", system-ui, sans-serif;
  --display-weight: 400;
}
@media (prefers-color-scheme: dark) {
  :root[data-skin="kashi"]:not([data-scheme="light"]) {
    --surface: #180C0F;
    --surface-variant: #24141A;
    --surface-raised: #231218;
    --on-surface: #F6ECDD;
    --on-surface-muted: #C8B3A2;
    --frame: #E7C45E;
    --outline: #8E7767;
    --outline-muted: #3E2A2C;
    --holiday: #FF8C95;
    --on-holiday: #180C0F;
    --festival-surface: #3A1820;
    --vrat: #7CD3AC;
    --vrat-surface: #14271F;
    --today: #A3B0F5;
    --today-end: #A3B0F6;
    --on-today: #180C10;
    --accent: #A3B0F5;
    --on-accent: #180C11;
    --accent-container: #272846;
    --action: #E7C45F;
    --on-action: #180C12;
    --focus: #A3B0F7;
    --decor: #E7C45D;
    --mangal: #FF8C96;
    --shubh: #FF8C94;
    --art-festival: #E7C45C;
    --art-vrat: #7CD3AD;
    --moon: #F6ECDE;
    --auspicious: #7CD3AE;
    --inauspicious: #E7A26A;
    --scrim: #000000B3;
    --header-band: #4A0C17;
    --on-header-band: #FBF0DA;
    --on-header-band-muted: #E9D2BF;
    --header-band-line: #E7C45E;
    --ink-soft: #D9CFC4;
    --line: #4A4039;
    --rest: #2E2724;
    --link: #F27B86;
    --link-line: rgba(242, 123, 134, 0.45);
    --link-hover: #FFC2C8;
    color-scheme: dark;
  }
}
:root[data-skin="kashi"][data-scheme="dark"] {
  --surface: #180C0F;
  --surface-variant: #24141A;
  --surface-raised: #231218;
  --on-surface: #F6ECDD;
  --on-surface-muted: #C8B3A2;
  --frame: #E7C45E;
  --outline: #8E7767;
  --outline-muted: #3E2A2C;
  --holiday: #FF8C95;
  --on-holiday: #180C0F;
  --festival-surface: #3A1820;
  --vrat: #7CD3AC;
  --vrat-surface: #14271F;
  --today: #A3B0F5;
  --today-end: #A3B0F6;
  --on-today: #180C10;
  --accent: #A3B0F5;
  --on-accent: #180C11;
  --accent-container: #272846;
  --action: #E7C45F;
  --on-action: #180C12;
  --focus: #A3B0F7;
  --decor: #E7C45D;
  --mangal: #FF8C96;
  --shubh: #FF8C94;
  --art-festival: #E7C45C;
  --art-vrat: #7CD3AD;
  --moon: #F6ECDE;
  --auspicious: #7CD3AE;
  --inauspicious: #E7A26A;
  --scrim: #000000B3;
  --header-band: #4A0C17;
  --on-header-band: #FBF0DA;
  --on-header-band-muted: #E9D2BF;
  --header-band-line: #E7C45E;
  --ink-soft: #D9CFC4;
  --line: #4A4039;
  --rest: #2E2724;
  --link: #F27B86;
  --link-line: rgba(242, 123, 134, 0.45);
  --link-hover: #FFC2C8;
  color-scheme: dark;
}
:root[data-contrast="high"] {
  --surface: #FFFFFF;
  --surface-variant: #F0F0F0;
  --surface-raised: #FFFFF8;
  --on-surface: #000000;
  --on-surface-muted: #2E2A27;
  --frame: #000000;
  --outline: #000000;
  --outline-muted: #6B6B6B;
  --holiday: #8C0D1C;
  --on-holiday: #FFFFF0;
  --festival-surface: #FDEEF1;
  --vrat: #0A4A1E;
  --vrat-surface: #E8F2EA;
  --today: #141F75;
  --today-end: #141F76;
  --on-today: #FFFFF4;
  --accent: #141F75;
  --on-accent: #FFFFEC;
  --accent-container: #E3E7FA;
  --action: #000001;
  --on-action: #FFFFE8;
  --focus: #141F77;
  --decor: #7A5200;
  --mangal: #8C0D1D;
  --shubh: #8C0D1B;
  --art-festival: #8C0D1A;
  --art-vrat: #0A4A1F;
  --moon: #000002;
  --auspicious: #0A4A20;
  --inauspicious: #6A3000;
  --scrim: #000000A6;
  --header-band: #FFFFFF;
  --on-header-band: #000000;
  --on-header-band-muted: #2E2A27;
  --header-band-line: #000000;
  --ink-soft: #4A3F38;
  --line: #D9CFC4;
  --rest: #EFE7DD;
  --link: #8C1C2A;
  --link-line: rgba(174, 31, 46, 0.35);
  --link-hover: #AE1F2E;
  color-scheme: light;
  --font-display: "IP Deva Digits Serif", "Rozha One", serif;
  --font-sans: "IP Deva Digits Sans", "Hind", system-ui, sans-serif;
  --display-weight: 400;
}
.ip-w1{flex:0 0 1%}
.ip-w2{flex:0 0 2%}
.ip-w3{flex:0 0 3%}
.ip-w4{flex:0 0 4%}
.ip-w5{flex:0 0 5%}
.ip-w6{flex:0 0 6%}
.ip-w7{flex:0 0 7%}
.ip-w8{flex:0 0 8%}
.ip-w9{flex:0 0 9%}
.ip-w10{flex:0 0 10%}
.ip-w11{flex:0 0 11%}
.ip-w12{flex:0 0 12%}
.ip-w13{flex:0 0 13%}
.ip-w14{flex:0 0 14%}
.ip-w15{flex:0 0 15%}
.ip-w16{flex:0 0 16%}
.ip-w17{flex:0 0 17%}
.ip-w18{flex:0 0 18%}
.ip-w19{flex:0 0 19%}
.ip-w20{flex:0 0 20%}
.ip-w21{flex:0 0 21%}
.ip-w22{flex:0 0 22%}
.ip-w23{flex:0 0 23%}
.ip-w24{flex:0 0 24%}
.ip-w25{flex:0 0 25%}
.ip-w26{flex:0 0 26%}
.ip-w27{flex:0 0 27%}
.ip-w28{flex:0 0 28%}
.ip-w29{flex:0 0 29%}
.ip-w30{flex:0 0 30%}
.ip-w31{flex:0 0 31%}
.ip-w32{flex:0 0 32%}
.ip-w33{flex:0 0 33%}
.ip-w34{flex:0 0 34%}
.ip-w35{flex:0 0 35%}
.ip-w36{flex:0 0 36%}
.ip-w37{flex:0 0 37%}
.ip-w38{flex:0 0 38%}
.ip-w39{flex:0 0 39%}
.ip-w40{flex:0 0 40%}
.ip-w41{flex:0 0 41%}
.ip-w42{flex:0 0 42%}
.ip-w43{flex:0 0 43%}
.ip-w44{flex:0 0 44%}
.ip-w45{flex:0 0 45%}
.ip-w46{flex:0 0 46%}
.ip-w47{flex:0 0 47%}
.ip-w48{flex:0 0 48%}
.ip-w49{flex:0 0 49%}
.ip-w50{flex:0 0 50%}
.ip-w51{flex:0 0 51%}
.ip-w52{flex:0 0 52%}
.ip-w53{flex:0 0 53%}
.ip-w54{flex:0 0 54%}
.ip-w55{flex:0 0 55%}
.ip-w56{flex:0 0 56%}
.ip-w57{flex:0 0 57%}
.ip-w58{flex:0 0 58%}
.ip-w59{flex:0 0 59%}
.ip-w60{flex:0 0 60%}
.ip-w61{flex:0 0 61%}
.ip-w62{flex:0 0 62%}
.ip-w63{flex:0 0 63%}
.ip-w64{flex:0 0 64%}
.ip-w65{flex:0 0 65%}
.ip-w66{flex:0 0 66%}
.ip-w67{flex:0 0 67%}
.ip-w68{flex:0 0 68%}
.ip-w69{flex:0 0 69%}
.ip-w70{flex:0 0 70%}
.ip-w71{flex:0 0 71%}
.ip-w72{flex:0 0 72%}
.ip-w73{flex:0 0 73%}
.ip-w74{flex:0 0 74%}
.ip-w75{flex:0 0 75%}
.ip-w76{flex:0 0 76%}
.ip-w77{flex:0 0 77%}
.ip-w78{flex:0 0 78%}
.ip-w79{flex:0 0 79%}
.ip-w80{flex:0 0 80%}
.ip-w81{flex:0 0 81%}
.ip-w82{flex:0 0 82%}
.ip-w83{flex:0 0 83%}
.ip-w84{flex:0 0 84%}
.ip-w85{flex:0 0 85%}
.ip-w86{flex:0 0 86%}
.ip-w87{flex:0 0 87%}
.ip-w88{flex:0 0 88%}
.ip-w89{flex:0 0 89%}
.ip-w90{flex:0 0 90%}
.ip-w91{flex:0 0 91%}
.ip-w92{flex:0 0 92%}
.ip-w93{flex:0 0 93%}
.ip-w94{flex:0 0 94%}
.ip-w95{flex:0 0 95%}
.ip-w96{flex:0 0 96%}
.ip-w97{flex:0 0 97%}
.ip-w98{flex:0 0 98%}
.ip-w99{flex:0 0 99%}
.ip-w100{flex:0 0 100%}

/* Aripan, as in the app and the owner's design board (2026-11-21): rice-paste ground, kohl line,
   double rules instead of boxes, festival red for what is holy, indigo for today. Colour roles
   (the design system's Aripan light / dark tokens) and @font-face rules are generated
   (src/theme.ts) and prepended at build time. No inline styles anywhere (CSP style-src 'self'). */

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

html {
  /* The scrollbar's room is kept on every page, so short and long pages centre alike. */
  scrollbar-gutter: stable;
  -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.65;
}

a {
  color: var(--link);
  text-decoration-color: var(--link-line);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
  text-decoration-color: var(--link-hover);
}

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

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

h1 {
  margin: 0;
  font-size: clamp(1.875rem, 2.4vw + 1rem, 2.875rem);
}

h2 {
  margin: 0 0 0.5em;
  font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem);
}

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

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

[hidden] {
  display: none !important;
}

.ip-kumkum {
  line-height: 1.4;
}

.ip-k {
  color: var(--on-surface-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.ip-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

/* --- Header: mangal bar, brand, nav ----------------------------------------------------------- */

.ip-mangal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px 8px;
  border-bottom: 3px double var(--frame);
  color: var(--holiday);
}

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

.ip-mangal p {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.ip-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
}

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

.ip-brand:hover {
  color: var(--on-surface);
}

.ip-roundel {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
}

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

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

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

.ip-header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ip-theme-btn {
  display: none;
  order: 2;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--on-surface);
  cursor: pointer;
}

/* The theme button needs the head script: shown only where it ran (before first paint). */
html[data-js] .ip-theme-btn {
  display: inline-flex;
}

.ip-theme-btn .ip-icon {
  width: 20px;
  height: 20px;
}

.ip-theme-menu {
  position: fixed;
  inset: 140px 16px auto auto;
  width: min(320px, calc(100vw - 32px));
  margin: 0;
  padding: 14px 16px 16px;
  border: 3px double var(--frame);
  background: var(--surface);
  color: var(--on-surface);
  box-shadow: 0 18px 48px rgba(35, 30, 27, 0.25);
}

.ip-theme-menu .ip-k {
  margin: 0 0 8px;
}

.ip-theme-menu .ip-k + .ip-theme-grid,
.ip-theme-row {
  margin-bottom: 4px;
}

.ip-theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.ip-theme-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ip-theme-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--on-surface);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}

.ip-theme-opt[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-container);
  color: var(--accent);
  font-weight: 600;
}

.ip-swatch {
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(35, 30, 27, 0.4);
  border-radius: 50%;
}

.ip-swatch-aripan .ip-swatch {
  background: linear-gradient(135deg, #FFFDF8 50%, #AE1F2E 50%);
}

.ip-swatch-ishaanKon .ip-swatch {
  background: linear-gradient(135deg, #FFFFFE 50%, #2B3A8C 50%);
}

.ip-swatch-pratahkal .ip-swatch {
  background: linear-gradient(135deg, #F3F6FB 50%, #E2873A 50%);
}

.ip-swatch-kashi .ip-swatch {
  background: linear-gradient(135deg, #FBF5E8 50%, #6B1A2A 50%);
}

.ip-menu-btn {
  display: none;
}

.ip-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 22px;
  /* Shown inline from tablet width up, whatever the popover state. */
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: none;
  color: inherit;
  list-style: none;
}

.ip-menu a {
  display: inline-block;
  padding: 10px 4px;
  color: var(--on-surface);
  font-size: 1rem;
  text-decoration: none;
}

.ip-menu a:hover,
.ip-menu a:focus-visible,
.ip-menu a[aria-current="page"] {
  color: var(--holiday);
}

.ip-menu .ip-lang {
  padding: 6px 12px;
  border: 1px solid var(--frame);
  font-size: 0.875rem;
}

@media (max-width: 760px) {
  .ip-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--outline-muted);
  }

  .ip-roundel {
    width: 38px;
    height: 38px;
  }

  .ip-wm-hi {
    font-size: 1.375rem;
  }

  .ip-wm-en {
    display: none;
  }

  .ip-header .ip-nav {
    display: contents;
  }

  .ip-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--surface-raised);
    color: var(--on-surface);
    cursor: pointer;
  }

  .ip-menu-btn .ip-icon {
    width: 20px;
    height: 20px;
  }

  /* The menu is a native popover on phones: hidden until the button opens it. */
  .ip-menu:not(:popover-open) {
    display: none;
  }

  .ip-menu:popover-open {
    position: fixed;
    inset: 140px 16px auto auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 220px;
    padding: 8px 16px;
    border: 3px double var(--frame);
    background: var(--surface);
    box-shadow: 0 18px 48px rgba(35, 30, 27, 0.25);
  }

  .ip-menu:popover-open a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--outline-muted);
  }

  .ip-menu:popover-open li:last-child a {
    border-bottom: 0;
  }

  .ip-menu:popover-open .ip-lang {
    margin-top: 8px;
    text-align: center;
  }
}

/* --- Main column, breadcrumbs --------------------------------------------------------------- */

.ip-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px 48px;
}

.ip-page-home {
  max-width: 1180px;
}

@media (max-width: 760px) {
  .ip-main {
    padding: 12px 16px 32px;
  }

  .ip-card {
    padding: 14px 16px;
  }

  .ip-card-date {
    font-size: 1.625rem;
  }

  .ip-timeline {
    padding: 14px 12px;
  }
}

.ip-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 10px;
  padding: 0;
  color: var(--on-surface-muted);
  font-size: 0.875rem;
  list-style: none;
}

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

/* --- Buttons --------------------------------------------------------------------------------- */

.ip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--frame);
  background: none;
  color: var(--on-surface);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.ip-btn:hover,
.ip-btn:focus-visible {
  color: var(--on-surface);
  background: var(--surface-variant);
}

.ip-btn-red {
  border-color: var(--holiday);
  background: var(--holiday);
  color: var(--on-holiday);
  font-weight: 600;
}

.ip-btn-red:hover,
.ip-btn-red:focus-visible {
  background: var(--link);
  color: var(--on-holiday);
}

.ip-btn-ink,
.ip-btn-primary {
  border-color: var(--action);
  background: var(--action);
  color: var(--on-action);
  font-weight: 600;
}

.ip-btn-ink:hover,
.ip-btn-ink:focus-visible,
.ip-btn-primary:hover,
.ip-btn-primary:focus-visible {
  background: var(--action);
  color: var(--on-action);
  opacity: 0.9;
}

.ip-btn-line {
  background: var(--surface-raised);
}

/* "कैलेंडर खोलें" pulses from page load: 2 s a pulse, three pulses (6 s), then rests. */
@keyframes ip-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(174, 31, 46, 0.55);
  }

  60% {
    transform: scale(1.04);
    box-shadow: 0 0 0 14px rgba(174, 31, 46, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(174, 31, 46, 0);
  }
}

.ip-pulse {
  animation: ip-pulse 2s ease-out 3 forwards;
}

.ip-pulse:hover,
.ip-pulse:focus-visible {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ip-pulse {
    animation: none;
  }
}

.ip-round,
.ip-square {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--frame);
  background: var(--surface);
  color: var(--on-surface);
  cursor: pointer;
}

.ip-round {
  border-radius: 50%;
}

.ip-round:disabled,
.ip-square:disabled {
  opacity: 0.35;
  cursor: default;
}

/* --- Page head: kicker, title, share row ------------------------------------------------------ */

.ip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--frame);
}

.ip-head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ip-kicker {
  margin: 0;
  color: var(--on-surface-muted);
  font-size: 0.8125rem;
}

.ip-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.ip-share {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ip-share-label {
  margin-right: 4px;
  color: var(--on-surface-muted);
  font-size: 0.8125rem;
}

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

/* Each icon in its own flex item: links and buttons have different text baselines, so leaving them
   inline inside the <li> staggers the row. */
.ip-share-links > li {
  display: flex;
  margin: 0;
}

.ip-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
}

.ip-icon-btn:hover,
.ip-icon-btn:focus-visible {
  border-color: var(--frame);
  color: var(--on-surface);
}

.ip-share-x .ip-icon {
  width: 16px;
  height: 16px;
}

/* The native share button: where the head script found the Web Share API (before first paint). */
.ip-share-native,
.ip-share-native-text {
  display: none;
}

html[data-share="native"] .ip-share-native {
  display: inline-flex;
}

.ip-share-status {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 4px 0 0;
  color: var(--vrat);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.ip-share-status:empty {
  display: none;
}

@media (max-width: 640px) {
  .ip-head {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .ip-head h1 {
    font-size: 1.875rem;
  }

  .ip-share-label {
    display: none;
  }

  html[data-share="native"] .ip-share-links {
    display: none;
  }

  html[data-share="native"] .ip-share-native {
    flex: none;
    width: auto;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--on-surface);
    font-size: 0.875rem;
    white-space: nowrap;
  }

  html[data-share="native"] .ip-share-native-text {
    display: inline;
  }

  .ip-share-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .ip-head-side {
    align-items: flex-end;
  }
}

/* --- Landing -------------------------------------------------------------------------------- */

.ip-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: start;
  padding: 28px 0 36px;
}

.ip-hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}

.ip-hero h1 {
  font-size: clamp(2.25rem, 2.5vw + 1.25rem, 3rem);
}

.ip-hero-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.ip-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding-top: 6px;
}

/* Day carousel: yesterday / today / tomorrow, the current card centred, neighbours peeking. */
.ip-carousel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.ip-carousel-view {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}

.ip-carousel-track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip-daycard {
  position: relative;
  display: flex;
  flex: 0 0 84%;
  flex-direction: column;
  gap: 12px;
  padding: 32px 34px;
  border: 3px double var(--frame);
  background: var(--surface-raised);
  opacity: 0.4;
  transition: opacity 400ms ease;
}

.ip-daycard-current {
  opacity: 1;
}

/* The server renders today centred (ip-at-1); the script only moves it. */
.ip-carousel-track {
  transition: transform 400ms ease;
}

.ip-at-0 {
  transform: translateX(8%);
}

.ip-at-1 {
  transform: translateX(calc(8% - 1 * (84% + 16px)));
}

.ip-at-2 {
  transform: translateX(calc(8% - 2 * (84% + 16px)));
}

@media (prefers-reduced-motion: reduce) {
  .ip-carousel-track,
  .ip-daycard {
    transition: none;
  }
}

.ip-car-prev,
.ip-car-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.ip-car-prev {
  left: 2px;
}

.ip-car-next {
  right: 2px;
}

.ip-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.ip-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.ip-dots .ip-dot-on {
  background: var(--holiday);
}


.ip-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  color: var(--frame);
  pointer-events: none;
}

.ip-corner-tl {
  top: 5px;
  left: 5px;
}

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

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

.ip-corner-br {
  right: 5px;
  bottom: 5px;
  transform: scale(-1, -1);
}

.ip-daycard-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  text-align: center;
}

.ip-daycard-date {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 1.875rem;
  line-height: 1.3;
}

.ip-daynote {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  background: var(--festival-surface);
}

.ip-note-title {
  color: var(--holiday);
  font-size: 0.9375rem;
  font-weight: 600;
}

.ip-note-title a {
  color: var(--holiday);
}

.ip-note-text {
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.ip-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
}

.ip-facts dt {
  color: var(--on-surface-muted);
  font-size: 0.8125rem;
}

.ip-facts dd {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

.ip-daycard-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .ip-daycard {
    padding: 28px 20px;
  }

  .ip-facts {
    gap: 10px 14px;
  }

  .ip-facts dd {
    font-size: 0.9375rem;
  }

  .ip-car-prev,
  .ip-car-next {
    width: 36px;
    height: 36px;
  }
}

.ip-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--frame);
}

.ip-section-head h2 {
  margin: 0;
}

.ip-section-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}

.ip-section-tools a {
  margin-left: 6px;
}

.ip-pager3 {
  padding: 8px 0 36px;
}

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

.ip-ftile-in {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--frame);
  background: var(--surface-raised);
  color: var(--on-surface);
  text-decoration: none;
}

a.ip-ftile-in:hover,
a.ip-ftile-in:focus-visible {
  color: var(--on-surface);
  border-color: var(--holiday);
}

.ip-ftile.ip-major .ip-ftile-in {
  background: var(--festival-surface);
}

.ip-ftile-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 1.375rem;
  line-height: 1.25;
}

.ip-ftile.ip-major .ip-ftile-name {
  color: var(--holiday);
}

.ip-ftile-kind {
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.ip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.ip-chip-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--on-surface);
  font-size: 0.9375rem;
  text-decoration: none;
}

.ip-chip-link:hover,
.ip-chip-link:focus-visible {
  border-color: var(--holiday);
  color: var(--holiday);
}

.ip-getapp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 40px;
  padding: 22px 24px;
  border: 1px solid var(--frame);
  background: var(--surface-raised);
}

.ip-getapp h2 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}

.ip-getapp p {
  margin: 0;
  color: var(--ink-soft);
}

.ip-getapp .ip-badge {
  margin: 0;
  color: var(--on-action);
}

.ip-badge {
  display: inline-block;
  margin: 0;
  padding: 12px 18px;
  background: var(--action);
  color: var(--on-action);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

a.ip-badge-live:hover {
  color: var(--on-action);
  opacity: 0.9;
}

.ip-lede {
  color: var(--ink-soft);
}

.ip-store {
  margin: 16px 0;
}

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

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

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

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

.ip-ticks {
  padding-left: 1.25rem;
}

.ip-ticks li::marker {
  content: "✓  ";
  color: var(--vrat);
}

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

/* --- Documents and programmatic pages ----------------------------------------------------------- */

.ip-doc {
  max-width: 64rem;
}

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

.ip-doc > section > h2 {
  margin-top: 2rem;
}

.ip-doc > section > p,
.ip-doc > section > ul,
.ip-doc > section > dl,
.ip-doc > p {
  max-width: 52rem;
}

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

.ip-meta {
  color: var(--on-surface-muted);
  font-size: 0.9375rem;
}

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

.ip-note p {
  margin: 0;
}

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

.ip-summary {
  margin: 16px 0;
  padding: 16px 20px;
  border: 1px solid var(--frame);
  background: var(--surface-raised);
}

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

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

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

/* Answer cards (festival pages): the day in festival red on the wash, the parana beside it. */
.ip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.ip-answer {
  gap: 20px;
  padding: 24px 0 12px;
}

.ip-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--frame);
  background: var(--surface-raised);
}

.ip-card-answer {
  border: 3px double var(--frame);
  background: var(--festival-surface);
}

.ip-card-date {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 2rem;
  line-height: 1.25;
}

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

.ip-card-sub {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.ip-card-quiet {
  gap: 4px;
  padding: 14px 16px;
  border-color: var(--line);
}

.ip-card-strong {
  font-size: 1.125rem;
  font-weight: 600;
}

.ip-place {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 0.9375rem;
}

.ip-sep {
  color: var(--line);
}

/* Which day? The tithi timeline over the candidate days. */
.ip-which {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
}

.ip-which h2 {
  margin: 0;
}

.ip-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid var(--frame);
  background: var(--surface-raised);
}

.ip-tl-bar {
  display: flex;
  height: 34px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.ip-tl-seg {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-left: 10px;
  white-space: nowrap;
}

.ip-tl-rest {
  background: var(--rest);
  color: var(--on-surface);
}

.ip-tl-main {
  background: var(--holiday);
  color: var(--on-holiday);
}

.ip-tl-next {
  background: var(--today);
  color: var(--on-today);
}

.ip-tl-days {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  list-style: none;
}

.ip-doc .ip-tl-days li + li,
.ip-doc .ip-share-links li + li {
  margin-top: 0;
}

.ip-tl-days li {
  display: flex;
  flex-direction: column;
}

.ip-tl-days li:nth-child(2) {
  text-align: center;
}

.ip-tl-days li:last-child:not(:first-child) {
  text-align: right;
}

.ip-tl-days time {
  color: var(--on-surface-muted);
}

.ip-reason {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.ip-about {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ip-about p {
  margin: 0;
  max-width: 52rem;
}

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

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

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

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

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

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

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

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

.ip-inline a,
.ip-cities a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--on-surface);
  font-size: 0.9375rem;
  text-decoration: none;
}

.ip-inline a:hover,
.ip-cities a:hover {
  border-color: var(--holiday);
  color: var(--holiday);
}

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

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

.ip-open {
  margin: 6px 0 0;
}

.ip-open-app {
  font-weight: 600;
}

/* Month lists: prev · calendar button · next, then one tile per date. */
.ip-month-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-size: 0.9375rem;
}

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

.ip-doc .ip-tiles > li + li {
  margin-top: 0;
}

.ip-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--frame);
  background: var(--surface-raised);
}

.ip-tile.ip-major {
  background: var(--festival-surface);
}

.ip-tile-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 44px;
}

.ip-tile-date b {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 1.875rem;
  line-height: 1;
}

.ip-tile-date b.ip-red {
  color: var(--holiday);
}

.ip-tile-date span {
  color: var(--on-surface-muted);
  font-size: 0.75rem;
}

.ip-tile ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 2px 0 0;
  list-style: none;
}

.ip-doc .ip-tile ul li + li {
  margin-top: 0;
}

.ip-tile a {
  color: var(--on-surface);
  text-decoration: none;
  line-height: 1.5;
}

.ip-tile a:hover {
  color: var(--holiday);
  text-decoration: underline;
}

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

/* City day pages: rows beside today's note. */
.ip-daynav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.9375rem;
}

.ip-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  padding-top: 20px;
}

.ip-rows {
  margin: 0;
}

.ip-rows > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--outline-muted);
}

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

.ip-rows dd {
  margin: 0;
}

.ip-day-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ip-day-side .ip-daynote {
  align-self: stretch;
  padding: 16px 18px;
  border: 3px double var(--frame);
}

.ip-day-side .ip-note-title {
  font-size: 1.0625rem;
}

.ip-date-lines {
  margin: 20px 0 0;
  padding: 0;
  color: var(--on-surface-muted);
  font-size: 0.9375rem;
  list-style: none;
}

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

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

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

.ip-day-section h2 {
  margin-bottom: 8px;
}

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

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

.ip-table th {
  width: 38%;
  color: var(--on-surface-muted);
  font-weight: 400;
}

.ip-auspicious th::before,
.ip-inauspicious th::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: middle;
}

.ip-auspicious th::before {
  background: var(--vrat);
}

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

/* The month's festivals: a native popover over a dimmed page. */
.ip-sheet {
  width: min(520px, 92vw);
  max-height: min(80vh, 640px);
  margin: 12vh auto auto;
  padding: 20px 22px;
  border: 3px double var(--frame);
  background: var(--surface);
  color: var(--on-surface);
  box-shadow: 0 18px 48px rgba(35, 30, 27, 0.25);
}

.ip-sheet:popover-open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ip-sheet::backdrop {
  background: rgba(35, 30, 27, 0.45);
}

.ip-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ip-sheet-head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.ip-sheet-head .ip-round {
  border-color: var(--line);
  background: var(--surface-raised);
}

.ip-sheet-list {
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.ip-sheet-list li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rest);
  font-size: 0.9375rem;
}

.ip-doc .ip-sheet-list li + li {
  margin-top: 0;
}

.ip-sheet-list b {
  min-width: 76px;
  white-space: nowrap;
  font-weight: 600;
}

.ip-sheet-list a {
  color: var(--on-surface);
  text-decoration: none;
}

.ip-sheet-list .ip-major a {
  color: var(--holiday);
}

.ip-sheet-list a:hover {
  text-decoration: underline;
}

.ip-sheet-foot {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding-top: 6px;
  font-size: 0.9375rem;
}

/* --- Footer ---------------------------------------------------------------------------------- */

.ip-footer {
  margin-top: 24px;
  padding: 20px 16px 28px;
  border-top: 3px double var(--frame);
  color: var(--on-surface-muted);
  font-size: 0.875rem;
  text-align: center;
}

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

.ip-footer a {
  display: inline-block;
  padding: 6px 0;
}

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

.ip-publisher {
  font-size: 0.8125rem;
}

/* --- One scale for sections and cards (owner, 2026-11-21: "bad templating") ---------------------
   Sections: 36 px apart, Rozha h2 under a 1 px rule (as the board); cards: 1 px kohl frame on the
   raised ground, 18–22 px padding; frames: 3 px double line with the tradition's corners. */

.ip-doc > section,
.ip-home-sec {
  margin-top: 36px;
}

.ip-doc > section > h2 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--frame);
}

.ip-home-sec .ip-section-head {
  margin-bottom: 14px;
}

.ip-rowcard {
  margin: 0;
  padding: 6px 20px;
  border: 1px solid var(--frame);
  background: var(--surface-raised);
}

.ip-rowcard > .ip-k {
  margin: 12px 0 0;
}

.ip-rowcard dl {
  margin: 0;
}

.ip-rowcard dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--outline-muted);
}

.ip-rowcard dl > div:last-child {
  border-bottom: 0;
}

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

.ip-rowcard dd {
  margin: 0;
}

.ip-rowcard .ip-row-full {
  grid-template-columns: minmax(0, 1fr);
}

.ip-rowlist {
  list-style: none;
}

.ip-rowlist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--outline-muted);
}

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

.ip-rowlist li:last-child {
  border-bottom: 0;
}

.ip-about-card,
.ip-intro-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid var(--frame);
  background: var(--surface-raised);
}

.ip-about-card p,
.ip-intro-card p {
  margin: 0;
  max-width: 52rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.ip-faq {
  border: 1px solid var(--frame);
  background: var(--surface-raised);
}

.ip-faq-row {
  border-bottom: 1px solid var(--outline-muted);
}

.ip-faq-row:last-child {
  border-bottom: 0;
}

.ip-faq-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.ip-faq-row summary::-webkit-details-marker {
  display: none;
}

.ip-faq-row summary::after {
  content: "+";
  flex: none;
  color: var(--holiday);
  font-size: 1.25rem;
  line-height: 1;
}

.ip-faq-row[open] summary::after {
  content: "−";
}

.ip-faq-row p {
  margin: 0;
  padding: 0 20px 16px;
  color: var(--ink-soft);
}

.ip-date-chips li {
  font-size: 0.9375rem;
}

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

.ip-chip-next {
  border-color: var(--holiday);
  background: var(--festival-surface);
  color: var(--holiday);
}

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

.ip-features li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--frame);
  background: var(--surface-raised);
}

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

.ip-features h3 {
  margin: 6px 0 0;
  font-size: 1.0625rem;
}

.ip-features p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.ip-frame {
  position: relative;
  margin: 0;
  padding: 34px clamp(24px, 5vw, 48px);
  border: 3px double var(--frame);
  background: var(--surface-raised);
}

.ip-frame h2 {
  margin: 0 0 12px;
}

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

@media (max-width: 640px) {
  .ip-doc > section,
  .ip-home-sec {
    margin-top: 28px;
  }

  .ip-rowcard {
    padding: 4px 14px;
  }

  .ip-rowcard dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .ip-about-card,
  .ip-intro-card {
    flex-direction: column;
    padding: 16px;
  }

  .ip-faq-row summary {
    padding: 12px 14px;
  }

  .ip-faq-row p {
    padding: 0 14px 14px;
  }

  .ip-frame {
    padding: 34px 22px;
  }

  .ip-hero {
    padding: 20px 0 28px;
  }

  .ip-hero h1 {
    font-size: 2.125rem;
  }
}
