/* GetReady family palette (obsidian and gold, as on PentoGIS and One Path Finder): same as getready.travel, getready.health and getready.academy */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f4ee;
  --text: #0b0f14;
  --muted: #4a525c;
  --accent: #8a6a2b;
  --accent-text: #ffffff;
  --border: #e2dfd6;
  --badge-bg: #f3ecdc;
  --badge-text: #6b5220;
  /* Topic tones (GetReady Health only): icons, badges and urgent notes */
  --t-health: #2f6b47;
  --t-academy: #5a4a99;
  --t-travel: #245d88;
  --t-money: #9e3a32;
  --shadow: 0 1px 2px rgb(11 15 20 / 0.04), 0 8px 24px rgb(11 15 20 / 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --bg-alt: #121821;
    --text: #e8e6df;
    --muted: #9aa3ad;
    --accent: #d4b06a;
    --accent-text: #0b0f14;
    --border: #252d38;
    --badge-bg: #2a2416;
    --badge-text: #e8d3a3;
    --t-health: #86cfa3;
    --t-academy: #b9acef;
    --t-travel: #8cc2ea;
    --t-money: #f19c92;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
  }
}
/* Inter, self-hosted (SIL OFL, see /fonts/OFL.txt) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-semibold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-bold.woff2") format("woff2"); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--accent); }
.container { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.site-header { border-bottom: 1px solid var(--border); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 16px; padding: 14px 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--text); text-decoration: none; }
.logo img { display: block; width: 34px; height: 34px; }
.logo span span { color: var(--accent); }
.hero { padding: 80px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.15; margin: 0 0 16px; }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 620px; margin: 0 auto; }
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { margin: 0 0 24px; font-size: 1.6rem; }
.cards {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; background: var(--bg);
}
.card h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 10px; border-radius: 999px;
  background: var(--badge-bg); color: var(--badge-text);
}
.crosslink p { margin: 0 0 20px; color: var(--muted); max-width: 620px; }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  background: var(--accent); color: var(--accent-text);
  font-weight: 600; text-decoration: none;
}
.btn:hover { opacity: 0.9; }
.site-footer {
  border-top: 1px solid var(--border); padding: 24px 0;
  color: var(--muted); font-size: 0.9rem;
}
.site-footer p { margin: 4px 0; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--accent); }
a.card:hover h3 { text-decoration: underline; }
.article { max-width: 700px; padding: 40px 16px 56px; }
.article .back { font-size: 0.95rem; text-decoration: none; }
.article .back:hover { text-decoration: underline; }
.article h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.2; margin: 16px 0 8px; }
.article .meta { color: var(--muted); font-size: 0.95rem; margin: 0 0 24px; }
.article h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: 6px 0; }
.summary {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: 8px;
  padding: 16px 20px; margin: 0 0 8px;
}
.summary p { margin: 0; }
.sources { font-size: 0.95rem; color: var(--muted); }

/* GetReady family bar and footer links: same rules on getready.travel, getready.health and getready.academy */
.family { background: var(--bg-alt); border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.family .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding-top: 6px; padding-bottom: 6px; }
.family-name { font-weight: 700; color: var(--text); }
.family a { margin: 0; color: var(--muted); text-decoration: none; }
.family a:hover { color: var(--accent); }
.family a[aria-current] { color: var(--accent); font-weight: 600; }
.site-footer .family-links a { font-weight: 600; text-decoration: none; }
.site-footer .family-links a:hover { text-decoration: underline; }
/* Site notice (under construction): a slim bar at the top and a line in the footer of every page */
.site-notice { background: var(--accent); color: var(--bg); font-size: 0.85rem; line-height: 1.45; text-align: center; padding: 8px 16px; }
.site-notice strong { font-weight: 700; }
.footer-notice { font-size: 0.85rem; }

