:root {
  --pet-paper: #f7f4ed;
  --pet-white: #fffcf6;
  --pet-ink: #202729;
  --pet-pine: #245d69;
  --pet-pine-dark: #174550;
  --pet-sage: #e8f1f1;
  --pet-line: #c9d2cf;
  --pet-clay: #873b2c;
  --pet-clay-light: #f5e4dc;
  --brand-accent: var(--pet-pine);
  --brand-on-accent: #fffdf6;
  --gold: var(--pet-pine) !important;
  --gold-2: var(--pet-pine);
  --accent: var(--pet-pine) !important;
  --accent-2: var(--pet-pine-dark);
  --accent-3: var(--pet-pine);
  --accent-bg: var(--pet-sage);
}
body .topbar, body .topbar-inner, body .mobile-nav-strip {
  background: var(--pet-paper) !important;
  border-color: var(--pet-line) !important;
}
body .topbar img.brand-logo, body .footer img.footer-logo {
  content: url('/static/brand-20261101/pet-mark.png');
}
body .topbar .brand-text span { color: var(--pet-pine) !important; }
body .mobile-nav-strip a:hover, body .nav-dd-menu a:hover {
  background: var(--pet-sage) !important;
  color: var(--pet-pine-dark) !important;
}
body .btn-primary, body .btn-accent, body .primary-button,
body .auth-actions .btn.topbar-cta, body .auth-card .btn-primary,
body .form-actions button[type=submit]:not(.secondary),
body #gravium-analytics-accept {
  color: var(--brand-on-accent) !important;
  background: var(--pet-pine) !important;
  border-color: var(--pet-pine) !important;
}
body .btn-primary:hover, body .btn-accent:hover, body .primary-button:hover,
body .auth-actions .btn.topbar-cta:hover, body .auth-card .btn-primary:hover,
body .form-actions button[type=submit]:not(.secondary):hover {
  background: var(--pet-pine-dark) !important;
  border-color: var(--pet-pine-dark) !important;
}
body .btn.secondary, body .btn-secondary {
  background: var(--pet-white) !important;
  color: var(--pet-pine-dark) !important;
  border-color: var(--pet-line) !important;
}
body .btn.secondary:hover, body .btn-secondary:hover { background: var(--pet-sage) !important; }
body h1 em { text-decoration-color: var(--pet-pine); }
body .footer { background: var(--pet-ink) !important; border-top-color: var(--pet-pine) !important; }
body .card, body .panel, body .auth-card, body .lost-card {
  background: var(--pet-white) !important;
  border-color: var(--pet-line) !important;
}
body .auth-shell { border-color: var(--pet-line) !important; }
body .auth-shell .auth-aside { background: var(--pet-sage) !important; }
body .auth-card :is(input:not([type=checkbox]):not([type=radio]), select, textarea),
body .pet-form-card :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
  background: #fffdf8 !important;
}
body .lost-home-badge, body .lost-badge, body .lost-live-note,
body .pet-form-card .lost-state.is-on b, body .pet-form-card .lost-toggle b {
  background: var(--pet-clay-light) !important;
  color: var(--pet-clay) !important;
  border-color: #d4a99b !important;
}
body .lost-card:hover { border-color: var(--pet-clay) !important; }

