/* Warm paper, terracotta entry and individual animal palettes. */
:root{--paper:#faf7f2;--white:#fffdf9;--ink:#302c35;--green:#c34e2e;--lime:#f7dfcf;--muted:#76717a;--line:#e9e2d9;--orange:#c34e2e;--sans:"PingFang SC","Microsoft YaHei UI","Microsoft YaHei",sans-serif}
body,.is-home,.is-public:not(.is-home){background:var(--paper);color:var(--ink)}
h1,h2,h3{font-family:var(--sans)}.brand-icon{border-radius:10px}.button{border-radius:13px}.button:hover{background:#a94126}.button.secondary:hover{background:#f6ebe1}.text-input{border-color:#ded5cb;background:var(--white);border-radius:13px}.text-input:focus{border-color:var(--green)}.info-box,.form-sheet{border-radius:16px;background:var(--white)}
.is-public:not(.is-home) .info-box,.is-public:not(.is-home) .icon-button{background:#f4ece3}.is-public:not(.is-home) .hint,.is-public:not(.is-home) .quiet,.is-public:not(.is-home) footer a,.is-public:not(.is-home) .question-number,.is-public:not(.is-home) .test-top{color:var(--muted)}
.is-public:not(.is-home) .option{background:var(--white);border-color:var(--line)}.is-public:not(.is-home) .option[aria-checked=true]{background:#fbeadd;border-color:var(--green)}.is-public:not(.is-home) .option .circle{border-color:#cbbfb2}.is-public:not(.is-home) .progress{background:#e9e2d9}.is-public:not(.is-home) .review-grid button{border-color:var(--line)}.is-public:not(.is-home) .review-grid button.done{background:#fbeadd;border-color:#d4a48b}.is-public:not(.is-home) .test-dock{background:#faf7f2f5;border-color:var(--line)}
.is-home .masthead{padding-bottom:8px}.is-home main{padding-top:24px}.landing h1{font-size:34px;margin-bottom:12px}.landing h1 em{color:var(--green);font-weight:600}.landing-intro{font-size:13px;color:var(--muted);line-height:1.9}.landing-meta{color:var(--muted);font-size:11px}.landing-meta span+span:before{background:#c6b7a8}.landing-animals{display:flex;height:146px;align-items:center;margin:8px -12px}.landing-animals img{width:38%;height:146px;object-fit:contain;margin-left:-6%;min-width:0}.landing-animals img:first-child{margin-left:0;transform:rotate(-6deg)}.landing-animals img:last-child{transform:rotate(5deg)}.landing .entry-form{margin-top:24px}.landing-boundary{color:var(--muted)}
.is-story{background:var(--paper)}.animal-report{--story-bg:#fffdf9;max-width:480px;--green:var(--accent);--paper:#fffdf9;--line:#e9e2d9;--muted:#76717a}
.animal-report .story-brand{font-size:13px}.animal-report .story-brand span{display:none}.animal-report .story-header{padding-left:22px;padding-right:22px}.animal-report .story-scroll{scrollbar-color:#d5c9ba transparent}.animal-report .story-page{padding:22px 24px 30px}.animal-report .story-0{background:transparent;color:var(--ink);margin:0;border-radius:0;min-height:100%;padding:18px 22px 26px}.animal-report .story-0:before,.animal-report .story-0:after{display:none}
.animal-report .story-heading{font-size:28px;font-weight:600;letter-spacing:-.6px}.animal-report .story-kicker{color:var(--muted);font-size:11px;letter-spacing:1px}.animal-report .story-progress button>span{background:var(--line)}.animal-report .story-progress button.read>span{background:var(--accent);opacity:.4}.animal-report .story-progress button[aria-current]>span{opacity:1}.animal-report .story-controls{background:var(--story-bg);border-color:var(--line);padding:10px 20px max(12px,env(safe-area-inset-bottom))}.animal-report .story-page-label{color:var(--muted);font-size:10px;letter-spacing:0}.animal-report .story-control-row{gap:9px}.animal-report .story-prev{flex-basis:42px;border-radius:13px;border-color:var(--line);font-size:18px}.animal-report .story-next{border-radius:13px;font-size:12px;padding:10px 14px;justify-content:center;gap:8px;background:var(--accent);color:#fff}.animal-report .story-next:hover{filter:brightness(.92)}.story-share{border-radius:13px;background:var(--tint);color:var(--accent);font-size:11px;padding:10px 12px;min-height:48px;flex:none}
.animal-identity{background:var(--tint);color:var(--animal-ink);border-radius:24px;padding:20px 20px 22px}.animal-topline{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px;color:var(--accent)}.animal-topline>span:first-child{letter-spacing:1px}.animal-state{border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);padding:2px 8px;border-radius:20px;white-space:nowrap}.animal-art{height:215px;display:flex;align-items:center;justify-content:center;margin:0 -12px}.animal-art img{width:100%;height:100%;object-fit:contain;min-width:0}.animal-art.animal-dual img{width:48%}.animal-dual b{font-size:18px;font-weight:400}.animal-name{font-size:33px;line-height:1.4;letter-spacing:-.6px;font-weight:700}.animal-mixed-name{font-size:25px}.animal-line{font-size:16px;line-height:1.8;margin-top:7px;font-weight:500}.animal-description{font-size:13px;line-height:1.95;margin-top:14px}.animal-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.animal-tags span{background:#ffffff88;font-size:10px;padding:4px 8px;border-radius:8px}.animal-motivation{font-size:11px;margin:16px 0 0}.animal-motivation strong{font-weight:500;color:var(--accent);margin-left:7px}.animal-footnote{font-size:11px!important;color:var(--muted);line-height:1.9;margin:14px 0 0}.animal-companion{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff88;margin-top:14px;padding-top:10px}.animal-companion img{width:74px;height:58px;object-fit:contain}.animal-companion p{font-size:11px;line-height:1.7}.animal-companion strong{display:block;font-size:14px}
.animal-report .coordinate-track{background:var(--tint)}.animal-report .coordinate-dot{background:var(--accent)}.animal-report .story-coordinate .coordinate-head small{color:var(--muted)}.animal-report .story-moment>span,.animal-report .story-card-number,.animal-report .story-role{color:var(--accent)}.animal-report .story-motif{display:none}.animal-report .story-moment p{font-size:14px}.animal-report .story-mini-card{border:0;background:var(--tint);border-radius:16px}.animal-report .story-mini-card p{color:var(--ink)}.animal-report .story-mini-card h2{font-size:16px}.animal-report .advice-cards .story-mini-card{background:transparent;border-radius:0;border-top:1px solid var(--line)}.animal-report .story-role:after{display:none}.animal-report .story-aside{border-color:var(--accent);color:var(--muted)}.animal-report .story-quote{font-size:14px}.animal-report .story-motivations>div,.animal-report .story-motivations>div:nth-child(2){background:var(--tint);border:0;border-radius:18px;min-height:120px}.animal-report .story-motivations strong{font-size:25px;color:var(--accent)}.animal-report .story-directory button[aria-current]{background:var(--tint)}.animal-report .story-dialog{border-color:var(--line);background:var(--story-bg);border-radius:22px}.animal-report .story-dialog::backdrop,.animal-dialog::backdrop{background:#302c3570;backdrop-filter:blur(3px)}
.animal-dialog{width:calc(100% - 32px);max-width:440px;max-height:90dvh;padding:20px;border:1px solid #e9e2d9;border-radius:22px;background:#fffdf9;color:#302c35;overflow:auto}.animal-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:10px}.animal-dialog h2{font-size:20px}.animal-close{background:transparent;color:inherit;font-size:24px;min-width:44px;min-height:44px}.animal-share-preview canvas,.animal-share-preview img{display:block;width:100%;height:auto;border-radius:16px}.animal-share-preview{margin-top:14px}.animal-share-actions{display:flex;gap:10px}.animal-share-actions .button{flex:1;min-width:0;padding:12px 10px;font-size:13px}.animal-share-status{font-size:12px;line-height:1.8;color:var(--muted)}.animal-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.animal-gallery article{background:var(--card-tint);color:var(--card-ink);border-radius:16px;padding:12px}.animal-gallery img{display:block;width:100%;height:120px;object-fit:contain}.animal-gallery h3{font-size:17px}.animal-gallery p{font-size:11px;line-height:1.8;margin:6px 0 0}.animal-copy-text{width:100%;min-height:100px;font:inherit;margin-top:12px}
@media(max-width:360px){.animal-report .story-page{padding-left:18px;padding-right:18px}.animal-identity{padding:18px 16px}.animal-art{height:180px}.animal-name{font-size:29px}.animal-mixed-name{font-size:23px}.animal-line{font-size:14px}.animal-description{font-size:12px}.animal-report .story-controls{padding-left:16px;padding-right:16px}.animal-report .story-next{font-size:11px;padding:10px}.story-share{font-size:10px;padding:10px}.animal-report .story-motivations strong{font-size:21px}.animal-report .story-coordinate .coordinate-head{align-items:flex-start;flex-direction:column;gap:2px}.is-home .landing h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.story-ending{padding-top:6px}.ending-art{display:flex;justify-content:center;align-items:center;height:175px;margin:0 0 16px}.ending-art img{width:65%;height:100%;object-fit:contain}.ending-art img+img{margin-left:-12%;width:52%}.ending-art:has(img+img) img:first-child{width:52%}.story-ending .story-heading{margin-bottom:20px}.story-ending .story-quote{margin-bottom:26px}.story-ending .button{margin-top:12px}.story-ending>.quiet{display:block;margin:20px auto 8px}.story-share[hidden]{display:none}.option:disabled{opacity:1;cursor:wait}.option:disabled:not([aria-checked=true]){opacity:.65}.test-nav .button:disabled{cursor:default}
@media(max-height:650px){.ending-art{height:120px;margin-bottom:8px}}
.animal-description p+p{margin-top:12px}.animal-description .animal-closing{font-weight:600;margin-top:16px;line-height:1.85}
.report-detail{margin-top:18px}.report-detail h2{font-size:14px;line-height:1.7;margin:0 0 7px;font-weight:600}.report-detail p+p{margin-top:10px}.animal-report .story-moment .story-details p,.animal-report .story-mini-card .story-details p{font-size:12px;line-height:1.95}.animal-report .story-moment .story-details{margin-top:14px}.animal-report .story-mini-card .story-details{margin-top:12px}
