/* Homepage-only; shared tokens / shell / buttons live in theme.css */
.page-home h2,.page-home h3{color:var(--brand-ink)}

.home-icon{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.18em}.home-icon-fill{fill:currentColor;stroke:none}.page-home .page-hero-copy{padding-bottom:32px}.page-home .page-hero-actions{display:flex;gap:20px;margin-top:28px}.page-home .page-hero-actions .button{min-width:190px}.page-home .page-hero-actions .home-icon{margin-right:7px}.page-home .page-hero-handwriting{transform:rotate(-7deg);line-height:1.35}.page-home .home-handwriting-top{right:4%;top:124px;font-size:1.2rem}.page-home .home-handwriting-bottom{right:0;top:auto;bottom:80px;font-size:1.2rem}.page-home .page-hero[data-media-state=ready] .home-handwriting-top{display:none}.home-leaf-overlay{position:absolute;inset:0;z-index:1;background:url('/ui/leaf-overlay.webp') center/cover no-repeat;opacity:.34;pointer-events:none}.home-background-note{position:absolute;z-index:2;display:grid;place-items:center;text-align:center;color:#555;line-height:1.45}.home-background-note strong{font-size:1rem}.home-background-note span{font-family:Georgia,serif;font-size:1.35rem}.home-background-note small{font-size:.72rem}.page-home .page-hero .home-background-note{right:10%;top:57%;transform:translateY(-50%);width:32%}.home-rescue-block[data-media-state=ready] .home-background-note,.home-closing[data-media-state=ready] .home-background-note{display:none}

.home-facts{position:relative;z-index:6;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:112px;margin-top:-56px;margin-bottom:26px;padding:14px 18px;background:rgba(255,253,248,.97);border:1px solid rgba(119,82,39,.09);border-radius:18px;box-shadow:0 16px 34px rgba(79,53,28,.12)}.home-facts:has(article:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.home-facts article{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:15px;padding:0 28px;border-right:1px solid #ded2c2}.home-facts article:last-child{border:0}.home-fact-icon{width:48px;height:48px;display:grid;place-items:center;border:1.5px solid #d19a4b;border-radius:50%;background:transparent;box-sizing:border-box;color:#b87824;font-size:1.45rem}.home-fact-icon img{width:26px;height:26px;object-fit:contain;display:block}.home-facts strong{display:block;color:#9b591a;font-family:Georgia,"Songti SC",serif;font-size:2rem;line-height:1.05}.home-facts article:nth-child(4) strong{font-family:inherit;font-size:1.18rem}.home-facts p{margin:.25rem 0 0;color:#6e655b;font-size:.8rem;line-height:1.3}.home-facts small{color:#93897e;font-size:.63rem}

.home-section{padding-block:28px}.home-intro{display:grid;grid-template-columns:.96fr 1.04fr;gap:58px;align-items:center}.home-intro-copy{position:relative}.home-intro-copy p{max-width:650px;margin:.25rem 0;color:#6c635a;font-size:.95rem;line-height:1.72}.home-intro-copy .button{margin-top:18px}.home-paw-decoration{position:absolute;right:20px;bottom:-2px;opacity:.82;transform:rotate(-10deg)}.home-media-placeholder{display:grid;place-items:center;align-content:center;gap:4px;margin:0;background:linear-gradient(135deg,#d7d7d7,#b5b5b5);border:1px solid #aaa;border-radius:11px;color:#555;text-align:center;overflow:hidden}.home-media-placeholder span{font-weight:800}.home-media-placeholder strong{font-family:Georgia,serif;font-size:1.12rem}.home-media-placeholder small{font-size:.7rem}.home-intro-media{min-height:245px}

.home-store-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.home-store-card,.home-animal-card{overflow:hidden;background:rgba(255,253,248,.93);border:1px solid rgba(108,74,35,.1);border-radius:11px;box-shadow:0 8px 24px rgba(73,47,21,.07)}.home-store-card>.home-media-placeholder{height:158px;border:0;border-radius:0}.home-card-copy{padding:14px}.home-card-copy h3{margin:0;font-size:1.02rem}.home-store-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 8px}.home-store-badges{display:flex;flex-wrap:wrap;gap:5px}.home-store-badge{display:inline-flex;align-items:center;max-width:100%;padding:.18rem .45rem;border-radius:999px;font-size:.58rem;font-weight:700;line-height:1.3}.home-store-badge-douyin{background:#111;color:#fff}.home-store-badge-dianping{background:#ff6633;color:#fff}.home-card-copy p{margin:0;color:#756b61;font-size:.74rem;line-height:1.5}.home-store-meta{margin:0 0 8px}.home-store-meta p{color:#8a5a28;font-size:.66rem;line-height:1.45}.home-store-card .home-store-address{min-height:42px}.home-card-copy p .home-icon{color:var(--home-green);margin-right:5px}.home-store-card .home-card-copy>a{display:flex;align-items:center;justify-content:center;min-height:34px;margin-top:11px;background:#f8efe2;border-radius:999px;color:#5d3921;font-size:.72rem;font-weight:700}

.home-animal-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.home-animal-card>.home-media-placeholder{height:138px;border:0;border-radius:0}.home-animal-card .home-card-copy{padding:11px 12px 13px}.home-animal-card h3{font-family:inherit;font-size:.92rem}.home-animal-card h3 .home-icon{color:#ce943e;margin-right:5px}.home-animal-card h3 small{font-weight:400;color:#887c70}.home-animal-card p{min-height:1.5em;font-size:.68rem}

.home-steps ol{display:grid;grid-template-columns:repeat(5,1fr);gap:36px;margin:0;padding:0;list-style:none}.home-steps li{position:relative;padding-left:30px}.home-steps li:not(:last-child)::after{content:"›";position:absolute;right:-24px;top:42px;color:#c07b27;font-family:Georgia,serif;font-size:2rem}.home-steps em{position:absolute;left:0;top:24px;color:#c78330;font-family:Georgia,serif;font-size:.82rem;font-style:normal}.home-step-icon{width:62px;height:62px;display:grid;place-items:center;margin-bottom:12px;background:#f1dcb8;border:4px solid rgba(255,255,255,.9);outline:1px solid #deb97d;border-radius:50%;color:#ad6b1c;font-size:1.65rem}.home-steps h3{margin:0 0 4px;color:var(--home-green);font-family:inherit;font-size:.91rem}.home-steps p{margin:0;color:#7b7166;font-size:.7rem;line-height:1.45}

.home-price-rescue{display:grid;grid-template-columns:.98fr 1.15fr;gap:32px;align-items:stretch}.home-price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.home-price-grid article{padding:20px 17px;background:rgba(255,253,248,.96);border:1px solid rgba(108,74,35,.1);border-radius:10px;box-shadow:0 8px 22px rgba(73,47,21,.07)}.home-price-grid h3{margin:0;display:flex;align-items:center;gap:10px;font-family:inherit;font-size:.9rem}.home-price-icon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#f1dcb8;box-sizing:border-box}.home-price-icon img{width:26px;height:26px;object-fit:contain;display:block}.home-price-grid p{margin:.6rem 0 .25rem}.home-price-grid strong{color:#b45e0d;font-family:Georgia,serif;font-size:2rem}.home-price-grid span{color:#7e756c;font-size:.63rem}.home-rescue-block{position:relative;min-height:270px;padding:25px 38% 25px 28px;overflow:hidden;background:linear-gradient(90deg,#f6ecdc 0 61%,#c7c7c7 75%,#aaa 100%);background-size:cover;background-position:center;border-radius:12px}.home-rescue-block[data-media-state=ready]{background-image:var(--home-background)}.home-rescue-block .home-heading{margin-bottom:8px}.home-rescue-block blockquote{margin:0 0 10px;color:var(--home-green);font-family:Georgia,"Songti SC",serif;font-size:1.55rem;font-weight:700;line-height:1.35}.home-rescue-block p{margin:.2rem 0 .8rem;color:#6c635a;font-size:.78rem;line-height:1.65}.home-rescue-block .button{padding:.55rem 1.35rem;font-size:.78rem;font-weight:600;background:#fcf9f2!important;border:1px solid #d4b896!important;color:var(--home-green)!important;border-radius:999px}.home-rescue-block .home-background-note{right:3%;top:50%;width:32%;transform:translateY(-50%)}.home-butterfly{position:absolute;right:9%;top:13px;width:55px;height:42px;background:url('/ui/butterfly.svg') center/contain no-repeat}

.home-reputation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.home-reputation-grid article{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:center;padding:18px 16px;background:rgba(255,253,248,.96);border:1px solid rgba(108,74,35,.1);border-radius:14px;box-shadow:0 8px 20px rgba(73,47,21,.06)}.home-platform-logo{width:48px;height:48px;border-radius:12px;object-fit:cover;display:block}.home-platform-mark{width:40px;height:40px;display:grid;place-items:center;background:#171717;border-radius:10px;color:#fff;font-weight:800}.home-reputation-grid h3{margin:0;font-family:inherit;font-size:.92rem;font-weight:700;color:#2f2a25}.home-reputation-grid p{margin:.28rem 0;display:flex;align-items:center;gap:8px;color:#6f665d;font-size:.72rem}.home-reputation-grid strong{color:#9e5015;font-family:Georgia,serif;font-size:1.35rem;line-height:1}.home-stars{display:inline-flex;gap:3px;align-items:center}.home-stars i{width:14px;height:14px;display:inline-block;background:linear-gradient(90deg,#e8dfd2 0 100%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-2.9-5.6 2.9 1.1-6.2L3 9.6l6.2-.9L12 3Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-2.9-5.6 2.9 1.1-6.2L3 9.6l6.2-.9L12 3Z'/%3E%3C/svg%3E") center/contain no-repeat}.home-stars i.is-full{background:#e0a126}.home-stars i.is-half{background:linear-gradient(90deg,#e0a126 0 50%,#e8dfd2 50% 100%)}.home-reputation-grid small,.home-reputation-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 12px;color:#887e74;font-size:.72rem;line-height:1.45;margin-top:.2rem}.home-reputation-sales,.home-reputation-quote{display:inline}

.home-faq-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:stretch}.home-faq-card{display:flex;flex-direction:column;height:100%;padding:18px 16px;background:rgba(255,253,248,.96);border:1px solid rgba(108,74,35,.1);border-radius:14px;box-shadow:0 8px 20px rgba(73,47,21,.06)}.home-faq-head{display:grid;grid-template-columns:40px 1fr;align-items:center;gap:12px}.home-faq-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#f1dcb8;box-sizing:border-box;color:#c57013}.home-faq-icon img{width:26px;height:26px;object-fit:contain;display:block}.home-faq-icon .home-icon{width:1.85em;height:1.85em;stroke-width:1.55}.home-faq-grid strong{color:#352d27;font-size:.86rem;line-height:1.4}.home-faq-grid p{flex:1;margin:12px 0 0;color:#766c62;font-size:.72rem;line-height:1.65}

.home-closing[data-media-state=ready]{background-image:var(--home-background);background-size:cover;background-position:top center}.home-closing-inner{position:relative;min-height:150px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:28px;padding-block:18px}.home-closing[data-media-state=ready] .home-closing-inner{grid-template-columns:36% 34% 30%;padding-block:0}.home-closing .home-background-note{display:none}.home-closing-copy{grid-column:1;max-width:420px}.home-closing[data-media-state=ready] .home-closing-copy{grid-column:2;max-width:none;padding-right:12px}.home-closing-copy h2{margin:0 0 10px;font-size:clamp(1.75rem,2.4vw,2.2rem);color:var(--home-ink);letter-spacing:.02em}.home-closing-copy p{margin:0;color:#685f56;font-size:.9rem;line-height:1.7}.home-closing-actions{grid-column:2;display:flex;justify-content:flex-end;align-items:center;gap:14px;flex-wrap:wrap}.home-closing[data-media-state=ready] .home-closing-actions{grid-column:3}.home-closing-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding:.78rem 1.25rem;font-size:.84rem;font-weight:700}.home-closing-actions .button img{width:22px;height:22px;object-fit:contain;border-radius:5px;flex:0 0 auto}.home-closing-meituan{background:#fff!important;border:1px solid #cf913e!important;color:#5d3921!important}.home-closing-paw{position:absolute;right:18px;top:18px;width:42px;height:38px;background:url('/ui/paw-print.svg') center/contain no-repeat;opacity:.45;pointer-events:none}

@media(max-width:1439px) and (min-width:961px){.page-home .wrap{width:min(1240px,calc(100% - 52px))}.home-facts article{padding-inline:18px}.home-store-grid{gap:12px}.home-animal-grid{gap:10px}.home-heading h2{font-size:1.75rem}.home-price-rescue{gap:20px}.home-rescue-block{padding-left:22px}.home-closing-actions{gap:7px}}

@media(max-width:960px){.page-home .page-hero-body{max-width:46ch}.page-home .page-hero-actions{flex-wrap:wrap}.page-home .page-hero-actions .button{min-width:0}.home-leaf-overlay{opacity:.18}.home-facts{grid-template-columns:repeat(2,1fr);margin-top:-36px;padding:6px}.home-facts article{min-height:92px;padding:12px 14px}.home-facts article:nth-child(2){border-right:0}.home-facts article:nth-child(-n+2){border-bottom:1px solid #ded2c2}.home-facts strong{font-size:1.45rem}.home-intro{grid-template-columns:1fr;gap:22px}.home-intro-copy{order:1}.home-intro-media{order:2}.home-store-grid{grid-template-columns:1fr}.home-store-card{display:grid;grid-template-columns:42% 1fr}.home-store-card>.home-media-placeholder{height:100%;min-height:155px}.home-animal-grid{grid-template-columns:repeat(2,1fr)}.home-steps ol{grid-template-columns:1fr;gap:16px}.home-steps li{display:grid;grid-template-columns:48px 1fr;gap:0 14px;padding-left:0}.home-steps li:not(:last-child)::after{content:"↓";left:20px;right:auto;top:auto;bottom:-18px}.home-steps em{position:static;grid-row:1/3;align-self:center}.home-step-icon{width:48px;height:48px;grid-column:1;grid-row:1/3;margin-left:36px}.home-steps h3,.home-steps p{grid-column:2}.home-price-rescue{grid-template-columns:1fr}.home-rescue-block{padding-right:36%;min-height:300px}.home-reputation-grid,.home-faq-grid{grid-template-columns:1fr}.home-closing-inner,.home-closing[data-media-state=ready] .home-closing-inner{grid-template-columns:1fr;padding-block:28px;gap:16px}.home-closing-copy,.home-closing-actions,.home-closing[data-media-state=ready] .home-closing-copy,.home-closing[data-media-state=ready] .home-closing-actions{grid-column:1;max-width:none}.home-closing-actions{justify-content:flex-start}.home-closing-paw{right:10px}}

@media(max-width:480px){.page-home .page-hero-actions{display:grid;grid-template-columns:1fr}.home-facts article{grid-template-columns:42px 1fr}.home-fact-icon{width:38px;height:38px}.home-store-card{grid-template-columns:1fr}.home-store-card>.home-media-placeholder{height:160px}.home-animal-card>.home-media-placeholder{height:112px}.home-price-grid{grid-template-columns:1fr}.home-rescue-block{padding:24px;min-height:380px}.home-rescue-block .home-background-note{right:8%;top:auto;bottom:25px;width:84%;transform:none}.home-closing-actions{display:grid}.home-closing-actions .button{width:100%}}

/* Homepage-only hover extras */
.page-home .home-store-card .home-card-copy>a,
.page-home .home-closing-douyin,
.page-home .home-closing-meituan{
  transition:background-color .22s ease,border-color .22s ease,color .22s ease,box-shadow .22s ease,transform .22s ease,opacity .22s ease
}
.page-home .home-closing-douyin:hover,
.page-home .home-closing-douyin:focus-visible{
  background:var(--brand-green-deep)!important;
  border-color:var(--brand-green-deep)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(7,91,71,.24);
  transform:translateY(-1px)
}
.page-home .home-closing-meituan:hover,
.page-home .home-closing-meituan:focus-visible{
  background:#fff8ee!important;
  border-color:var(--brand-gold-deep)!important;
  color:#7a4714!important;
  box-shadow:0 8px 20px rgba(165,99,26,.14);
  transform:translateY(-1px)
}
.page-home .home-store-card .home-card-copy>a:hover,
.page-home .home-store-card .home-card-copy>a:focus-visible{
  background:#ead7bc;
  color:#3f2616;
  transform:translateY(-1px)
}
.page-home .home-heading-link>a:hover,
.page-home .home-heading-link>a:focus-visible{
  color:var(--brand-green-deep);
  opacity:.86
}
@media (hover:none){
  .page-home .home-closing-douyin:hover,
  .page-home .home-closing-meituan:hover,
  .page-home .home-store-card .home-card-copy>a:hover{
    transform:none
  }
}

/* 第二轮：动物卡整卡可点击、救助理念数据条 */
a.home-animal-card{display:block;color:inherit;text-decoration:none}
a.home-animal-card:hover .home-card-copy h3{color:var(--brand-green-deep)}
.home-rescue-stats{display:flex;flex-wrap:wrap;gap:10px 24px;list-style:none;margin:6px 0 4px;padding:0}
.home-rescue-stats li{display:flex;flex-direction:column;gap:2px}
.home-rescue-stats strong{font-family:Georgia,"Songti SC",serif;font-size:1.3rem;color:var(--home-ink)}
.home-rescue-stats span{font-size:.66rem;color:#7e756c}
.home-rescue-stats mark.placeholder{font-size:.72rem}