body .pet-intro { padding: 30px 0 0 !important; }
body .pet-intro > .container { width: 100%; max-width: 1180px !important; margin-inline: auto !important; padding: 0 20px !important; }
body .pet-intro .hero-box {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 0 !important;
  background: var(--pet-sage) !important;
  border: 1px solid var(--pet-line) !important;
  border-radius: 10px !important;
  overflow: hidden;
}
body .pet-intro .hero-box::after { display: none !important; }
body .pet-intro .hero-box .hero-content {
  width: 100% !important;
  max-width: none !important;
  padding: 48px 38px !important;
  align-self: center;
}
.pet-intro-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--pet-pine-dark);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
}
body .pet-intro .hero-box h1 {
  font-size: 50px !important;
  font-weight: 720 !important;
  line-height: 1.04 !important;
  max-width: 16ch;
  margin-bottom: 18px !important;
  letter-spacing: -.046em !important;
}
body .pet-intro .hero-box h1 em {
  color: var(--pet-pine) !important;
  font-style: normal;
  text-decoration: none;
}
body .pet-intro .hero-box p {
  max-width: 38ch !important;
  color: #425356 !important;
  line-height: 1.55 !important;
  margin-bottom: 22px !important;
}
body .pet-intro .hero-actions { gap: 8px !important; margin: 0 !important; }
body .pet-intro .hero-actions .btn { padding: 0 16px !important; min-height: 46px !important; }
body .pet-intro .hero-box .hero-actions .btn-primary {
  background: var(--pet-pine) !important;
  border-color: var(--pet-pine) !important;
  color: var(--brand-on-accent) !important;
}
.pet-intro-image { position: relative; min-width: 0; min-height: 400px; background: var(--pet-paper); }
.pet-intro-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
body .pet-intro h1, body .pet-intro p, body .pet-intro .hero-actions {
  opacity: 1;
  transform: none;
}
body .quick-paths-section { padding: 16px 0 0 !important; background: transparent !important; }
body .quick-paths { gap: 10px !important; }
body .quick-path-card {
  background: var(--pet-white) !important;
  border: 1px solid var(--pet-line) !important;
  border-radius: 6px !important;
  min-height: 0 !important;
  padding: 16px 36px 16px 16px !important;
}
body .quick-path-card:hover, body .quick-path-card:focus-visible {
  background: var(--pet-sage) !important;
}
body .quick-path-label, body .quick-path-arrow { color: var(--pet-pine-dark) !important; }
body .quick-path-card[href="/lost"] :is(.quick-path-label,.quick-path-arrow) { color: var(--pet-clay) !important; }

@media (max-width: 1000px) {
  body .pet-intro .hero-box .hero-content { padding: 32px 26px !important; }
  body .pet-intro .hero-box h1 { font-size: 44px !important; }
}
@media (max-width: 680px) {
  body .topbar .brand { gap: 8px; }
  body .topbar .brand-text { display: flex !important; }
  body .topbar .brand-text strong { font-size: 11px; letter-spacing: .08em; }
  body .topbar .brand-text span { font-size: 9px; }
  body .mobile-nav-strip a { min-height: 44px; }
  body .pet-intro { padding-top: 12px !important; }
  body .pet-intro > .container { padding-inline: 12px !important; }
  body .pet-intro .hero-box { grid-template-columns: minmax(0, 1fr); }
  body .pet-intro .hero-box .hero-content { padding: 22px 18px !important; }
  body .pet-intro .hero-box h1 { font-size: 34px !important; margin-bottom: 12px !important; }
  body .pet-intro .hero-box p { font-size: 15px !important; margin-bottom: 16px !important; }
  .pet-intro-label { margin-bottom: 11px; }
  .pet-intro-image { min-height: 0; aspect-ratio: 1.68; }
  .pet-intro-image img { object-position: 90% 65%; }
  body .quick-path-card { padding-block: 12px !important; }
}
@media (max-width: 360px) {
  body .pet-intro .hero-box h1 { font-size: 30px !important; }
  body .topbar .auth-actions { gap: 4px; }
}