/* Main nav, articles and tools */
.nav-links { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-weight: 600; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--accent); }
.hero .hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); padding: 10px 22px; }
.hero-small { padding: 56px 0 40px; }
.more { margin: 20px 0 0; font-weight: 600; }
.more a { text-decoration: none; }
.more a:hover { text-decoration: underline; }
.article .meta a { color: inherit; }
.article .summary { margin-top: 16px; }
.related { margin-top: 32px; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-alt); }
.tool {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; margin: 24px 0;
}
.tool fieldset { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tool legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.tool .fields { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 16px; }
.tool .fields[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.field .hint { font-weight: 400; font-size: 0.85rem; color: var(--muted); margin-top: -4px; }
.field input, .field select {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%;
  margin-top: auto;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }
.tool .btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.result {
  margin-top: 20px; padding: 16px 20px; background: var(--bg);
  border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 8px;
}
.result p { margin: 6px 0; }
.result .big { font-size: 1.2rem; }
.meter { height: 10px; background: var(--border); border-radius: 999px; overflow: hidden; margin: 8px 0 12px; }
.meter span { display: block; height: 100%; background: var(--accent); }
.result .goal { color: var(--muted); font-size: 0.95rem; }
.hero .notice {
  max-width: 620px; margin: 28px auto 0; padding: 12px 16px;
  background: var(--bg-alt); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: 8px; font-size: 0.95rem; color: var(--text); text-align: left;
}

/* Sign-in pages (login, signup, reset-password, account; script /auth.js) */
.login { max-width: 440px; padding-top: 56px; padding-bottom: 64px; }
.login h1 { font-size: clamp(1.8rem, 5vw, 2.3rem); line-height: 1.2; margin: 0 0 16px; }
.login-box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: grid; gap: 16px; }
.login-box h2 { font-size: 1.1rem; margin: 12px 0 0; }
.login-box p { margin: 0; }
.login-box fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.login-field { display: grid; gap: 6px; font-weight: 600; }
.login-field input {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%; box-sizing: border-box;
}
.login-box .btn { border: 0; font: inherit; font-weight: 600; width: 100%; cursor: pointer; }
.login-box .btn-alt { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.login-box :disabled { opacity: 0.6; cursor: not-allowed; }

/* Keyboard and screen reader basics */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  padding: 8px 16px; border-radius: 8px;
  background: var(--accent); color: var(--accent-text); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Hero illustration and card entrances (same block in getready.travel, getready.health and getready.academy).
   The hero picture is a decorative inline SVG (aria-hidden) that animates once, in under 5 seconds,
   and then stays still. Animations only start when the visitor has not asked for reduced motion;
   otherwise the finished picture shows straight away. Colours come from the :root variables. */
.hero-split .container { display: grid; gap: 32px; align-items: center; }
.hero-art { width: 100%; max-width: 320px; margin: 0 auto; }
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (min-width: 860px) {
  .hero-split { text-align: left; }
  .hero-split .container { grid-template-columns: 1.15fr 1fr; gap: 48px; }
  .hero-split p, .hero-split .notice { margin-left: 0; margin-right: 0; }
  .hero-split .hero-actions { justify-content: flex-start; }
  .hero-art { max-width: 420px; }
}
.hero-art .a-rise, .hero-art .a-pop, .hero-art .a-fade, .hero-art .a-draw, .hero-art .a-grow, .hero-art .a-drop {
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
  animation-fill-mode: both;
  animation-delay: var(--d, 0s);
}
.hero-art .a-pop, .hero-art .a-grow, .hero-art .a-drop { transform-box: fill-box; transform-origin: center; }
.hero-art .a-grow { transform-origin: left center; }
.hero-art .a-drop { transform-origin: center bottom; }
.hero-art .a-draw { stroke-dasharray: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .a-rise { animation-name: gr-rise; }
  .hero-art .a-pop { animation-name: gr-pop; }
  .hero-art .a-fade { animation-name: gr-fade; }
  .hero-art .a-draw { animation-name: gr-draw; animation-duration: 1.2s; animation-timing-function: ease-in-out; }
  .hero-art .a-grow { animation-name: gr-grow; animation-duration: 1s; }
  .hero-art .a-drop { animation-name: gr-drop; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cards > .card { animation: gr-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@keyframes gr-rise { from { opacity: 0; translate: 0 18px; } }
@keyframes gr-pop { 0% { opacity: 0; scale: 0.3; } 70% { opacity: 1; scale: 1.08; } }
@keyframes gr-fade { from { opacity: 0; } }
@keyframes gr-draw { from { stroke-dashoffset: 1; } }
@keyframes gr-grow { from { scale: 0 1; } }
@keyframes gr-drop { 0% { opacity: 0; translate: 0 -28px; } 60% { opacity: 1; translate: 0 3px; } }
.auth-card [hidden] { display: none !important; }
.auth-status { padding: 10px 14px; border-radius: 8px; background: var(--bg); border-left: 4px solid var(--accent); }
.auth-status[data-kind="error"] { border-left-color: var(--bad, var(--warn, var(--text))); font-weight: 600; }
.login-box .auth-or { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.95rem; color: var(--muted); }
.auth-hint, .auth-note { font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.auth-hint code { word-break: break-all; }
/* QR codes need a white background to scan, in dark mode too */
.auth-qr { background: #fff; padding: 8px; border-radius: 8px; justify-self: start; }
.auth-pw { position: relative; display: block; }
.auth-pw input { padding-right: 4.5rem; }
.auth-show { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 6px 8px; cursor: pointer; }
#signout-all { margin-top: 10px; }

/* Livelier look (GetReady Health, 2026-10-28): tones, icons, card depth, breadcrumbs, related cards,
   search, and a fuller footer. Tints are mixed from the :root colours, so light and dark both work. */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--t-health) 10%, transparent), transparent 70%);
}
.hero-small { border-bottom: 1px solid var(--border); }
.eyebrow { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.hero-stats { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 0.95rem; justify-content: center; }
.hero-stats strong { color: var(--text); font-size: 1.25rem; margin-right: 4px; }
@media (min-width: 860px) { .hero-split .hero-stats { justify-content: flex-start; } }

/* Cards */
.card { border-radius: 16px; box-shadow: var(--shadow); transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
a.card { display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 16px 32px color-mix(in srgb, var(--tone, var(--accent)) 16%, transparent); }
a.card:hover h3 { text-decoration: none; color: var(--accent); }
a.card .go { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 0.95rem; color: var(--tone, var(--accent)); }
a.card .go::after { content: " \2192"; display: inline-block; transition: translate 0.18s ease; }
a.card:hover .go::after { translate: 4px 0; }
@media (prefers-reduced-motion: reduce) { .card, a.card .go::after { transition: none; } a.card:hover { transform: none; } }
.card-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-icon {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
  color: var(--tone, var(--accent)); background: color-mix(in srgb, var(--tone, var(--accent)) 14%, var(--bg));
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[data-tone] .badge, .badge[data-tone] { color: var(--tone); background: color-mix(in srgb, var(--tone) 12%, var(--bg)); }
[data-tone="health"] { --tone: var(--t-health); }
[data-tone="academy"] { --tone: var(--t-academy); }
[data-tone="travel"] { --tone: var(--t-travel); }
[data-tone="money"] { --tone: var(--t-money); }
a.card[data-tone]:hover { border-color: var(--tone); }
a.card[data-tone]:hover h3 { color: var(--tone); }
.cards-tight { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cards-tight .card { padding: 16px; }
.cards-tight .card h3 { font-size: 1.05rem; margin: 10px 0 0; }

/* Urgent signs band */
.urgent { background: color-mix(in srgb, var(--t-money) 7%, var(--bg)); border-block: 1px solid color-mix(in srgb, var(--t-money) 25%, var(--border)); }
.urgent .eyebrow { color: var(--t-money); }

/* Breadcrumbs, article meta and related pages */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--border); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.article .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.article h2 { scroll-margin-top: 90px; }
.summary { border-radius: 12px; }
.related-block { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.related-block h2 { margin-top: 0; }
.related-block .cards { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.related-block .card { padding: 16px; }
.related-block .card h3 { font-size: 1rem; margin: 10px 0 0; }

/* Search and topic chips on /blog/ and /tools/ */
.finder { max-width: 560px; margin: 28px auto 0; }
.finder input {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 999px; padding: 12px 20px; box-shadow: var(--shadow);
}
.finder input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; color: var(--tone, var(--text)); background: color-mix(in srgb, var(--tone, var(--accent)) 10%, var(--bg)); border: 1px solid color-mix(in srgb, var(--tone, var(--accent)) 30%, var(--border));
}
.chips a:hover { border-color: var(--tone, var(--accent)); }
.no-results { text-align: center; color: var(--muted); }
.section h2 .card-icon { width: 34px; height: 34px; border-radius: 10px; vertical-align: -6px; margin-right: 10px; }
.section h2 .card-icon svg { width: 19px; height: 19px; }

/* Footer */
.site-footer { background: var(--bg-alt); padding: 40px 0 24px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer-brand { grid-column: span 2; max-width: 380px; }
@media (max-width: 600px) { .footer-brand { grid-column: auto; } }
.footer-brand .logo { font-size: 0.95rem; margin-bottom: 8px; }
.footer-title { font-weight: 700; color: var(--text); margin: 0 0 8px !important; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin: 6px 0; }
.footer-list a { color: var(--muted); text-decoration: none; }
.footer-list a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); }
a.card[hidden], [data-group][hidden] { display: none; }
.no-results { padding: 40px 16px; }
.article .meta time { white-space: nowrap; }
#tools .cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 600px) {
  .urgent .cards, #tools .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .urgent .card, #tools .card { padding: 14px; }
  .urgent .card h3, #tools .card h3 { font-size: 0.98rem; margin: 10px 0 0; }
  .urgent .card p, #tools .card p, .urgent .badge, #tools .badge { display: none; }
}
.article .lead { font-size: 1.15rem; color: var(--muted); }
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* Card pictures: a small animated banner on every article, topic and tool card (same idea as the getready.travel and PentoGIS cards).
   Inline SVG 320x110, aria-hidden; plays for under 5 seconds when the card scrolls into view (/xp.js adds .play) and again on hover or focus; still with reduced motion. */
:root {
  --xp-health-1: #1f5a3a; --xp-health-2: #3a8f5d; --xp-health-3: #ffd166;
  --xp-academy-1: #3f3380; --xp-academy-2: #7462c9; --xp-academy-3: #ffc8e6;
  --xp-travel-1: #1b4a70; --xp-travel-2: #3a86c4; --xp-travel-3: #ffd166;
  --xp-money-1: #7d2a24; --xp-money-2: #c4544a; --xp-money-3: #ffd9a8;
  --xp-ink: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --xp-health-1: #123a25; --xp-health-2: #2a6e47; --xp-health-3: #f0c255;
    --xp-academy-1: #2a2160; --xp-academy-2: #5546a3; --xp-academy-3: #f2b5d6;
    --xp-travel-1: #11334f; --xp-travel-2: #2a6699; --xp-travel-3: #f0c255;
    --xp-money-1: #521813; --xp-money-2: #9a3d34; --xp-money-3: #f2c58a;
    --xp-ink: #f4f1ea;
  }
}
.xp-health { --c1: var(--xp-health-1); --c2: var(--xp-health-2); --c3: var(--xp-health-3); }
.xp-academy { --c1: var(--xp-academy-1); --c2: var(--xp-academy-2); --c3: var(--xp-academy-3); }
.xp-travel { --c1: var(--xp-travel-1); --c2: var(--xp-travel-2); --c3: var(--xp-travel-3); }
.xp-money { --c1: var(--xp-money-1); --c2: var(--xp-money-2); --c3: var(--xp-money-3); }
.card.xp { overflow: hidden; }
.xp-art { display: block; position: relative; height: 110px; margin: -20px -20px 16px; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.xp-art svg { display: block; width: 100%; height: 100%; }
.xp-art .kw { fill: var(--xp-ink); }
.xp-art .k3 { fill: var(--c3); }
.xp-art .kl { fill: var(--c1); }
.xp-art .ks, .xp-art .ksw, .xp-art .ksl, .xp-art .xp-dash { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.xp-art .ks { stroke: var(--c3); }
.xp-art .ksw { stroke: var(--xp-ink); }
.xp-art .ksl { stroke: var(--c1); }
.xp-art .xp-dash { stroke: var(--xp-ink); stroke-dasharray: 2 9; opacity: 0.85; }
.xp-art .xp-tag { fill: var(--xp-ink); font-size: 13px; font-weight: 700; text-anchor: middle; }
.xp-art .xp-tag.kl2 { fill: var(--c1); }
.xp-art [class*="xp-"] { transform-box: fill-box; transform-origin: center; }
.xp-art .xp-grow { transform-origin: center bottom; }
.xp-art .xp-swing { transform-origin: center bottom; }
.xp-art :is(.xp-spin, .xp-spin-slow) { transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .xp:is(.play, :hover, :focus-visible) .xp-float { animation: xp-float 2.6s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-bob { animation: xp-float 1.8s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-fly { animation: xp-fly 2.4s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-move { animation: xp-move 2.4s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-swing { animation: xp-swing 2.4s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-twinkle { animation: xp-twinkle 2.4s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-sun { animation: xp-twinkle 3s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-pop { animation: xp-pop 2.4s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-pulse { animation: xp-pulse 1.4s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-beat { animation: xp-beat 1.2s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-ring { animation: xp-ring 1.6s ease-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-bar { animation: xp-bar 2.4s linear infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-grow { animation: xp-grow 2.4s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-spin { animation: xp-spin 2s linear infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-spin-slow { animation: xp-spin 8s linear infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-blink { animation: xp-blink 1.2s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-flip { animation: xp-flip 2.4s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-toss { animation: xp-toss 2.4s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-shake { animation: xp-shake 1.2s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-wave { animation: xp-wave 1.6s ease-in-out infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-drop2 { animation: xp-drop2 2.2s ease-in infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-ecg { stroke-dasharray: 34 66; animation: xp-ecg 2.2s linear infinite; }
  .xp:is(.play, :hover, :focus-visible) .xp-b2 { animation-delay: 0.3s; }
  .xp:is(.play, :hover, :focus-visible) .xp-b3 { animation-delay: 0.6s; }
  .xp:is(.play, :hover, :focus-visible) .xp-d2 { animation-delay: -0.8s; }
  .xp:is(.play, :hover, :focus-visible) .xp-d3 { animation-delay: -1.6s; }
}
@keyframes xp-float { 50% { translate: 0 -5px; } }
@keyframes xp-fly { 50% { translate: -8px 4px; } }
@keyframes xp-move { 50% { translate: -18px 0; } }
@keyframes xp-swing { 25% { rotate: -5deg; } 75% { rotate: 5deg; } }
@keyframes xp-twinkle { 50% { scale: 0.6; opacity: 0.6; } }
@keyframes xp-pop { 0%, 30% { scale: 0; } 45% { scale: 1.15; } 55%, 90% { scale: 1; } 100% { scale: 0; } }
@keyframes xp-pulse { 50% { scale: 1.12; opacity: 0.75; } }
@keyframes xp-beat { 0%, 40%, 100% { scale: 1; } 15% { scale: 1.12; } 30% { scale: 1.05; } }
@keyframes xp-ring { 0% { opacity: 0; scale: 0.8; } 40% { opacity: 1; } 100% { opacity: 0; scale: 1.15; } }
@keyframes xp-bar { 0%, 8% { opacity: 0.15; } 25%, 85% { opacity: 1; } 100% { opacity: 0.15; } }
@keyframes xp-grow { 0%, 100% { scale: 1 0.35; } 50% { scale: 1 1; } }
@keyframes xp-spin { to { rotate: 360deg; } }
@keyframes xp-blink { 50% { opacity: 0.2; } }
@keyframes xp-flip { 0%, 60%, 100% { scale: 1 1; } 75% { scale: 0.1 1; } }
@keyframes xp-toss { 40% { translate: 0 -8px; rotate: -8deg; } 60% { translate: 0 -8px; rotate: 6deg; } }
@keyframes xp-shake { 0%, 50%, 100% { rotate: 0deg; } 10%, 30% { rotate: -6deg; } 20%, 40% { rotate: 6deg; } }
@keyframes xp-wave { 50% { transform: skewY(-8deg) scaleX(0.9); } }
@keyframes xp-drop2 { 0% { translate: 0 -30px; opacity: 0; } 15% { opacity: 1; } 70% { translate: 0 0; opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes xp-ecg { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
