/* BestDurian. Shape rule: buttons and chips are pill, cards and tables 12px, inputs 8px. One accent: durian yellow, on forest green. */
:root {
  --bg: #f3f6f1; --surface: #fcfdfa; --ink: #15241b; --muted: #4c5c52; --line: #d6ded3;
  --forest: #123524; --forest-2: #1b4a33; --link: #17603c; --accent: #e7b416; --accent-ink: #1a2a1f; --on-forest: #eef3ea;
  --radius: 12px; --shadow: 0 10px 28px -18px rgba(18, 53, 36, .5);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif; --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1712; --surface: #16231b; --ink: #e8efe6; --muted: #a6b5aa; --line: #2b3c31; --forest: #123524; --forest-2: #1f5239; --link: #8fd3a9; --accent: #efc33a; --accent-ink: #15241b; --shadow: 0 10px 28px -18px rgba(0, 0, 0, .8); }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.015em; font-weight: 700; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.small { font-size: .88rem; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.answer { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* header */
.top { background: var(--forest); color: var(--on-forest); position: sticky; top: 0; z-index: 20; }
.topin { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 700 1.2rem var(--display); }
.logo:hover { color: var(--accent); }
.links { display: flex; gap: 20px; }
.links a { color: var(--on-forest); text-decoration: none; font-weight: 600; font-size: .96rem; white-space: nowrap; }
.links a:hover, .links a[aria-current] { color: var(--accent); }
.navbtn { display: none; cursor: pointer; font-weight: 600; padding: 6px 14px; border: 1px solid rgba(238, 243, 234, .4); border-radius: 999px; }
@media (max-width: 880px) {
  .navbtn { display: block; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--forest); padding: 12px 20px 18px; flex-direction: column; gap: 12px; }
  #nav-t:checked ~ .links { display: flex; }
}
.topr { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; font-size: .92rem; }
.lang summary { cursor: pointer; list-style: none; padding: 4px 12px; border: 1px solid rgba(238, 243, 234, .4); border-radius: 999px; white-space: nowrap; font-weight: 600; }
.lang summary::-webkit-details-marker { display: none; }
.lang > div { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; display: grid; min-width: 120px; box-shadow: var(--shadow); z-index: 25; }
.lang a { padding: 5px 10px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.lang a:hover, .lang a[aria-current] { background: color-mix(in srgb, var(--accent) 28%, transparent); }
html[lang=ta] body { font-family: 'Figtree', 'Noto Sans Tamil', system-ui, sans-serif; line-height: 1.75; }
html[lang=ta] h1, html[lang=ta] h2, html[lang=ta] h3 { font-family: 'Noto Sans Tamil', var(--body); line-height: 1.3; letter-spacing: 0; }
html[lang=zh-Hans] body { font-family: 'Figtree', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; }
html[lang=zh-Hans] h1, html[lang=zh-Hans] h2, html[lang=zh-Hans] h3 { font-family: 'Noto Sans SC', 'PingFang SC', var(--body); letter-spacing: 0; }
/* Tamil labels are long, so the menu collapses earlier to keep the nav on one line. */
@media (max-width: 1500px) {
  html[lang=ta] .navbtn { display: block; }
  html[lang=ta] .links { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--forest); padding: 12px 20px 18px; flex-direction: column; gap: 12px; }
  html[lang=ta] #nav-t:checked ~ .links { display: flex; }
}
.crumbs { font-size: .86rem; color: var(--muted); padding-top: 14px; }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600; border: 1px solid transparent; border-radius: 999px; padding: 11px 22px; text-decoration: none; cursor: pointer; font-size: 1rem; font-family: inherit; white-space: nowrap; transition: transform .16s cubic-bezier(.16, 1, .3, 1), background .16s; }
.btn:hover { background: #f3cb49; color: var(--accent-ink); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.more { font-weight: 600; }
.chip { display: inline-block; font-size: .8rem; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--forest-2) 12%, transparent); color: var(--ink); text-decoration: none; }
.chip.v { background: color-mix(in srgb, var(--accent) 28%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* photos */
.ph { margin: 0; }
.ph img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.ph figcaption { font-size: .72rem; margin-top: 5px; color: var(--muted); }
.ph figcaption a { color: inherit; }

/* hero */
.hero { background: var(--forest); color: var(--on-forest); padding-block: 28px 44px; }
.heroin { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { color: #cfdccf; }
.hero .btn.ghost { color: var(--on-forest); border-color: rgba(238, 243, 234, .45); }
.hero .btn.ghost:hover { border-color: #fff; color: #fff; }
.herop img { aspect-ratio: 4 / 3; }
.herop figcaption, .herop figcaption a { color: #b9c9bb; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .btn, .vcard, .stategrid a { transition: none; } }
@media (max-width: 860px) { .heroin { grid-template-columns: 1fr; gap: 22px; } }

/* season now */
.now { padding-block: 26px 6px; }
.now h2 { margin: 0 0 .3em; }
.now p { font-size: 1.1rem; margin-bottom: .4em; }

/* state grid */
.states h3 { margin-top: 1.4em; color: var(--muted); font-size: 1rem; font-family: var(--body); font-weight: 600; }
.stategrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.stategrid a { display: flex; flex-direction: column; height: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .16s, transform .16s cubic-bezier(.16, 1, .3, 1); }
.stategrid a:hover { border-color: var(--forest-2); transform: translateY(-2px); }
.stategrid strong { font-family: var(--display); font-size: 1.06rem; }
.stategrid span { font-size: .84rem; color: var(--muted); }
.stategrid.wide { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* farm band */
.farmband { margin-top: 48px; padding-block: 44px; background: color-mix(in srgb, var(--forest-2) 11%, var(--bg)); }
.farmin { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.farmin h2 { margin-top: 0; }
.fp img { aspect-ratio: 5 / 4; }
.farmlinks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.farmlinks a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border-radius: var(--radius); text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.farmlinks a:hover { border-color: var(--forest-2); }
.farmlinks span { color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) { .farmin { grid-template-columns: 1fr; gap: 22px; } }
.farmhub { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; padding-top: 18px; }
.farmhub .ph img { max-height: 380px; }
@media (max-width: 860px) { .farmhub { grid-template-columns: 1fr; } }

/* varieties */
.vars { padding-top: 12px; }
.sub { color: var(--muted); }
.vargrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.vcard { display: flex; flex-direction: column; gap: 1px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .16s cubic-bezier(.16, 1, .3, 1), box-shadow .16s; }
.vcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.vcard strong { font-family: var(--display); font-size: 1.05rem; line-height: 1.2; margin-top: 8px; }
.vcard .code { font-size: .82rem; color: var(--muted); margin-bottom: 6px; font-style: normal; }
.vcard .tn, .t { font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.t { font-size: .95rem; color: var(--ink); }
.pod { display: block; width: 46px; height: 30px; border-radius: 60% 60% 55% 55% / 70% 70% 45% 45%; background: #e6c64f; box-shadow: inset -4px -5px 8px rgba(120, 80, 0, .22), inset 3px 3px 6px rgba(255, 255, 255, .4); }
.pod.sm { display: inline-block; width: 22px; height: 14px; vertical-align: -2px; margin-right: 7px; }
.podbig { width: 100%; height: 62px; border-radius: var(--radius); margin-bottom: 8px; box-shadow: inset -8px -8px 18px rgba(120, 80, 0, .2), inset 6px 6px 14px rgba(255, 255, 255, .35); }
.fl-pale { background: #f4ecc4; } .fl-white { background: #f6f1dd; } .fl-yellow { background: #efd35a; } .fl-deep-yellow { background: #e9b420; } .fl-orange { background: #e8892a; } .fl-red { background: #c9472f; } .fl-pink { background: #e78f7c; }

/* split, stories, news */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; gap: 8px; } }
.st { margin-bottom: 14px; }
.newslist { list-style: none; padding: 0; margin: 0 0 12px; }
.newslist li { padding: 8px 0; }
.newslist li + li { border-top: 1px solid var(--line); }
.newslist a { display: block; font-weight: 600; line-height: 1.35; }
.newslist span { font-size: .82rem; color: var(--muted); }
.storygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 32px; }
.storygrid h2 { font-size: 1.2rem; margin-top: 1.2em; margin-bottom: .3em; }
.storygrid p { color: var(--muted); }

/* rows */
.rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 12px; }
.row { display: flex; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.row h3 { margin-bottom: 2px; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--link); text-decoration: underline; }
.row p { margin-bottom: .5em; font-size: .96rem; }
.rank { font: 700 1.3rem var(--display); color: var(--muted); min-width: 1.4em; }
.where { color: var(--muted); font-size: .9rem; }
.rate { white-space: nowrap; }

/* profiles */
.prose-head { padding-top: 18px; }
.profile { padding-top: 18px; }
.pgrid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.pgrid h2 { font-size: 1.2rem; margin-top: 1.3em; }
@media (max-width: 860px) { .pgrid { grid-template-columns: 1fr; } }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; margin-top: 18px; }
.facts dt { font-size: .78rem; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts .btn { text-align: center; }
.ev { padding-left: 18px; font-size: .92rem; }
.prose { max-width: 760px; padding-top: 18px; }
.prose h2 { font-size: 1.35rem; }

/* faq */
.faq details { padding: 11px 0; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--muted); }

/* tables */
.tablewrap { position: relative; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; }
thead th { font-size: .82rem; color: var(--muted); }
tbody tr + tr { border-top: 1px solid var(--line); }
.reg tbody th { white-space: nowrap; }
.cmp tbody th { color: var(--muted); font-weight: 600; }
.cal { min-width: 720px; }
.cal td, .cal thead th { text-align: center; padding: 6px 2px; }
.cal td.main { background: var(--accent); }
.cal td.minor { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.cal tbody th { white-space: nowrap; padding-right: 14px; }
.cal .is-now { outline: 2px solid var(--forest-2); outline-offset: -2px; }
.legend { margin-top: 10px; font-size: .9rem; }
.key { display: inline-block; width: 18px; height: 12px; border-radius: 3px; margin: 0 4px 0 10px; }
.key.main { background: var(--accent); } .key.minor { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; max-width: 460px; margin: 10px 0; }
.strip span { text-align: center; font-size: .78rem; padding: 4px 0; border-radius: 5px; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--muted); }
.strip .main { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.strip .minor { background: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--ink); }
.strip .is-now { outline: 2px solid var(--forest-2); }

/* species */
.spgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.sp { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sp h2 { font-size: 1.1rem; margin: 0 0 .2em; }
.sp p { font-size: .94rem; margin-bottom: .5em; }

/* forms */
label { display: block; font-weight: 600; font-size: .92rem; margin: 10px 0 4px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; font: inherit; padding: 9px 11px; color: var(--ink); background: var(--surface); border: 1px solid #8b9b90; border-radius: 8px; }
input::placeholder { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px !important; }
.fields2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 16px; }
.consent { display: flex; gap: 8px; font-weight: 400; font-size: .86rem; align-items: flex-start; margin: 12px 0; }
.status { min-height: 1.2em; margin-top: 8px; font-size: .92rem; }
.status.ok { color: var(--link); font-weight: 600; } .status.err { color: #b3361f; font-weight: 600; }
@media (prefers-color-scheme: dark) { .status.err { color: #f09a84; } input:not([type=checkbox]):not([type=radio]), select, textarea { border-color: #5b6e62; } }
.filter { margin: 12px 0; max-width: 460px; }
.chipsel { display: flex; flex-wrap: wrap; gap: 6px; max-width: none; }
.chipsel button { font: inherit; font-size: .88rem; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-transform: capitalize; }
.chipsel button.on { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }

/* identify */
.idtool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 32px; align-items: start; }
.tabs { grid-column: 1 / -1; display: flex; gap: 6px; }
.tabs button { font: inherit; font-weight: 600; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.tabs button[aria-selected=true] { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { margin: 0; font-weight: 400; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .92rem; }
.opt input:checked + span { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
#idresults .row { margin-bottom: 10px; display: block; animation: rise .32s cubic-bezier(.16, 1, .3, 1) both; }
@media (prefers-reduced-motion: reduce) { #idresults .row { animation: none; } }
#idresults ul { margin: .3em 0 0; padding-left: 18px; font-size: .92rem; }
@media (max-width: 760px) { .idtool { grid-template-columns: 1fr; } }

/* newsletter, footer */
.nl { margin-top: 56px; background: var(--forest); color: var(--on-forest); padding-block: 36px; }
.nl a { color: var(--accent); }
.nl h2 { color: #fff; margin-top: 0; }
.nlin { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.nl .fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.nl input:not([type=checkbox]), .nl select { background: #fcfdfa; color: #15241b; border-color: transparent; }
.nl .status.ok { color: var(--accent); }
.nl .status.err { color: #ffc3b5; }
@media (max-width: 860px) { .nlin { grid-template-columns: 1fr; } .nl .fields { grid-template-columns: 1fr; } .nl .btn { justify-self: start; } }
.foot { padding-block: 36px 24px; font-size: .92rem; }
.footgrid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 24px; }
.foot h2 { font: 600 .92rem var(--body); margin: 0 0 8px; letter-spacing: 0; }
.foot a { display: block; padding: 2px 0; color: var(--muted); }
.foot a:hover { color: var(--ink); }
.fine { margin-top: 22px; font-size: .82rem; color: var(--muted); }
.fine a { display: inline; }
@media (max-width: 860px) { .footgrid { grid-template-columns: 1fr 1fr; } .footgrid > :first-child { grid-column: 1 / -1; } }
.links2 { columns: 2; padding-left: 18px; }

.tall img { max-height: 340px; width: auto; }
.gph img { max-height: 360px; margin-bottom: 4px; }
html[lang=ta] h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

/* map: OpenStreetMap tiles softened to sit with the page palette */
#map .leaflet-tile-pane { filter: saturate(.62) brightness(1.04) contrast(.94); }
@media (prefers-color-scheme: dark) { #map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) saturate(.55) contrast(.9); } }
#map { height: 72vh; min-height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); z-index: 0; background: color-mix(in srgb, var(--forest-2) 10%, var(--bg)); }
.mapfilter button { display: inline-flex; align-items: center; gap: 6px; text-transform: none; padding: 5px 14px 5px 10px; }
.mapfilter button span { opacity: .7; font-size: .82rem; }
.mapkey { display: inline-block; width: 16px; height: 20px; }
.mapkey svg { width: 16px; height: 20px; display: block; }
.dpin { background: none; border: 0; filter: drop-shadow(0 3px 3px rgba(18, 53, 36, .4)); transition: transform .16s cubic-bezier(.16, 1, .3, 1); transform-origin: 50% 96%; }
.dpin svg { display: block; transition: transform .16s cubic-bezier(.16, 1, .3, 1); transform-origin: 50% 96%; }
.dpin:hover svg { transform: scale(1.18); }
.leaflet-marker-icon.dcluster { background: none; border: 0; display: grid; place-items: center; filter: drop-shadow(0 3px 4px rgba(18, 53, 36, .4)); }
.dcluster text { font-family: var(--display); }
#map .leaflet-popup-content-wrapper { border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
#map .leaflet-popup-tip { background: var(--surface); }
#map .leaflet-popup-content { margin: 14px 16px; font: 400 .92rem/1.4 var(--body); }
.dpop { display: grid; gap: 4px; justify-items: start; }
.dpop-t { font-size: .74rem; font-weight: 600; padding: 1px 9px; border-radius: 999px; color: #fff; background: #123524; }
.dpop-t.farm { background: #2f7d4f; } .dpop-t.stay { background: #a85c1c; }
.leaflet-container .dpop-n { font: 700 1.08rem/1.2 var(--display); color: var(--ink); text-decoration: none; }
.dpop-w { color: var(--muted); font-size: .85rem; }
.dpop-v { display: flex; flex-wrap: wrap; gap: 4px; }
.dpop-v i { font-style: normal; font-size: .76rem; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 28%, transparent); }
.leaflet-container a.dpop-go { font-weight: 600; color: var(--link); margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .dpin, .dpin svg { transition: none; } }

/* birthdate */
.bdayhead { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; padding-top: 18px; }
.bdayhead .ph img { aspect-ratio: 4 / 3; }
.bdayrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bdayrow input { flex: 1 1 200px; width: auto !important; font-size: 1.05rem !important; }
.fate { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); animation: rise .32s cubic-bezier(.16, 1, .3, 1) both; }
.fate-top { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.fate-top .podbig { width: 64px; height: 44px; margin: 0; flex: none; border-radius: 60% 60% 55% 55% / 70% 70% 45% 45%; }
.fate h2 { margin: 0; font-size: 1.7rem; }
.fate h2 a { color: var(--ink); text-decoration: none; }
.fate .where { margin: 0; }
.fate .code { font: 400 .9rem var(--body); color: var(--muted); }
.tastes { display: grid; grid-template-columns: repeat(2, auto); gap: 2px 18px; justify-content: start; font-size: .9rem; color: var(--muted); }
.elgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.el { padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); border-top: 4px solid var(--c); }
.el h3 { margin-bottom: 4px; }
.el p { font-size: .9rem; margin-bottom: .5em; }
.el a { font-weight: 600; }
.el-wood { --c: #2f7d4f; } .el-fire { --c: #c9472f; } .el-earth { --c: #a8772a; } .el-metal { --c: #8b9b90; } .el-water { --c: #2c6f9b; }
.bdaycta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 20px; padding: 16px 20px; border-radius: var(--radius); background: var(--forest); color: var(--on-forest); text-decoration: none; font-family: var(--display); font-size: 1.1rem; }
.bdaycta span { color: var(--accent); font: 600 .96rem var(--body); white-space: nowrap; }
.bdaycta:hover { color: #fff; }
@media (max-width: 860px) { #map { height: 56vh; min-height: 380px; } .bdayhead { grid-template-columns: 1fr; } .elgrid { grid-template-columns: 1fr 1fr; } }