body .eyebrow::before, body .kicker::before { background: var(--pet-pine) !important; }
body .pet-intro .hero-box h1 em { display: block; }
body .quick-path-card { position: relative; }
body .quick-path-card .quick-path-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}
body .profile-wrap .profile-card.compact-profile {
  background: var(--pet-white) !important;
  border-color: var(--pet-line) !important;
  border-radius: 10px !important;
}
body .profile-wrap .passport-photo-stack,
body .profile-wrap .profile-photo-wrap {
  background: var(--pet-sage) !important;
}
body .profile-wrap .profile-title {
  color: var(--pet-ink) !important;
  overflow-wrap: anywhere;
  line-height: 1.05 !important;
}
body .profile-wrap :is(.profile-status,.passport-alert,.passport-badge,.passport-qr-card,.finder-help-box) {
  background: var(--pet-sage) !important;
  color: var(--pet-pine-dark) !important;
  border-color: var(--pet-line) !important;
}
body .profile-wrap .passport-badge-ico {
  background: var(--pet-white) !important;
  color: var(--pet-pine-dark) !important;
  border-color: var(--pet-line) !important;
}
body .profile-wrap .passport-alert.pet-alert-lost {
  background: var(--pet-clay-light) !important;
  border-color: #d4a99b !important;
  color: var(--pet-clay) !important;
}
body .profile-wrap .passport-alert.pet-alert-lost::before { background: var(--pet-clay); }
body .profile-wrap :is(.contact-box.contact-box-top,.note-important,.note-critical) {
  background: var(--pet-white) !important;
  border-color: var(--pet-line) !important;
}
body .profile-wrap .contact-btn {
  min-height: 44px !important;
  background: var(--pet-white) !important;
  color: var(--pet-pine-dark) !important;
  border-color: var(--pet-line) !important;
}
body .profile-wrap :is(.contact-btn.primary,.found-pet-btn) {
  background: var(--pet-pine) !important;
  border-color: var(--pet-pine) !important;
  color: var(--brand-on-accent) !important;
}
body .profile-wrap .contact-btn:hover { border-color: var(--pet-pine) !important; }
body .profile-wrap .photo-passport-label { color: #fffdf6 !important; }
@media (max-width: 680px) {
  body .auth-page { padding-top: 16px !important; }
  body .auth-shell .auth-aside { padding: 22px 20px !important; }
  body .auth-shell .auth-card { padding: 24px 20px !important; }
  body .profile-wrap .profile-photo.compact-photo { height: min(78vw, 330px) !important; }
  body .profile-wrap .profile-card > .profile-main { padding: 22px 18px !important; }
  body .profile-wrap .profile-title { font-size: 44px !important; }
}
body .profile-wrap .passport-alert { padding-left: 34px !important; }
body .profile-wrap .profile-card.compact-profile,
body .profile-wrap .profile-photo.compact-photo {
  box-shadow: none !important;
}
body .profile-wrap .profile-photo.compact-photo {
  width: 100% !important;
  max-width: 100%;
}
body .profile-wrap .profile-photo-wrap { min-width: 0; }
body .profile-wrap .photo-passport-label b { color: #fffdf6 !important; }
body .profile-wrap .passport-rail,
body .profile-wrap .passport-rail-code { color: #4b6267; }
body .profile-wrap .passport-rail-mark { background: var(--pet-pine); }

/* Match the foreground and surface on the older home section controls. */
body :is(.preview-actions, .community-home-actions, .lost-home-actions) a.btn.btn-primary {
  background: var(--pet-pine) !important;
  border-color: var(--pet-pine) !important;
  color: var(--brand-on-accent) !important;
}
body :is(.preview-actions, .community-home-actions, .lost-home-actions) a.btn.btn-primary:is(:hover,:focus-visible,:active) {
  background: var(--pet-pine-dark) !important;
  border-color: var(--pet-pine-dark) !important;
  color: var(--brand-on-accent) !important;
}
body .partner-links a.link-chip {
  background: var(--pet-sage) !important;
  border-color: var(--pet-line) !important;
  color: var(--pet-pine-dark) !important;
}
body .partner-links a.link-chip:is(:hover,:focus-visible) {
  background: var(--pet-white) !important;
  border-color: var(--pet-pine) !important;
}

/* Shared public surfaces keep the engraving brand's warm paper and strong type. */
html, body {
  background: var(--pet-paper) !important;
  color: var(--pet-ink);
}
body :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--pet-pine) !important;
  outline-offset: 3px;
}
body .footer :is(a, button):focus-visible {
  outline-color: var(--pet-sage) !important;
}
body .topbar .nav :is(a:hover,a[aria-current="page"]),
body .topbar .mobile-nav-strip a[aria-current="page"] {
  color: var(--pet-pine-dark) !important;
}
body .topbar .mobile-nav-strip a[aria-current="page"] {
  background: var(--pet-sage) !important;
  box-shadow: inset 0 -2px var(--pet-pine);
}
body .nav-dd-menu {
  background: var(--pet-white) !important;
  border-color: var(--pet-line) !important;
}
body .btn :is(svg,span) { flex-shrink: 0; }

body .pet-intro .hero-box .hero-content { min-width: 0; }
body .pet-intro .hero-box p { max-width: 43ch !important; }
body .quick-paths-section { border-block: 0 !important; }
body .quick-path-card[href="/lost"] {
  background: var(--pet-clay-light) !important;
  border-color: #d4a99b !important;
}
body .quick-path-card[href="/lost"]:is(:hover,:focus-visible) { background: #eed8ce !important; }
body .quick-path-card strong { font-size: 16px !important; line-height: 1.35; }
body .pet-home-how .section-head h2,
body .pet-home-search .lost-home-copy h2 {
  font-size: clamp(29px, 3.4vw, 43px) !important;
  line-height: 1.12 !important;
}
body .pet-home-how .section-head { margin-bottom: 22px !important; }
body .pet-home-how .grid-3 {
  gap: 0 !important;
  border-top: 1px solid var(--pet-line) !important;
  border-bottom: 1px solid var(--pet-line) !important;
  background: transparent !important;
}
body .pet-home-how .feature-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 24px !important;
}
body .pet-home-how .feature-card + .feature-card { border-left: 1px solid var(--pet-line) !important; }
body .pet-home-how .feature-card h3 { font-size: 19px !important; line-height: 1.22; }
body .pet-home-how .step-num {
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--pet-sage) !important;
  color: var(--pet-pine-dark) !important;
}
body .pet-home-search { padding-block: 24px 32px !important; }
body .lost-home-card {
  background: var(--pet-white) !important;
  border: 1px solid var(--pet-line) !important;
  border-radius: 10px !important;
}
body .lost-home-card .lost-home-head { padding: 26px 28px 22px !important; }
body .lost-home-card .lost-home-copy { max-width: none; }
body .lost-home-card .lost-home-copy .lead { max-width: 65ch; }
body .lost-home-card .section-kicker { color: var(--pet-clay) !important; }
body .lost-home-card .lost-home-actions { margin-top: 16px; }
body .lost-home-card .lost-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 0 28px 24px;
  border: 0 !important;
  background: transparent !important;
}
body .lost-home-card .lost-home-item {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  background: var(--pet-paper) !important;
  border: 1px solid var(--pet-line) !important;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}
