:root { color-scheme: light; --ink: #253c35; --muted: #7b8580; --accent: #3b715c; }
* { box-sizing: border-box; }
body { margin: 0; background: #f7f5f0; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .4; }
a:focus-visible, button:focus-visible { outline: 3px solid #b68023; outline-offset: 4px; }
[hidden] { display: none !important; }
.page { max-width: 1240px; margin: auto; padding: 0 40px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 14px; }
.brand strong { display: block; font-size: 19px; letter-spacing: 2px; }
.brand small { display: block; margin-top: 5px; font-size: 11px; letter-spacing: 1px; color: var(--muted); }
.header-note { font-size: 12px; color: var(--muted); }
.header-note span { color: #b88d58; margin-right: 6px; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 8px 0 48px; padding: 42px; border: 1px solid #e4e9dc; border-radius: 28px; background: #edf2e7; }
.eyebrow { margin: 0 0 10px; color: #6f8464; font-size: 11px; letter-spacing: 2px; }
h1 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.6; font-weight: 600; letter-spacing: 1px; }
h1 span { color: var(--accent); }
.mobile-break { display: none; }
.intro-description { margin: 12px 0 0; color: #75826f; font-size: 14px; line-height: 1.8; }
.intro-decoration { display: flex; flex-shrink: 0; align-items: center; gap: 12px; transform: rotate(-5deg); }
.intro-decoration span { display: grid; place-items: center; width: 62px; height: 76px; background: #ffffffa6; border: 1px solid #fff; border-radius: 16px; color: #86917c; font-size: 16px; }
.intro-decoration i { font-style: normal; color: #a4af9c; }
.intro-decoration .home-word { background: #3b715c; color: #fff; transform: rotate(10deg); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: 23px; font-weight: 600; }
.section-note { color: var(--muted); font-size: 12px; }
.pet-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pet-card { display: grid; grid-template-rows: 4fr 1fr; min-width: 0; aspect-ratio: 4 / 6; overflow: hidden; border: 1px solid #e7e9e1; border-radius: 20px; background: #fff; transition: transform .2s, box-shadow .2s; }
.pet-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #253c3510; }
.pet-media { position: relative; min-height: 0; overflow: hidden; background: #e9e9df; }
.pet-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pet-card:hover .pet-media img { transform: scale(1.035); }
.pet-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 8px; background: #fffffff0; color: #3b715c; font-size: 11px; font-weight: 600; backdrop-filter: blur(8px); }
.pet-badge.ended { background: #f3f1edf0; color: #77756f; }
.pet-location { position: absolute; bottom: 0; inset-inline: 0; padding: 24px 12px 10px; background: linear-gradient(transparent, #17291f88); color: #fff; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pet-copy { display: flex; align-items: center; min-height: 0; padding: 10px 14px; }
.pet-copy p { display: -webkit-box; margin: 0; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.photo-fallback { display: grid; place-content: center; height: 100%; gap: 8px; text-align: center; color: #89927d; background: #e9eee2; font-size: 12px; }
.photo-fallback span { font-size: 36px; color: #a4b296; }
.status { color: var(--muted); font-size: 13px; line-height: 1.8; }
.status:not(:empty) { margin: 0 0 18px; }
.message-panel { padding: 40px 16px; text-align: center; border: 1px dashed #d8dece; border-radius: 20px; color: var(--muted); }
.message-panel button { padding: 10px 20px; margin-top: 8px; border: 0; border-radius: 10px; background: var(--accent); color: white; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 36px 0 48px; }
.pagination button { padding: 11px 18px; border: 1px solid #dfe3d8; border-radius: 12px; background: #fff; color: var(--ink); font-size: 13px; }
.pagination button:not(:disabled):hover { background: #edf2e7; border-color: #9ab39b; }
#page-number { color: var(--muted); font-size: 13px; }
.app-banner { display: flex; align-items: center; gap: 16px; padding: 24px 28px; border: 1px solid #e4e9dc; border-radius: 20px; background: #edf2e7; }
.app-banner-content { display: flex; align-items: center; gap: 16px; min-width: 0; }
.app-banner-icon { flex-shrink: 0; border-radius: 14px; }
.app-download { flex-shrink: 0; margin: 0 0 0 auto; text-align: center; }
.app-download-frame { padding: 10px; border-radius: 14px; background: #fff; }
.app-download img { display: block; width: 128px; height: 128px; }
.app-download figcaption { margin-top: 10px; font-size: 11px; color: #75826f; line-height: 1.6; }
.app-banner h2 { margin: 0; font-size: 17px; font-weight: 600; }
.app-banner p { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: #75826f; }

footer { padding: 32px 0 max(32px, env(safe-area-inset-bottom)); text-align: center; color: #969d91; font-size: 11px; letter-spacing: 1px; }
.skeleton { border-color: #e7e9e1; pointer-events: none; }
.skeleton .pet-media { background: linear-gradient(100deg, #e8eadd 30%, #f2f3eb 50%, #e8eadd 70%); background-size: 200% 100%; animation: shimmer 1.6s infinite; }
.skeleton .pet-copy::after { content: ''; width: 85%; height: 24px; border-radius: 6px; background: #f0f1e9; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 1000px) { .pet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .intro-decoration { display: none; } .pet-copy { padding: 8px 10px; } .pet-copy p { font-size: 13px; line-height: 18px; } }
@media (max-width: 640px) {
    .page { padding: 0 16px; }
    .site-header { padding: 22px 2px; }
    .brand strong { font-size: 17px; }
    .brand small { font-size: 10px; letter-spacing: 0; }
    .header-note { font-size: 10px; }
    .header-note span { display: none; }
    .intro { padding: 26px 22px; margin: 4px 0 32px; border-radius: 22px; }
    .mobile-break { display: initial; }
    h1 { font-size: 28px; }
    .intro-description { font-size: 12px; max-width: 240px; }
    .section-heading { margin-bottom: 18px; }
    .section-heading h2 { font-size: 20px; }
    .section-note { display: none; }
    .pet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .pet-card { border-radius: 14px; }
    .pet-copy { padding: 7px 9px; }
    .pet-copy p { font-size: 12px; line-height: 16px; }
    .pet-badge { top: 8px; left: 8px; padding: 5px 8px; font-size: 10px; }
    .pet-location { font-size: 10px; padding-left: 9px; }
    .pagination { gap: 16px; margin: 28px 0 32px; }
    .pagination button { padding: 10px 14px; }
    .app-banner { flex-direction: column; align-items: stretch; padding: 24px 16px; gap: 22px; }
    .app-banner-content { gap: 12px; }
    .app-download { align-self: center; margin: 0; }
    .app-banner h2 { font-size: 14px; }
}
@media (max-width: 360px) { .pet-copy { padding: 4px 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.icp-link { display: inline-block; margin-top: 10px; color: inherit; line-height: 1.8; letter-spacing: 0; }
.icp-link:hover { color: var(--accent); text-decoration: underline; }
