/* Jatasya public website (v2.19.42 theme): elegant warm brown and cream, subtle antique-gold accents, clean white
   rounded content cards, no heavy dark blocks. An optional warm dark mode follows the system or the theme button.
   Fonts: Lora (Latin, OFL) + the app's Noto Sans subsets for Indian scripts, all self-hosted. */
@font-face { font-family: "Jatasya Serif"; src: url(fonts/Lora-Variable.woff) format("woff"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20B9, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "Jatasya Serif"; src: url(fonts/Lora-Italic-Variable.woff) format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20B9; }
@font-face { font-family: "Jatasya Kannada"; src: url(fonts/NSKannada-Regular.woff) format("woff"); font-weight: 400; font-display: swap; unicode-range: U+0C80-0CFF, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Kannada"; src: url(fonts/NSKannada-Bold.woff) format("woff"); font-weight: 600 700; font-display: swap; unicode-range: U+0C80-0CFF, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Telugu"; src: url(fonts/NSTelugu-Regular.woff) format("woff"); font-weight: 400; font-display: swap; unicode-range: U+0C00-0C7F, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Telugu"; src: url(fonts/NSTelugu-Bold.woff) format("woff"); font-weight: 600 700; font-display: swap; unicode-range: U+0C00-0C7F, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Tamil"; src: url(fonts/NSTamil-Regular.woff) format("woff"); font-weight: 400; font-display: swap; unicode-range: U+0B80-0BFF, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Tamil"; src: url(fonts/NSTamil-Bold.woff) format("woff"); font-weight: 600 700; font-display: swap; unicode-range: U+0B80-0BFF, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Malayalam"; src: url(fonts/NSMalayalam-Regular.woff) format("woff"); font-weight: 400; font-display: swap; unicode-range: U+0D00-0D7F, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Malayalam"; src: url(fonts/NSMalayalam-Bold.woff) format("woff"); font-weight: 600 700; font-display: swap; unicode-range: U+0D00-0D7F, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Devanagari"; src: url(fonts/NSDevanagari-Regular.woff) format("woff"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+A8E0-A8FF, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Devanagari"; src: url(fonts/NSDevanagari-Bold.woff) format("woff"); font-weight: 600 700; font-display: swap; unicode-range: U+0900-097F, U+A8E0-A8FF, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Bengali"; src: url(fonts/NSBengali-Regular.woff) format("woff"); font-weight: 400; font-display: swap; unicode-range: U+0980-09FF, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: "Jatasya Bengali"; src: url(fonts/NSBengali-Bold.woff) format("woff"); font-weight: 600 700; font-display: swap; unicode-range: U+0980-09FF, U+0964-0965, U+200C-200D, U+25CC; }

:root {
  --navy-950: #0A1222; --navy-900: #0F1A30; --navy-800: #172644; --navy-700: #233660;
  --brown-900: #3A2416; --brown-800: #5C3415; --brown-700: #7A4A24; --brown-600: #8E5C33;
  --gold-700: #7D5E24; --gold-500: #B8913F; --gold-300: #D9BC7E; --gold-100: #F1E5C6;
  --ivory-50: #FBF6EC; --ivory-100: #F5EDDB; --ivory-200: #EADCBF;
  --saffron: #D9822B; --saffron-deep: #A14B0C;

  --font: "Jatasya Serif", "Jatasya Kannada", "Jatasya Telugu", "Jatasya Tamil", "Jatasya Malayalam", "Jatasya Devanagari", "Jatasya Bengali",
    "Noto Sans Gujarati", "Noto Sans Gurmukhi", "Noto Sans Oriya", "Noto Sans Odia", "Noto Nastaliq Urdu", "Noto Naskh Arabic", Georgia, "Times New Roman", serif;
  --wrap: 72rem; --narrow: 44rem; --gut: 16px; --radius: 12px; --radius-sm: 8px;
  --step--1: .875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.5625rem; --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem); --step-4: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem);

  color-scheme: light;
  /* light: cream page, white cards, brown text, antique-gold lines (all text pairs >= 4.5:1) */
  --bg: #F7F0E3; --bg-alt: #EFE4D0; --surface: #FFFFFF; --ink: #2E2118; --ink-2: #67513F; --line: #E6D8BF; --line-2: #D2BC93;
  --link: #7A4A24; --link-hover: #5C3415; --accent: #7D5E24; --head-ink: #4A2C17; --gold-line: #B8913F;
  --cell: #FFFFFF; --cell-ink: #7A4A24; --focus: #C2721F;
  --hdr-bg: #FFFCF6; --hdr-ink: #4A2C17; --hdr-line: #E3D2B0; --hero-bg: linear-gradient(160deg, #FBF5EA 0%, #F3E6CF 55%, #EBD9BC 100%); --crumb-bg: #F3E8D5;
  --art: #9C7737; --btn-bg: #7A4A24; --btn-ink: #FFF9EE; --btn-hover: #5C3415; --gold-btn: #E3C98F; --gold-btn-ink: #2E2118;
  --thead-bg: #F3E8D5; --thead-ink: #4A2C17; --foot-bg: #EADCC4; --foot-ink: #3A2416; --foot-link: #6B3F1D; --pop-bg: #FFFFFF;
  --shadow: 0 1px 2px rgba(74, 44, 23, .06), 0 6px 18px rgba(74, 44, 23, .07);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1D1611; --bg-alt: #241B15; --surface: #2B211A; --ink: #F3E9DA; --ink-2: #CDBBA4; --line: #45362A; --line-2: #5C4836;
    --link: #E6C98F; --link-hover: #F6E2B6; --accent: #E6C98F; --head-ink: #F8EEDC; --cell: #2B211A; --cell-ink: #E6C98F; --gold-line: #A8853F;
    --hdr-bg: #241B15; --hdr-ink: #F3E9DA; --hdr-line: #45362A; --hero-bg: linear-gradient(160deg, #2A1F17 0%, #221A14 60%, #1D1611 100%); --crumb-bg: #241B15;
    --art: #D9BC7E; --btn-bg: #E3C98F; --btn-ink: #2A1D13; --btn-hover: #F1DCAF; --gold-btn: #E3C98F; --gold-btn-ink: #2A1D13;
    --thead-bg: #33271F; --thead-ink: #F3E9DA; --foot-bg: #241B15; --foot-ink: #E9DCC8; --foot-link: #E6C98F; --pop-bg: #2B211A; --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1D1611; --bg-alt: #241B15; --surface: #2B211A; --ink: #F3E9DA; --ink-2: #CDBBA4; --line: #45362A; --line-2: #5C4836;
  --link: #E6C98F; --link-hover: #F6E2B6; --accent: #E6C98F; --head-ink: #F8EEDC; --cell: #2B211A; --cell-ink: #E6C98F; --gold-line: #A8853F;
  --hdr-bg: #241B15; --hdr-ink: #F3E9DA; --hdr-line: #45362A; --hero-bg: linear-gradient(160deg, #2A1F17 0%, #221A14 60%, #1D1611 100%); --crumb-bg: #241B15;
  --art: #D9BC7E; --btn-bg: #E3C98F; --btn-ink: #2A1D13; --btn-hover: #F1DCAF; --gold-btn: #E3C98F; --gold-btn-ink: #2A1D13;
  --thead-bg: #33271F; --thead-ink: #F3E9DA; --foot-bg: #241B15; --foot-ink: #E9DCC8; --foot-link: #E6C98F; --pop-bg: #2B211A; --shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-0); line-height: 1.65; font-feature-settings: "kern", "onum"; overflow-wrap: break-word; }
:lang(kn), :lang(te), :lang(ta), :lang(ml), :lang(hi), :lang(mr), :lang(bn), :lang(or), :lang(gu), :lang(pa) { line-height: 1.8; }
:lang(ur) { line-height: 2.1; }
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { color: var(--head-ink); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
:lang(kn) :is(h1, h2, h3), :lang(te) :is(h1, h2, h3), :lang(ta) :is(h1, h2, h3), :lang(ml) :is(h1, h2, h3), :lang(hi) :is(h1, h2, h3), :lang(mr) :is(h1, h2, h3), :lang(bn) :is(h1, h2, h3), :lang(or) :is(h1, h2, h3), :lang(gu) :is(h1, h2, h3), :lang(pa) :is(h1, h2, h3), :lang(ur) :is(h1, h2, h3) { line-height: 1.45; font-weight: 600; }
h1 { font-size: var(--step-4); letter-spacing: -.012em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1em; }
.small { font-size: var(--step--1); color: var(--ink-2); }
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 40em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: var(--narrow); }
@media (min-width: 720px) { :root { --gut: 32px; } }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 50; background: var(--gold-btn); color: var(--gold-btn-ink); padding: 8px 14px; border-radius: var(--radius-sm); }
.skip:focus { top: 8px; }
ul.plain { list-style: none; margin: 0; padding: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55em 1.2em; border-radius: 999px; border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-gold { background: var(--gold-btn); border-color: var(--gold-line); color: var(--gold-btn-ink); }
.btn-gold:hover { background: #EBD5A4; color: var(--gold-btn-ink); }
.btn-line, .btn-line2 { background: transparent; border-color: var(--line-2); color: var(--link); }
.btn-line:hover, .btn-line2:hover { background: var(--bg-alt); color: var(--link-hover); }
.btn-sm { min-height: 38px; padding: .3em .9em; font-size: var(--step--1); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 1em; }

/* header */
.top { background: var(--hdr-bg); color: var(--hdr-ink); border-bottom: 1px solid var(--hdr-line); box-shadow: 0 1px 0 rgba(184, 145, 63, .25); position: relative; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 12px 20px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--link); text-decoration: none; }
.brand:hover { color: var(--link-hover); }
.brand svg { flex: none; }
.brand .word { font-weight: 600; letter-spacing: .16em; font-size: 1.05rem; }
#nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 4px; margin: 0; padding: 0; }
#nav a { display: block; padding: 8px 10px; color: var(--hdr-ink); text-decoration: none; border-radius: var(--radius-sm); }
#nav a:hover { color: var(--link-hover); background: var(--bg-alt); }
#nav a[aria-current="page"] { color: var(--link); box-shadow: inset 0 -2px 0 var(--gold-line); border-radius: 0; }
.tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.menu-btn, .theme-btn { min-height: 40px; min-width: 40px; border: 1px solid var(--line-2); background: transparent; color: var(--hdr-ink); border-radius: 999px; font: inherit; cursor: pointer; padding: 4px 12px; }
.theme-btn { width: 40px; padding: 0; position: relative; }
.theme-btn::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--gold-line); box-shadow: inset -6px -2px 0 0 var(--hdr-bg); }
:root[data-theme="dark"] .theme-btn::before { box-shadow: none; }
.top .btn-dl { min-height: 40px; padding: .3em 1em; }
.cart-top { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; min-width: 40px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--hdr-ink); text-decoration: none; }
.cart-top:hover { background: var(--bg-alt); color: var(--link-hover); }
.cart-ico { width: 18px; height: 16px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 5px 5px; position: relative; margin-top: 4px; }
.cart-ico::before { content: ""; position: absolute; left: 2px; right: 2px; top: -7px; height: 7px; border: 2px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }
.cart-top .count, .cartlink .count { font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; min-height: 40px; display: flex; align-items: center; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--hdr-ink); }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-inline-start: 10px; margin-top: -4px; }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--pop-bg); border: 1px solid var(--line-2); border-radius: var(--radius); display: grid; grid-template-columns: repeat(2, minmax(7.5em, 1fr)); gap: 2px; z-index: 30; box-shadow: 0 12px 30px rgba(74, 44, 23, .18); }
.langs ul a { display: block; padding: 6px 10px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.langs ul a:hover, .langs ul a[aria-current] { background: var(--bg-alt); color: var(--link-hover); }
@media (max-width: 899px) {
  .js .menu-btn { display: inline-block; }
  .js #nav { display: none; order: 5; width: 100%; }
  .js #nav.open { display: block; }
  #nav { order: 5; width: 100%; }
  #nav ul { flex-direction: column; padding-bottom: 10px; }
  .tools { gap: 6px; order: 3; }
  .menu-btn { order: 4; }
  .top .btn-dl { display: none; }
}
@media (min-width: 900px) { .menu-btn { display: none !important; } #nav { margin-inline-start: 8px; } }
@media (max-width: 440px) { .brand .word { display: none; } .top-in { gap: 10px; } }

/* hero: warm cream with the astrolabe drawn in antique gold */
.hero { background: var(--hero-bg); color: var(--ink); border-bottom: 1px solid var(--line-2); overflow: hidden; }
.hero-in { display: grid; gap: 24px; padding-block: 40px 48px; align-items: center; }
.hero h1 { color: var(--head-ink); max-width: 14em; }
.hero .lead { color: var(--ink-2); }
.hero-note { font-size: var(--step--1); color: var(--accent); margin: 0; }
.hero-art { color: var(--art); justify-self: center; width: min(100%, 520px); }
.art { display: block; width: 100%; height: auto; }
.art .stars { opacity: .55; }
.art .chart-bg { fill: var(--surface); }
.art .lagna { stroke: var(--saffron); }
.art .bindu { fill: var(--saffron); }
.art .alidade { opacity: .75; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.1fr .9fr; padding-block: 72px 80px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .art .ring { transform-origin: 300px 300px; animation: turn 2.4s cubic-bezier(.2, .7, .1, 1) both; }
  .hero .art .alidade { transform-origin: 300px 300px; animation: sight 2.4s cubic-bezier(.2, .7, .1, 1) both; }
  @keyframes turn { from { transform: rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes sight { from { transform: rotate(-90deg); opacity: 0; } to { transform: none; opacity: .75; } }
}

/* bands */
.band { padding-block: 48px; }
.band-tight { padding-block: 28px 48px; }
.band-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.band-navy { background: var(--bg-alt); color: var(--ink); border-top: 1px solid var(--line); }
.band-navy h2 { color: var(--head-ink); }
.band-navy .lead { color: var(--ink-2); }
@media (min-width: 900px) { .band { padding-block: 72px; } }
.pagehead { background: var(--hero-bg); color: var(--ink); padding-block: 36px 32px; border-bottom: 1px solid var(--line-2); }
.pagehead h1 { color: var(--head-ink); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); max-width: 22em; }
.pagehead h1::after { content: ""; display: block; width: 64px; height: 2px; background: var(--gold-line); margin-top: 14px; }
.pagehead .lead { color: var(--ink-2); margin-bottom: 0; }
.crumbs { padding-block: 10px; font-size: var(--step--1); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; color: var(--ink-2); margin-inline-end: 8px; }
.crumbs { background: var(--crumb-bg); max-width: none; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.crumbs ol { max-width: calc(var(--wrap) - 2 * var(--gut)); margin-inline: auto; }
.crumbs a { color: var(--link); }
.crumbs li + li::before { color: var(--accent); }

/* home: the South-Indian chart */
.chart { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-2); background: var(--line-2); gap: 1px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.chart .cell a { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 100%; padding: 14px 14px 16px; background: var(--cell); color: var(--cell-ink); text-decoration: none; }
.chart .cell a:hover { background: var(--bg-alt); color: var(--link-hover); }
.chart .sign { font-size: var(--step--1); color: var(--ink-2); }
.chart .cell-name { font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
.chart .centre { grid-column: 1 / -1; grid-row: 1; background: var(--bg-alt); color: var(--ink); padding: 22px 20px; }
.chart .centre h2 { color: var(--head-ink); font-size: var(--step-2); }
.chart .centre a { color: var(--link); }
.chart .c-aries a { background-image: linear-gradient(to top right, transparent calc(50% - 1px), var(--saffron) calc(50% - 1px), var(--saffron) calc(50% + 1px), transparent calc(50% + 1px)); background-size: 26px 26px; background-repeat: no-repeat; background-position: top right; }
:root[dir="rtl"] .chart .c-aries a { background-position: top left; }
@media (min-width: 760px) {
  .chart { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, minmax(132px, auto));
    grid-template-areas: "pi ar ta ge" "aq ce ce cn" "cp ce ce le" "sg sc li vi"; }
  .chart .centre { grid-column: 2 / 4; grid-row: 2 / 4; display: flex; flex-direction: column; justify-content: center; padding: 28px 32px; }
  .c-pisces { grid-area: pi; } .c-aries { grid-area: ar; } .c-taurus { grid-area: ta; } .c-gemini { grid-area: ge; } .c-cancer { grid-area: cn; } .c-leo { grid-area: le; }
  .c-virgo { grid-area: vi; } .c-libra { grid-area: li; } .c-scorpio { grid-area: sc; } .c-sagittarius { grid-area: sg; } .c-capricorn { grid-area: cp; } .c-aquarius { grid-area: aq; }
}

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; padding-inline-start: 56px; position: relative; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: -2px; width: 40px; height: 40px; border: 1px solid var(--accent); border-radius: 50%; display: grid; place-items: center; color: var(--accent); font-weight: 600; }
.steps p { color: var(--ink-2); margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.note { border-inline-start: 3px solid var(--gold-line); background: var(--surface); padding: 18px 20px; margin: 0 0 1.5em; border-radius: var(--radius); box-shadow: var(--shadow); }
.note-h { font-size: var(--step-1); font-weight: 600; }
.note p:last-child { margin: 0; }
.note-line { border-inline-start: 3px solid var(--saffron); padding-inline-start: 14px; color: var(--ink-2); }
.langwall { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: clamp(1.4rem, 1rem + 1.8vw, 2.2rem); line-height: 1.6; }
.langwall a { color: var(--link); text-decoration: none; }
.langwall a:hover { color: var(--link-hover); text-decoration: underline; }

/* lists of guides */
.groups { display: grid; gap: 32px; }
@media (min-width: 760px) { .groups { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; } }
.group h3 { font-size: var(--step-1); border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.mods, .links { list-style: none; margin: 0; padding: 0; }
.mods li { padding-block: 12px; border-bottom: 1px solid var(--line); }
.mods li > a { font-weight: 600; font-size: var(--step-1); }
.mods p { margin: 4px 0 0; color: var(--ink-2); font-size: var(--step--1); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.links li { padding-block: 5px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.facts h3 { margin-bottom: .3em; }
.facts p { color: var(--ink-2); margin: 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 36px 40px; } .facts-1 { grid-template-columns: 1fr; } }
.facts-1 { margin-top: 32px; }

/* module page */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) 19rem; gap: 56px; align-items: start; } }
.prose { max-width: var(--narrow); }
.prose section { margin-bottom: 1.8em; }
.prose h2 { font-size: var(--step-2); }
.side { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold-line); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.side-h { font-size: var(--step-1); font-weight: 600; }
.side h3 { font-size: var(--step-0); margin-top: 1em; }
.price { font-size: var(--step-1); color: var(--head-ink); }
@media (min-width: 900px) { .side { position: sticky; top: 20px; } }
.terms dl, .gloss { margin: 0; }
.terms dl > div, .gloss > div { padding-block: 10px; border-bottom: 1px solid var(--line); }
dt { font-weight: 600; color: var(--head-ink); }
dd { margin: 2px 0 0; color: var(--ink-2); }
.gloss .orig { font-weight: 400; color: var(--ink-2); font-size: var(--step--1); }

/* learn */
.biglinks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.biglinks li { border-bottom: 1px solid var(--line-2); }
.biglinks a { display: block; padding: 18px 4px; text-decoration: none; }
.biglinks .li-h { display: block; font-size: var(--step-2); color: var(--head-ink); }
.biglinks .li-d { display: block; color: var(--ink-2); }
.biglinks a:hover .li-h { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: 1px; }
.houses { margin: 0; padding: 0; list-style: none; counter-reset: h; }
.houses li { counter-increment: h; position: relative; padding: 18px 0 14px 64px; border-bottom: 1px solid var(--line); }
.houses li::before { content: counter(h); position: absolute; inset-inline-start: 0; top: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-weight: 600; transform: rotate(45deg); }
.houses li::before { transform: none; }
:root[dir="rtl"] .houses li { padding: 18px 64px 14px 0; }
.houses h2 { font-size: var(--step-1); font-weight: 600; margin-bottom: .3em; }
.houses p { margin: 0 0 .4em; color: var(--ink-2); }
.lbl { color: var(--head-ink); font-weight: 600; }
.planets { display: grid; gap: 8px; }
.planet { padding-block: 16px; border-bottom: 1px solid var(--line); }
.planet h2 { font-size: var(--step-2); }
.planet dl { margin: 0; display: grid; gap: 8px; }
.dasha { list-style: none; margin: 16px 0 24px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dasha li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.dasha li:last-child { border-bottom: 0; }
.dasha .yrs { color: var(--ink-2); font-variant-numeric: tabular-nums lining-nums; }

/* plans, reports */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp th, .cmp td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { background: var(--thead-bg); color: var(--thead-ink); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody th { font-weight: 400; color: var(--ink); }
.cmp td { font-variant-numeric: lining-nums; }
.cmp .pp { display: block; }
.tw { overflow-x: auto; }
.freebox h2 { font-size: var(--step-3); }
.freebox h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--saffron); margin-top: 10px; }
.flag { display: inline-block; border: 2px dashed var(--saffron-deep); color: var(--saffron-deep); padding: 6px 14px; font-weight: 700; }
:root[data-theme="dark"] .flag { color: var(--saffron); border-color: var(--saffron); }
.callout { background: var(--surface); border: 1px solid var(--line-2); padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.jump ul { list-style: none; margin: 8px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: var(--step--1); background: var(--surface); }
.repcat { margin-top: 32px; scroll-margin-top: 12px; }
.repcat h2 { font-size: var(--step-2); border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.reps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 760px) { .reps { grid-template-columns: repeat(2, 1fr); } }
.reps li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.rep-name { font-weight: 600; color: var(--head-ink); }
.rep-price { color: var(--ink-2); }
.rep-offer { flex-basis: 100%; color: var(--saffron-deep); font-size: var(--step--1); }

/* help, legal, contact */
.qa { padding-block: 14px; border-bottom: 1px solid var(--line); }
.qa h2 { font-size: var(--step-1); font-weight: 600; }
.qa p { margin: 0; color: var(--ink-2); }
.pending { border: 1px dashed var(--line-2); padding: 22px; border-radius: var(--radius); background: var(--surface); }
.pending h2 { margin-top: 0; }
.pending h2 { font-size: var(--step-2); }
.form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form input, .form select, .form textarea, .filters input, .filters select, .shop-search input { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; min-height: 44px; }
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: var(--saffron-deep); border-width: 2px; }
.form .btn { margin-top: 20px; }
.form .hint { font-size: var(--step--1); color: var(--ink-2); margin: 6px 0 0; }
.ferr { color: var(--saffron-deep); font-size: var(--step--1); margin: 6px 0 0; }
:root[data-theme="dark"] .ferr { color: var(--saffron); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.errbox { border-inline-start: 3px solid var(--saffron-deep); background: var(--surface); padding: 12px 16px; margin-bottom: 12px; border-radius: var(--radius-sm); }
.errbox p:last-child, .ok p:last-child { margin: 0; }
.ok { border-inline-start: 3px solid var(--gold-line); background: var(--surface); padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 12px; }
.formcol { max-width: 36rem; }
address { font-style: normal; }
.nf { text-align: start; padding-block: 64px; }
.nf svg { color: var(--art); margin-bottom: 16px; }

/* footer: soft latte */
.foot { background: var(--foot-bg); color: var(--foot-ink); margin-top: 0; border-top: 1px solid var(--line-2); }
.foot a { color: var(--foot-link); }
.foot-in { display: grid; gap: 28px; padding-block: 44px 24px; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1.1fr 1.6fr 1fr 1fr; gap: 40px; } }
.foot-brand svg { color: var(--art); }
.foot-name { font-size: var(--step-2); color: var(--head-ink); margin: 8px 0 0; }
.foot-h { font-size: var(--step-0); font-weight: 600; color: var(--head-ink); margin-bottom: .6em; }
.foot p { margin: 0 0 .4em; font-size: var(--step--1); }
.foot li { padding-block: 3px; font-size: var(--step--1); }
.foot .small { color: var(--foot-ink); }
.foot-note { border-top: 1px solid var(--line-2); padding-block: 16px 28px; }
.foot-note .small { color: var(--foot-ink); margin: 0; }

/* ---------- shop (v2.19.42) ---------- */
.shopbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.shopbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 10px; }
.shopbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 4px; margin: 0; padding: 0; }
.shopbar ul a { display: block; padding: 6px 10px; border-radius: 999px; text-decoration: none; font-size: var(--step--1); }
.shopbar ul a[aria-current="page"], .shopbar ul a:hover { background: var(--bg-alt); }
.shop-search { display: flex; gap: 6px; flex: 1 1 14rem; min-width: 0; }
.shop-search input { min-height: 38px; padding: 6px 12px; border-radius: 999px; }
.cartlink { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: var(--step--1); }
.cartlink .count { background: var(--btn-bg); color: var(--btn-ink); border-radius: 999px; min-width: 1.6em; text-align: center; padding: 0 .4em; }
.section-h { margin-top: 48px; font-size: var(--step-2); }
.shop-split { display: grid; gap: 24px; }
@media (min-width: 900px) { .shop-split { grid-template-columns: 16rem minmax(0, 1fr); gap: 32px; align-items: start; } }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.filters label { display: block; font-weight: 600; font-size: var(--step--1); margin: 0 0 4px; }
.fgrid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.fgrid > div:first-child, .fgrid > div:nth-child(2) { grid-column: 1 / -1; }
@media (min-width: 900px) { .fgrid { grid-template-columns: 1fr; } }
.fcheck { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; }
.fcheck input { width: 20px; height: 20px; min-height: 0; accent-color: var(--btn-bg); }
.fcheck label { margin: 0; font-weight: 400; font-size: var(--step-0); }
.factions { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.pcard a { display: flex; flex-direction: column; gap: 4px; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.pcard a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74, 44, 23, .12); }
.pimg { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); margin-bottom: 6px; }
.pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { display: grid; place-items: center; color: var(--art); background: linear-gradient(150deg, var(--bg-alt), var(--bg)); border-radius: var(--radius-sm); }
.ph.pimg, .ph.gmain { aspect-ratio: 1 / 1; }
.ph.thumb { width: 56px; height: 56px; }
.ph.thumb svg { width: 32px; height: 32px; }
.pname { font-weight: 600; color: var(--head-ink); line-height: 1.3; }
.pprice { font-size: var(--step-0); }
.price-now { font-weight: 600; color: var(--head-ink); font-variant-numeric: lining-nums; }
.price-mrp { color: var(--ink-2); font-size: var(--step--1); }
.price-na { color: var(--ink-2); font-size: var(--step--1); }
.pstock, .vstock { font-size: var(--step--1); color: var(--ink-2); }
.pstock.is-in, .vstock.is-in { color: #2F6B3A; }
:root[data-theme="dark"] .pstock.is-in, :root[data-theme="dark"] .vstock.is-in { color: #9BD3A6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pstock.is-in, :root:not([data-theme="light"]) .vstock.is-in { color: #9BD3A6; } }
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { display: inline-block; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: var(--step--1); background: var(--surface); }
.chips a:hover { background: var(--bg-alt); }
.chips-lg { margin-bottom: 20px; }
.cattiles { display: grid; gap: 16px; }
@media (min-width: 760px) { .cattiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cattile { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold-line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.cattile h2 { font-size: var(--step-1); font-weight: 600; margin: 0 0 6px; }
.cattile h2 a { text-decoration: none; }
.banners { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.banner { display: grid; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.banner img { width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--radius-sm); }
.banner h2 { font-size: var(--step-2); margin-bottom: .2em; }
@media (min-width: 760px) { .banner { grid-template-columns: 1fr 1.2fr; } }
.belief { margin-top: 32px; }
/* product page */
.pdetail { display: grid; gap: 24px; }
@media (min-width: 900px) { .pdetail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.gallery .gmain { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery .gmain img { width: 100%; display: block; }
.ph.gmain svg { width: 30%; height: auto; }
.gthumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gthumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.pinfo h1 { font-size: var(--step-3); }
.bigprice { font-size: var(--step-2); margin: 0 0 .2em; }
.variants { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 12px 0 0; background: var(--surface); }
.variants legend { font-weight: 600; padding: 0 6px; }
.vopt { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.vopt:last-child { border-bottom: 0; }
.vopt input { width: 20px; height: 20px; min-height: 0; margin-top: 4px; accent-color: var(--btn-bg); }
.vopt label { margin: 0; font-weight: 400; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.buy input[type="number"] { max-width: 7rem; }
.buy .btn { width: 100%; }
@media (min-width: 520px) { .buy .btn { width: auto; } }
.wishform { margin: 12px 0; }
.pfacts { margin: 20px 0 0; border-top: 1px solid var(--line); }
.pfacts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pfacts dd { margin: 0; }
.pmore { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 900px) { .pmore { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; } }
.assoc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.assoc h2 { font-size: var(--step-1); font-weight: 600; }
.pvideos video { width: 100%; border-radius: var(--radius); background: #000; margin-bottom: 12px; }
.reviews h2 { font-size: var(--step-2); }
.review { border-bottom: 1px solid var(--line); padding: 12px 0; }
.review p { margin: 0 0 .3em; }
.stars { color: var(--gold-line); letter-spacing: 2px; }
/* cart, checkout, orders */
.carttbl td { vertical-align: middle; }
.cimg img, .cimg .ph { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.qtyform { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.qtyform input { width: 4.2rem; min-height: 38px; font: inherit; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 4px 8px; background: var(--surface); color: var(--ink); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; font: inherit; font-size: var(--step--1); cursor: pointer; }
.num { text-align: end; font-variant-numeric: tabular-nums lining-nums; }
.coupon { max-width: 26rem; }
.coupon .inline { display: flex; gap: 8px; align-items: center; }
.coupon .inline .btn { margin-top: 0; }
.totals { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.totals caption { text-align: start; font-weight: 600; color: var(--head-ink); padding-bottom: 6px; }
.totals th, .totals td { padding: 6px 0; border-bottom: 1px solid var(--line); text-align: start; font-weight: 400; }
.totals td { text-align: end; font-variant-numeric: tabular-nums lining-nums; }
.totals .sub th, .totals .sub td { font-size: var(--step--1); color: var(--ink-2); }
.totals .grand th, .totals .grand td { font-weight: 700; font-size: var(--step-1); color: var(--head-ink); border-bottom: 0; border-top: 2px solid var(--gold-line); }
.side .btn-block { margin-top: 12px; }
.olines { list-style: none; margin: 0 0 12px; padding: 0; }
.olines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.addr { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 16px; background: var(--surface); margin: 0 0 16px; }
.addr legend { font-weight: 600; padding: 0 6px; }
.sellerbox { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.sellerbox address p { margin: 0 0 .3em; }
.pay-off { border-inline-start-color: var(--saffron); }
.timeline { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.timeline li { display: flex; flex-direction: column; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); min-width: 7.5rem; }
.timeline li.done { border-color: var(--gold-line); color: var(--head-ink); }
.timeline li.done span:first-child::before { content: "✓ "; color: var(--accent); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: var(--step--1); background: var(--bg-alt); border: 1px solid var(--line-2); color: var(--head-ink); }
.st-paid, .st-delivered, .st-shipped { border-color: var(--gold-line); }
.st-cancelled, .st-failed, .st-refunded { color: var(--saffron-deep); }
.twocol { display: grid; gap: 24px; }
.twocol .form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px 20px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .twocol { grid-template-columns: 1fr 1fr; gap: 32px; } }
.formcol .form, .split > .form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px 20px; box-shadow: var(--shadow); }
.flag { border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .foot, .side .btn, .hero-art, .shopbar { display: none; } body { background: #fff; color: #000; } }
:root[dir="rtl"] span[lang="en"] { direction: ltr; unicode-bidi: isolate; }
/* v2.19.42: compact desktop header so the extra Shop link and cart fit on one line in English; longer languages wrap */
@media (min-width: 900px) {
  .top-in { gap: 8px 12px; }
  #nav { margin-inline-start: 4px; }
  #nav ul { gap: 0; }
  #nav a { padding: 8px 7px; }
  .tools { gap: 6px; }
}
.filters-d > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-weight: 600; color: var(--head-ink); margin-bottom: 10px; }
.filters-d > summary::-webkit-details-marker { display: none; }
.filters-d > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-top: -4px; }
.filters-d[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
@media (min-width: 900px) { .filters-d > summary { display: none; } }
.split > * { min-width: 0; }
@media (max-width: 559px) { .carttbl .cimg, .carttbl thead th:first-child { display: none; } .carttbl th, .carttbl td { padding: 10px 8px; } }
.cattiles { align-items: start; }

/* ===== Royal Brown – the Jatasya app's default theme (v2.19.42): chocolate, coffee, bronze, antique gold, cream text ===== */
:root[data-theme="dark"] {
  --bg: #22140C; --bg-alt: #2C1A10; --surface: #36231A; --ink: #F7EBD2; --ink-2: #CDB58C; --line: #5C4129; --line-2: #7A5630;
  --link: #E8C97E; --link-hover: #F7E3AE; --accent: #E0B85E; --head-ink: #F2D99A; --cell: #3A261A; --cell-ink: #E8C97E; --gold-line: #B8893A;
  --hdr-bg: linear-gradient(90deg, #4A2E1B, #2E1B11); --hdr-ink: #F7EBD2; --hdr-line: #7A5630;
  --hero-bg: radial-gradient(120% 90% at 70% 10%, #5A3218 0%, #3A2214 38%, #22140C 75%); --crumb-bg: #2C1A10;
  --art: #E0B85E; --btn-bg: #D4A94E; --btn-ink: #2A1709; --btn-hover: #E8C97E; --gold-btn: #E2BC63; --gold-btn-ink: #2A1709;
  --thead-bg: #45301F; --thead-ink: #F2D99A; --foot-bg: #1B0F08; --foot-ink: #E9D3A3; --foot-link: #E8C97E; --pop-bg: #36231A;
  --shadow: 0 1px 2px rgba(0,0,0,.45), 0 8px 22px rgba(0,0,0,.32);
}
:root[data-theme="dark"] body { background: radial-gradient(120% 70% at 50% 0%, #3A2214 0%, #22140C 60%) fixed, #22140C; }
:root[data-theme="dark"] .top { background: linear-gradient(90deg, #4A2E1B, #2E1B11); border-bottom: 1px solid #7A5630; box-shadow: 0 2px 14px rgba(0,0,0,.35); }
:root[data-theme="dark"] .top .word { color: #F2D99A; letter-spacing: .12em; }
:root[data-theme="dark"] h1, :root[data-theme="dark"] h2, :root[data-theme="dark"] h3 { color: #F2D99A; }
:root[data-theme="dark"] .btn { background: linear-gradient(135deg, #E2BC63, #B07A2C); border-color: transparent; color: #2A1709; box-shadow: 0 6px 16px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35); font-weight: 700; }
:root[data-theme="dark"] .btn:hover { background: linear-gradient(135deg, #F0CD7A, #C28A37); color: #2A1709; }
:root[data-theme="dark"] .btn-line, :root[data-theme="dark"] .btn-line2 { background: #46301F; color: #F2DDA8; border: 1px solid #6A4A2C; box-shadow: none; }
:root[data-theme="dark"] .btn-line:hover, :root[data-theme="dark"] .btn-line2:hover { background: #553A25; color: #F7E3AE; }
:root[data-theme="dark"] .card, :root[data-theme="dark"] .tile, :root[data-theme="dark"] .pcard, :root[data-theme="dark"] .box, :root[data-theme="dark"] .panel,
:root[data-theme="dark"] .houses li, :root[data-theme="dark"] .faq details, :root[data-theme="dark"] .plan {
  background: linear-gradient(160deg, #3C281B, #2F1E14); border: 1px solid #5C4129; border-radius: 16px; color: #F7EBD2; }
:root[data-theme="dark"] input, :root[data-theme="dark"] select, :root[data-theme="dark"] textarea { background: #2B190F; color: #F7EBD2; border: 1px solid #6A4A2C; }
:root[data-theme="dark"] input::placeholder, :root[data-theme="dark"] textarea::placeholder { color: #A18B66; }
:root[data-theme="dark"] .hero { border-bottom: 1px solid #7A5630; }
:root[data-theme="dark"] .hero-art .hero-logo { box-shadow: 0 0 0 6px rgba(224,184,94,.18), 0 0 46px rgba(224,184,94,.35); }
:root[data-theme="dark"] .foot, :root[data-theme="dark"] footer { border-top: 1px solid #7A5630; }
/* the app emblem in the hero (both themes) */
.hero-art { position: relative; }
.hero-art .hero-logo { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: #FBF1DC; border: 3px solid #C9A24B; object-fit: contain; }
.hero-tag { margin: .2rem 0 0; font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.top .brand .brand-logo { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #C9A24B; background: #FBF1DC; object-fit: contain; }
/* shop category pictures (v2.19.42) */
.cattiles { display: grid; gap: 22px; margin: 10px 0 26px; }
.cattile { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.cathead { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.cathead h2 { margin: 0; }
.catimg { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line-2); object-fit: cover; transition: transform .25s ease, box-shadow .25s ease; }
.catimg.big { width: 96px; flex: 0 0 96px; }
.catsolo .catimg.big { width: min(320px, 70vw); margin: 4px auto 18px; }
.catgrid { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.catgrid a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; text-align: center; }
.catgrid a:hover .catimg, .cathead:hover .catimg { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.artnote { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .catimg { transition: none; } }
.music-btn { min-width: 40px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--accent); font-size: 18px; cursor: pointer; }
.music-btn.on { background: linear-gradient(135deg, #E2BC63, #B07A2C); color: #2A1709; border-color: transparent; box-shadow: 0 0 0 4px rgba(224,184,94,.2); }
.music-btn.on span[aria-hidden] { display: inline-block; animation: jt-pulse 1.6s ease-in-out infinite; }
@keyframes jt-pulse { 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .music-btn.on span[aria-hidden] { animation: none; } }