body .lost-home-card .lost-home-item:hover {
  background: var(--pet-sage) !important;
  transform: none !important;
}
body .lost-home-card .lost-home-photo {
  height: 100%;
  min-height: 156px;
  aspect-ratio: auto !important;
  border: 0 !important;
}
body .lost-home-card .lost-home-photo img { height: 100%; object-fit: cover; }
body .lost-home-card .lost-home-body { align-self: center; padding: 14px !important; min-width: 0; }
body .lost-home-card .lost-home-body h3 { overflow-wrap: anywhere; line-height: 1.2; }
body .lost-home-card .lost-home-meta { overflow-wrap: anywhere; }

body .lost-page-head .section-kicker { color: var(--pet-clay) !important; }
body .lost-card .lost-action { color: var(--pet-pine-dark) !important; }
body .lost-grid .lost-card { text-decoration: none; }
body .empty-box h2 { font-size: clamp(25px, 4vw, 36px) !important; }
body :is(.catalog-card, .ppub-card, .act-way) {
  background: var(--pet-white) !important;
  border-color: var(--pet-line) !important;
}
body :is(.catalog-card:hover,.catalog-card:focus-visible) { border-color: var(--pet-pine) !important; }
body :is(.ppub-head,.ppub-name-row,.catalog-body,.lost-card-body) { min-width: 0; overflow-wrap: anywhere; }
body :is(.ppub-btn-gold, .btn-soft-gold) {
  background: var(--pet-pine) !important;
  border-color: var(--pet-pine) !important;
  color: var(--brand-on-accent) !important;
}
body :is(.ppub-btn-gold, .btn-soft-gold):hover {
  background: var(--pet-pine-dark) !important;
  border-color: var(--pet-pine-dark) !important;
}
body .auth-shell .auth-aside h1 { color: var(--pet-ink) !important; }
body .auth-shell .auth-aside h1 em { color: var(--pet-pine-dark) !important; }
body .act-form { min-width: 0; }
body .act-form .act-input { min-width: 0; }

body #gravium-analytics-consent {
  background: var(--pet-white) !important;
  border-color: var(--pet-line) !important;
  border-radius: 9px !important;
  box-shadow: 0 8px 26px #1e302627 !important;
  backdrop-filter: none !important;
}
body #gravium-analytics-consent a {
  color: var(--pet-pine-dark) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body #gravium-analytics-consent button {
  box-shadow: none !important;
  white-space: normal !important;
  line-height: 1.2;
}
body #gravium-analytics-consent #gravium-analytics-decline {
  border: 1px solid var(--pet-line) !important;
}

@media (max-width: 740px) {
  body .pet-home-how .grid-3 { grid-template-columns: 1fr !important; }
  body .pet-home-how .feature-card { padding: 16px 14px !important; }
  body .pet-home-how .feature-card + .feature-card {
    border-left: 0 !important;
    border-top: 1px solid var(--pet-line) !important;
  }
  body .pet-home-search .lost-home-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body .lost-home-card .lost-home-grid { padding: 0 14px 15px; }
  body .lost-home-card .lost-home-head { padding: 18px 16px 16px !important; }
  body .lost-home-card .lost-home-photo { min-height: 122px; }
}
@media (max-width: 680px) {
  body .pet-intro .hero-box .hero-content { padding: 20px 16px !important; }
  body .pet-intro .hero-box h1 { font-size: 31px !important; }
  body .pet-intro .hero-box h1 em { display: inline; }
  body .pet-intro-image { aspect-ratio: 1.86; }
  body .quick-paths-section { padding-top: 9px !important; }
  body .quick-paths { gap: 7px !important; }
  body .quick-path-card { padding: 10px 34px 10px 12px !important; }
  body #gravium-analytics-consent {
    width: calc(100% - 20px) !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    padding: 11px 12px !important;
    gap: 8px !important;
  }
  body #gravium-analytics-consent p { font-size: 12px !important; line-height: 1.36 !important; }
  body #gravium-analytics-consent strong { font-size: 13px !important; }
  body #gravium-analytics-consent .ga-actions { gap: 6px !important; }
  body #gravium-analytics-consent button { padding: 7px 5px !important; font-size: 12px !important; }
}
@media (max-width: 360px) {
  body .pet-intro .hero-box h1 { font-size: 28px !important; }
}

body .flash {
  background: var(--pet-sage) !important;
  border-color: var(--pet-line) !important;
  color: var(--pet-pine-dark) !important;
}
body .auth-shell .auth-aside .auth-aside-title {
  color: var(--pet-ink) !important;
  font-size: clamp(38px, 4vw, 56px) !important;
  line-height: 1.05 !important;
  margin: 22px 0 !important;
}
body .auth-shell .auth-aside .auth-aside-title em { color: var(--pet-pine-dark) !important; }
body .auth-card .auth-title {
  font-size: clamp(27px, 3vw, 37px) !important;
  letter-spacing: -.04em !important;
  margin: 8px 0 !important;
}
body .pet-lost-page { padding-top: 36px !important; }
body .pet-lost-page .lost-page-head { padding: 0 !important; margin-bottom: 24px !important; }
body .pet-lost-page .lost-page-head h1 {
  font-size: clamp(32px, 4vw, 52px) !important;
  line-height: 1.08 !important;
}
body .pet-lost-page .lost-page-head .lead { max-width: 57ch; }
body .pet-lost-page .lost-card:focus-visible { outline-color: var(--pet-clay) !important; }
@media (max-width: 680px) {
  body .topbar .topbar-inner {
    width: calc(100% - 24px) !important;
    min-height: 64px !important;
    height: auto !important;
    padding-inline: 0 !important;
  }
  body .topbar .brand img.brand-logo {
    width: 38px !important;
    height: 38px !important;
  }
  body .topbar .auth-actions { border-left: 0 !important; padding-left: 0 !important; }
  body .topbar .auth-actions a.btn.topbar-cta { display: inline-flex !important; }
  body .topbar .auth-actions a.btn.topbar-cta span { display: none; }
  body .auth-shell,
  body .container.auth-shell {
    width: calc(100% - 24px) !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    border-radius: 10px !important;
  }
  body .auth-shell .auth-aside { display: none !important; }
  body .auth-shell .auth-card { width: 100% !important; min-width: 0; }
  body .pet-lost-page { padding-top: 24px !important; }
  body .pet-lost-page .lost-page-head { margin-bottom: 18px !important; }
}
@media (max-width: 360px) {
  body .topbar .auth-actions a[href="/register"].topbar-cta { display: none !important; }
}

body .pet-lost-page .lost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)) !important;
  gap: 14px !important;
  max-width: 1050px;
  border: 0 !important;
  background: transparent !important;
}
body .pet-lost-page .lost-card {
  background: var(--pet-white) !important;
  border-radius: 10px !important;
}
body .pet-lost-page .lost-card-photo {
  aspect-ratio: 16 / 10 !important;
  border-bottom-color: var(--pet-line) !important;
}
body .partners-hero .partners-hero-title {
  font-size: clamp(34px, 5vw, 60px) !important;
  line-height: 1.08 !important;
  max-width: 18ch !important;
}
body .partners-hero .partners-hero-title .accent {
  display: block;
  color: var(--pet-pine-dark) !important;
}
body .partners-hero .partners-hero-actions .btn.btn-primary {
  background: var(--pet-pine) !important;
  border-color: var(--pet-pine) !important;
  color: var(--brand-on-accent) !important;
}
body .partners-hero .partners-hero-actions .btn.btn-primary:hover {
  background: var(--pet-pine-dark) !important;
}
@media (max-width: 680px) {
  body .partners-hero .partners-hero-title { font-size: 32px !important; }
  body .partners-hero .partners-hero-inner { padding-block: 23px !important; }
  body .partners-hero .partners-hero-actions .btn { min-height: 44px; }
}

/* The achievements cards pair a dark surface with their own foreground colors. */
body .commemorative-block.event-heritage {
  --achievement-surface: #201e1c;
  --achievement-text: #fff8ec;
  --achievement-muted: #d2c6b8;
  --achievement-line: #5b5047;
  --achievement-highlight: #efc890;
  --achievement-highlight: color-mix(in srgb, var(--ev-accent, #eaa24a) 42%, #fff);
  --achievement-partner: #f3e3cc;
  --achievement-partner: color-mix(in srgb, var(--ev-accent, #eaa24a) 32%, #fffbf1);
  background: var(--achievement-surface) !important;
  color: var(--achievement-text);
  border-color: var(--achievement-line) !important;
}
body .event-heritage .event-heritage-brand {
  background: var(--achievement-partner) !important;
  border-color: var(--achievement-line) !important;
  box-shadow: inset 0 4px var(--ev-accent, #eaa24a);
}
body .event-heritage .event-heritage-brand::before { display: none !important; }
body .event-heritage .event-heritage-brand-copy > :is(span,b) {
  color: #30261f !important;
  opacity: 1 !important;
  overflow-wrap: anywhere;
}
body .event-heritage .event-heritage-content { min-width: 0; }
body .event-heritage .event-heritage-content .commemorative-title {
  color: var(--achievement-text) !important;
  overflow-wrap: anywhere;
}
body .event-heritage .event-heritage-content
  :is(.commemorative-title span,.commemorative-badge,.event-award dd,.commemorative-links .link-chip) {
  color: var(--achievement-highlight) !important;
}
body .event-heritage .event-heritage-content :is(.commemorative-badge,.commemorative-links .link-chip) {
  background: #2d2924 !important;
  border-color: var(--achievement-line) !important;
}
body .event-heritage .event-facts,
body .event-heritage .event-facts .commemorative-row {
  border-color: var(--achievement-line) !important;
}
body .event-heritage .event-facts dt,
body .event-heritage .event-heritage-content :is(.event-heritage-lead,.commemorative-text) {
  color: var(--achievement-muted) !important;
}
body .event-heritage .event-facts :is(dd, dd a) {
  color: var(--achievement-text) !important;
  overflow-wrap: anywhere;
}
body .event-heritage .event-facts .event-award,
body .event-heritage .event-heritage-content .commemorative-text {
  background: #2d2924 !important;
  border-color: var(--achievement-line) !important;
}
body .event-heritage .commemorative-links .link-chip:hover { background: #3c342c !important; }
body .event-heritage .commemorative-links .link-chip:focus-visible,
body .event-heritage .event-facts a:focus-visible {
  outline-color: var(--achievement-highlight) !important;
}
body .profile-wrap .heritage-head-kicker,
body .profile-wrap .info-grid .info-key { color: var(--pet-pine-dark) !important; }
body .profile-wrap .photo-passport-label {
  background: #222424 !important;
  padding: 8px 10px;
}
body .profile-wrap .photo-passport-label :is(span, b) {
  color: #fffdf6 !important;
  opacity: 1 !important;
}
body .profile-wrap .pet-status-chip-lost,
body .ppub .ppub-lost {
  background: var(--pet-clay-light) !important;
  border-color: #d4a99b !important;
  color: var(--pet-clay) !important;
}
body .ppub .ppub-lost :is(.ppub-lost-ico, .ppub-lost-body b, .ppub-lost-body a) {
  color: var(--pet-clay) !important;
}
body .ppub .ppub-lost .ppub-lost-body span { color: var(--pet-ink) !important; }
body .ppub .ppub-lost .ppub-lost-body a { text-decoration: underline; }
body .ppub :is(.ppub-club,.ppub-chip-geo) {
  color: var(--pet-pine-dark) !important;
  background: var(--pet-sage) !important;
  border-color: var(--pet-line) !important;
}
@media (max-width: 560px) {
  body .event-heritage .event-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
