@font-face{font-family:ShuHei;src:url('assets/heading.woff2') format('woff2');font-display:swap}:root{--green:#BFD650;--ink:#4c5b08;--body:#292d22;--pale:#edf1d4;--white:#fffefc}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--white);color:var(--body);font:16px/1.65 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft Yahei',sans-serif}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2{color:var(--ink)}
button{border:0}header{height:90px;max-width:1380px;padding:0 5%;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:7px;color:var(--green);font-size:23px;font-weight:800;letter-spacing:-.8px}.brand>span:last-child{font-size:18px}.paw{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:50%;background:var(--green);color:white;font-size:34px;line-height:1}nav{display:flex;align-items:center;gap:38px}.pill{display:inline-flex;justify-content:center;align-items:center;gap:25px;border-radius:50px;background:var(--green);color:var(--ink);padding:14px 30px;font-weight:700;transition:transform .2s,background .2s}.pill:hover{background:#cee368;transform:translateY(-3px)}.pill span{font-size:19px}.menu{display:none}.hero{text-align:center;padding-top:60px;overflow:hidden}.hero-label,.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#929b66}.hero-label{display:flex;gap:9px;justify-content:center;align-items:center}.hero-label>span{width:7px;height:7px;border-radius:50%;background:var(--green)}h1{margin:22px 0 12px;position:relative;display:inline-block}.spark{position:absolute;font-family:sans-serif;right:-65px;top:-27px;font-size:64px;color:var(--green);transform:rotate(10deg)}.hero-sub{color:#7e836b}.pet-stage{position:relative;margin:52px auto 0;height:627px;max-width:1600px}.phone{position:relative;z-index:2;width:358px;height:627px;margin:auto;border:9px solid #e9e8e2;border-bottom:0;border-radius:53px 53px 0 0;background:white;box-shadow:0 0 0 2px #deded6;overflow:hidden;text-align:left}.phone-top{position:absolute;top:12px;left:20px;right:20px;display:flex;justify-content:space-between;z-index:3;font-size:12px;font-weight:700;color:#252721}.dog-photo{background-image:url('assets/reference.jpg');background-size:240% auto;background-position:50% 7.85%;background-color:#ded9ca}.phone .dog-photo{height:388px}.photo-tag{position:absolute;top:66px;left:16px;padding:5px 9px;border-radius:20px;background:#ffffffb8;font-size:10px}.like{position:absolute;top:304px;right:16px;border-radius:50%;background:white;color:#dc4c36;font-size:24px;width:34px;height:34px;display:grid;place-items:center;line-height:1}.like[aria-pressed=true]{color:#e23c38}.pet-info{padding:21px 20px;background:white;border-radius:26px 26px 0 0;position:relative;margin-top:-22px}.pet-heading{display:flex;justify-content:space-between;align-items:center}.pet-heading h3{font-size:23px;color:#30332a}.pet-heading h3 small{font-size:16px}.available{font-size:10px;color:#7e9b26;background:#f0f5db;padding:3px 8px;border-radius:5px}.pet-info p{font-size:10px;color:#8a8c7f;margin:7px 0 15px}.pet-tags{display:flex;justify-content:space-between;border:1px solid #eeeee7;border-radius:9px;padding:10px 7px;font-size:10px}.pet-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9a9f87;margin-top:15px}.pet-bottom button{border-radius:50%;background:#f1f5df;width:32px;height:32px;font-size:20px;color:var(--ink)}.pet-rail{position:absolute;display:flex;gap:23px;left:50%;transform:translateX(-50%);top:90px;align-items:center;width:max-content}.pet-tile{width:154px;height:223px;position:relative;border-radius:10px;overflow:hidden;text-align:left;background:#687c65;box-shadow:0 7px 20px #3d451512;transition:transform .25s}.pet-tile:nth-child(even){transform:translateY(32px)}.pet-tile:hover{transform:translateY(-9px) rotate(-2deg)}.pet-tile img{width:100%;height:100%;object-fit:cover;opacity:.95}.pet-tile .tile-info{position:absolute;bottom:0;color:white;width:100%;padding:18px 11px 9px;background:linear-gradient(transparent,#253a2be0);font-size:11px}.pet-tile b{font-size:16px;display:block}.pet-tile em{position:absolute;top:9px;left:8px;background:#dde7b9;color:var(--ink);padding:1px 6px;border-radius:3px;font-style:normal;font-size:9px}.hero-cta{position:absolute;top:390px;left:calc(50% + 115px);z-index:4;font-size:20px;padding:16px 35px;box-shadow:0 8px 25px #64751012}.mini-card{position:absolute;right:7%;top:315px;display:grid;gap:10px;padding:18px;background:#eaf0cf;border-radius:11px;color:var(--ink);font-size:11px}.mini-card>span:first-child{font-size:14px;font-weight:700}.qr-art{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;color:var(--green);font-size:51px;background:repeating-conic-gradient(#59623c 0 2deg,white 2deg 8deg);border:9px solid white;outline:1px solid #e4e8d5;text-shadow:2px 2px white,-2px -2px white}.hero-note{position:absolute;left:10%;bottom:74px;display:flex;gap:10px;align-items:center;font-size:12px;color:#949b7d;transform:rotate(-5deg)}.little-paw{font-size:40px;color:var(--green)}.press{background:linear-gradient(#f4f7e4,#fffefc);padding:32px 8% 43px;text-align:center}.press>p{color:#6c7549;margin-bottom:27px}.press p small{font-size:9px;opacity:.5}.press>div{max-width:1050px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:35px;color:#777b73;filter:grayscale(1);opacity:.8}.press b{font-size:30px;letter-spacing:-1px}.press .scmp{font-size:33px;line-height:1}.scmp span{display:block;font:700 8px Georgia;letter-spacing:0}.press .vista{font-size:24px;font-family:serif}.press .news{background:#797d72;color:white;padding:1px 8px;font-size:25px}.press .seoul{font-size:25px}.seoul small{display:block;font:6px sans-serif;letter-spacing:1px}.wrap{max-width:1190px;margin:auto;padding-left:40px;padding-right:40px}.about{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;padding-top:110px;padding-bottom:110px}.about h2{margin:16px 0 23px}
.stats{display:flex;gap:48px;margin-top:45px}.stats strong{font-size:39px;line-height:1.2;color:#292d22;letter-spacing:-2px}.stats strong small{font-size:23px}.stats span{display:block;font-size:12px;margin-top:10px;font-weight:600}.reference-note{display:block;color:var(--color-text-muted);margin-top:17px}.about-art{height:430px;position:relative}.walk-photo{height:400px;width:400px;max-width:100%;border-radius:50%;background-image:url('assets/reference.jpg');background-size:265% auto;background-position:94% 27.9%;background-color:#8f9e77}.floating-note{position:absolute;bottom:0;left:-30px;border:1px solid #edf0df;background:#fffefc;padding:15px 23px;border-radius:12px;box-shadow:0 12px 35px #4f65100b;font-size:14px}.floating-note>span{color:var(--green);font-size:25px;margin-right:10px}.floating-note small{display:block;font-size:7px;letter-spacing:2px;margin-left:36px;color:#a1a78c}.orbit{position:absolute;right:-10px;top:0;width:101px;height:101px;border:1px solid #bdce7c;border-radius:50%;background:#f1f5df;display:grid;place-content:center;text-align:center;font-size:12px;transform:rotate(13deg);color:var(--ink)}.how{background:linear-gradient(#35472b70,#35472b70),url('assets/reference.jpg') center 42%/100% auto;padding:70px 0 55px;text-align:center;color:white}.how h2{color:white;margin:12px 0}.how .eyebrow{color:#e7edcb}.how>.wrap>p{opacity:.9}.steps{display:grid;grid-template-columns:repeat(3,1fr);margin-top:40px;border-radius:20px;background:#edf1d9dc;padding:30px 15px;backdrop-filter:blur(6px);color:var(--ink)}.steps button{background:none;padding:5px 15px 13px;border-right:1px solid #bdc89255}.steps button:last-child{border:0}.steps button>span{width:65px;height:65px;display:grid;place-items:center;background:#f9fce9;border:2px solid var(--green);border-radius:50%;margin:0 auto 18px;font-size:23px;transition:.2s}.steps button[aria-selected=true]>span{background:var(--green);box-shadow:0 0 0 7px #c8dc6e33}.steps h3{font-size:17px;margin-bottom:10px}.steps p{font-size:13px;line-height:1.9}.step-detail{margin:23px 0 0;min-height:25px}.step-detail a{margin-left:15px;border-bottom:1px solid #ffffff80}.care{padding-top:95px;padding-bottom:100px;text-align:center}.care h2{margin:15px 0 60px}.care-layout{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:85px;text-align:left}.care-copy{padding:30px 0}.care-copy h3{font-family:ShuHei;font-size:36px;color:#6a7544;line-height:1.4}.care-copy>p{font-size:14px;color:#83886d;margin:20px 0}.care-tabs{display:flex;gap:8px;margin-top:25px}.care-tabs button{border:1px solid #dfe5c6;padding:8px 12px;background:white;border-radius:25px;font-size:11px}.care-tabs .active{background:var(--green);border-color:var(--green);color:var(--ink)}.care-detail{min-height:65px;max-width:340px}.care-visual{position:relative;height:430px}.care-dog{height:360px;width:345px;border-radius:26px;box-shadow:0 8px 25px #444b1920}.document-card{position:absolute;top:32px;left:-110px;display:flex;align-items:center;gap:12px;background:#e8edca;border-radius:7px;padding:15px;font-size:20px}.document-card div{font-size:10px;font-weight:700}.document-card small{display:block;font-size:7px;color:#98a167}.document-card>span{font-size:12px;color:#a0b43d}.id-card{position:absolute;right:-5px;top:25px;width:127px;height:150px;box-shadow:0 7px 17px #38411025;background:white;border:1px solid #dfe7bc;border-radius:7px;padding:12px;color:#a7c33d}.id-card>span{position:absolute;font-size:25px;top:1px}.id-card div{font-size:85px;line-height:1;color:#e3e8d0;text-align:center}.id-card small{font-size:9px;color:#a5ad8b}.id-card b{float:right;font-size:12px}.personality{position:absolute;left:-90px;bottom:0;width:230px;padding:18px;background:white;border:1px solid #dbe5ad;border-radius:14px;box-shadow:0 6px 14px #38411015}.personality>p{font-size:11px;color:#a1b73d}.traits{display:flex;justify-content:space-between;margin-top:13px}.traits span{font-size:10px;color:#9ba183;display:grid;text-align:center;gap:9px}.traits i{display:block;height:63px;width:3px;background:#edf0e1;margin:auto;position:relative}.traits i:after{content:'';position:absolute;top:var(--pos);left:-3px;width:9px;height:9px;background:#a9c534;border-radius:50%;box-shadow:0 2px 5px #6e812333}.stories{padding:55px 0 45px}.story-title{display:flex;justify-content:space-between;align-items:flex-end}.story-title h2{margin:13px 0 16px}.story-title p{color:var(--color-text-secondary)}.arrows{display:flex;gap:10px;padding-bottom:8px}.arrows button,.back-top{border:1px solid #cfd9a5;background:transparent;color:var(--ink);width:42px;height:42px;display:grid;place-items:center;border-radius:50%;font-size:20px}.arrows button:hover{background:var(--green)}.story-band{margin-top:32px;background:linear-gradient(#78945266,#78945266),url('assets/reference.jpg') center 75%/100% auto;padding:30px 0}.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.story{background:#fffefb;border-radius:17px;padding:25px;min-height:223px}.quote{font:40px Georgia;color:var(--green);line-height:.8}.story p{font-size:13px;line-height:1.9;min-height:80px;margin:10px 0 15px}.story-person{display:flex;gap:12px;align-items:center}.story-avatar{width:37px;height:37px;display:grid;place-items:center;background:#eaf0d0;border-radius:50%;font-size:19px}.story-person b{display:block}.story-person small{color:var(--color-text-muted)}.stars{color:#afca3b;letter-spacing:3px;font-size:13px}.story-disclaimer{text-align:right;max-width:1150px;margin:8px auto;color:var(--color-text-muted);padding:0 20px}.faq{display:grid;grid-template-columns:1fr 1.2fr;gap:60px;padding-top:70px;padding-bottom:100px}.faq h2{margin-top:15px}.faq details{border-bottom:1px solid #e4e8d4;padding:18px 0}.faq summary{list-style:none;display:flex;justify-content:space-between;cursor:pointer;color:var(--ink)}.faq summary::-webkit-details-marker{display:none}.faq summary>span{color:#a4bc3d;font-size:22px;line-height:1}.faq details p{color:var(--color-text-muted);margin:15px 30px 0 0}.closing{background:linear-gradient(#fcfdf6,#bfd65a);padding:65px 0 30px}.closing-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px}.closing h2{margin:16px 0 28px}.closing img{width:100%;mix-blend-mode:multiply}.closing .pill{font-size:13px}.back-top{align-self:center;margin-left:15px}.menu{background:transparent;font-size:25px}dialog{border:1px solid #e3e9ce;border-radius:25px;width:510px;max-width:calc(100% - 30px);padding:40px;box-shadow:0 25px 80px #28310c30;color:var(--body);background:var(--white)}dialog::backdrop{background:#28321670;backdrop-filter:blur(5px)}dialog h2{margin:16px 0 12px}dialog .close{position:absolute;right:17px;top:10px;font-size:28px;background:none;color:#92997a}.dialog-intro{color:var(--color-text-muted);margin-bottom:25px}form label{display:grid;font-size:12px;gap:7px;margin-bottom:17px;font-weight:600}input,select{width:100%;min-width:0;padding:11px;border:1px solid #dfe5c7;border-radius:8px;background:white;color:#626c45;font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkbox{display:flex;align-items:flex-start;gap:8px;font-size:11px;font-weight:400}.checkbox input{width:14px;margin:3px 0;accent-color:var(--green)}form>.pill{width:100%;font-size:14px}form>small{font-size:9px;display:block;text-align:center;margin-top:13px;color:#9da389}#bookingResult p{font-size:14px;line-height:2}#bookingResult .success-icon{font-size:50px;color:#9eb82e}#bookingResult .pill{margin-top:25px;font-size:13px}#info{text-align:center}#info p{font-size:14px;margin:15px 0 25px;color:var(--color-text-secondary)}#info>.paw{margin:auto}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#4c5b08;color:white;border-radius:30px;font-size:12px;padding:12px 24px;opacity:0;pointer-events:none;transition:.2s;z-index:10}#toast.visible{opacity:1;transform:translate(-50%,0)}:focus-visible{outline:3px solid var(--green);outline-offset:4px}@media(min-width:1500px){.mini-card{right:12%}}@media(max-width:1000px){.mini-card{right:3%;transform:scale(.85)}.hero-note{left:4%}.about{gap:40px}.stats{gap:25px}.about-art{height:350px}.walk-photo{height:330px;width:330px}.care-layout{gap:50px}.care-dog{width:300px;height:350px}.id-card{right:-15px}.document-card{left:-50px}.personality{left:-60px}.spark{right:-42px;font-size:40px}.pet-tile{width:130px;height:190px}}@media(max-width:700px){header{height:73px;padding:0 22px}.brand{font-size:20px}.brand>span:last-child{font-size:15px}nav{gap:18px}nav>a{display:none}nav .pill{font-size:11px;padding:10px 17px}.hero{padding-top:38px}.hero-label{font-size:9px;letter-spacing:1.5px}h1{margin-top:18px}.spark{right:-16px;top:-22px;font-size:28px}
.pet-stage{height:548px;margin-top:36px}.phone{width:290px;height:548px;border-width:7px;border-radius:42px 42px 0 0}.phone .dog-photo{height:325px}.pet-info{padding:18px 16px}.pet-heading h3{font-size:21px}.like{top:253px}.pet-rail{top:65px;gap:14px}.pet-tile{width:118px;height:175px}.hero-cta{top:311px;left:calc(50% + 43px);padding:12px 22px;font-size:15px;gap:12px}.mini-card,.hero-note{display:none}.press{padding:27px 20px 30px}.press>div{gap:15px;flex-wrap:wrap;justify-content:center}.press b{font-size:22px}.press .scmp{font-size:24px}.press .vista,.press .news,.press .seoul{font-size:18px}.scmp span{font-size:6px}.press>p{margin-bottom:20px}.wrap{padding-left:25px;padding-right:25px}.about{padding-top:65px;padding-bottom:65px;gap:40px;grid-template-columns:1fr}.eyebrow{font-size:8px;letter-spacing:1.5px}

.stats{gap:40px;margin-top:30px}.stats strong{font-size:35px}.about-art{height:320px;max-width:350px;margin:0 auto;width:100%}.walk-photo{height:300px;width:300px;margin:auto}.floating-note{left:0}.orbit{right:0;width:85px;height:85px;font-size:10px}.how{padding:50px 0 35px;background-size:auto,200% auto}
.steps{gap:0;padding:23px 5px;margin-top:26px;border-radius:14px}.steps button{padding:0 6px 10px}.steps button>span{height:45px;width:45px;font-size:18px;margin-bottom:14px}.steps h3{font-size:13px}.steps p{font-size:10px}
.step-detail a{display:block;margin:5px auto 0;width:max-content}.care{padding-top:60px;padding-bottom:40px}.care h2{margin-bottom:32px}.care-layout{grid-template-columns:1fr;gap:20px}.care-copy{padding:0;text-align:center}.care-copy h3{font-size:29px}.care-copy h3 br{display:none}.care-copy>p{font-size:12px}.care-tabs{justify-content:center}.care-detail{margin:20px auto!important;min-height:45px}.care-visual{height:390px;width:290px;margin:0 auto}.care-dog{width:260px;height:310px;margin:auto}.document-card{left:-24px;top:18px;padding:10px}.id-card{right:-15px;width:95px;height:120px}.id-card div{font-size:64px}.personality{left:-25px;bottom:5px;width:200px}.stories{padding-top:35px}
.story-title p{max-width:250px}.arrows{gap:6px}.arrows button{width:33px;height:33px;font-size:16px}.story-grid{display:flex;overflow:hidden;gap:15px}.story{min-width:calc(100% - 35px);min-height:210px}.story p{min-height:68px}.story-band{padding:23px 0}.faq{grid-template-columns:1fr;padding-top:25px;padding-bottom:60px;gap:20px}
.faq h2 br{display:none}
.closing{padding-top:45px}.closing-inner{grid-template-columns:1fr;gap:0}
.closing img{max-width:360px;justify-self:center}.closing-inner .pill{padding:13px 20px}.back-top{margin-left:auto}dialog{padding:35px 24px 28px}
.form-row{grid-template-columns:1fr;gap:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Keep the original logo scale and gaps while revealing more outlets. */
.press .press-logos{display:block;max-width:none;margin:auto;opacity:1;filter:none;--press-gap:50px;--press-width:170px}
/* Fade the shared viewport so both mobile rows soften at the same edges. */
.press .press-logos{
 --press-fade:64px;overflow:hidden;
 -webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--press-fade),#000 calc(100% - var(--press-fade)),transparent 100%);
 mask-image:linear-gradient(to right,transparent 0,#000 var(--press-fade),#000 calc(100% - var(--press-fade)),transparent 100%);
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
.press-logo-row{overflow:hidden;min-width:0;width:100%}
.press-logo-track{display:flex;width:max-content;animation:press-logo-drift 36s linear infinite}
.press-logo-group{display:flex;align-items:center;gap:var(--press-gap);padding-right:var(--press-gap);flex:none}
.press-logo{display:flex;align-items:center;justify-content:center;width:var(--press-width);height:72px;flex:none;min-width:0}
.press-logo img{display:block;max-width:100%;max-height:64px;width:auto;height:auto;object-fit:contain}
.press-logo img[alt="36氪"],.press-logo img[src$="36kr.png"]{max-height:53px}
.press-logo img[src$="new-weekly.png"]{max-height:58px}
.press-mobile-rows{display:none}
.press-logo-row:hover .press-logo-track,.press-logo-row:focus-within .press-logo-track{animation-play-state:paused}
@keyframes press-logo-drift{to{transform:translateX(-50%)}}
@media(max-width:700px){
 .press .press-logos{max-width:none;--press-fade:40px;--press-gap:24px;--press-width:calc((min(450px,84vw) - 48px)/3)}
 .press-desktop-rows{display:none}
 .press-mobile-rows{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%;min-width:0}
 .press-logo{height:52px}
 .press-logo img,.press-logo img[src$="new-weekly.png"]{max-height:43px}
 .press-logo img[src$="36kr.png"]{max-height:40px}
 .press-logo-track{animation-duration:26s}
 .press-logo-row:nth-child(2) .press-logo-track{animation-duration:22s}
}
@media(prefers-reduced-motion:reduce){
 .press-logo-track{animation:none}
 .press-logo-row{overflow-x:auto}
 .press-logo-group[aria-hidden="true"]{display:none}
}

/* Keep the booking section independent from the tall reference artwork. */
.how{position:relative;isolation:isolate;overflow:hidden;background:#667c48;padding:70px 0 55px}
.how::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#35472bd9,#6b8258cc),url('assets/reference.jpg') center 42%/100% auto;pointer-events:none}
.how>.wrap{position:relative;display:flex;flex-direction:column;align-items:stretch}
.how h2{position:relative;margin:14px 0 12px}
.how .steps{position:relative;clear:both;margin:38px 0 0;flex-shrink:0}
.how .steps button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0}
.how .steps h3{line-height:1.5;margin:0 0 10px}
.how .steps p{margin:0;line-height:1.9}
.how .step-detail{position:relative;margin:24px 0 0}
@media(max-width:700px){.how{padding:48px 0 34px}.how h2{margin:12px 0}.how .steps{margin-top:28px;grid-template-columns:1fr;padding:8px 20px}.how .steps button{display:grid;grid-template-columns:46px 1fr;column-gap:17px;text-align:left;padding:22px 0;border-right:0;border-bottom:1px solid #bdc89266}.how .steps button:last-child{border-bottom:0}.how .steps button>span{grid-row:1 / span 2;align-self:center;margin:0;width:44px;height:44px}.how .steps h3{font-size:15px;margin:0 0 5px}.how .steps p{font-size:12px;line-height:1.8}.how .step-detail{margin-top:20px}}
/* The reference screenshot contains its own heading and cards; do not repeat that text behind the live section. */
.how::before{background:radial-gradient(ellipse at 15% 20%,#8eab64 0,transparent 55%),radial-gradient(ellipse at 90% 85%,#3f6039 0,transparent 60%),linear-gradient(120deg,#698553,#547148)}

/* Hero alternative: an editorial scrapbook of walking companions. */
.hero-play{max-width:1400px;margin:auto;padding:55px 6% 65px;min-height:750px;display:grid;grid-template-columns:1fr 1.12fr;align-items:center;gap:25px;text-align:left;position:relative;overflow:hidden}
.hero-play .hero-editorial{position:relative;z-index:4;padding-bottom:35px}
.hero-play .hero-label{justify-content:flex-start;font-size:10px;letter-spacing:1.5px}
.hero-play h1{margin:25px 0}
.hero-highlight{display:inline-block;position:relative;z-index:0;transform:rotate(-5deg);margin:0 5px}
.hero-highlight:before{content:"";position:absolute;inset:12% -10% 0;background:#d9e895;border-radius:50% 42% 48% 40%;z-index:-1}
.hero-play .spark{right:-45px;top:-20px;font-size:52px}
.hero-play .hero-sub{color:var(--color-text-secondary)}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin:30px 0}
.hero-actions .pill{padding:17px 25px;gap:16px}
.hero-actions>a{border-bottom:1px solid #dbe3bd;padding:4px 0}
.hero-signoff{display:flex;align-items:center;gap:10px;font-size:11px;color:#929a77}
.hero-signoff>span{font-size:24px;color:#a5be36}
.hero-play .pet-stage{width:100%;height:570px;margin:0;isolation:isolate}
.hero-play .trail-loop{position:absolute;inset:60px -25px 65px -15px;border:2px dashed #d8e0b6;border-radius:50%;transform:rotate(-24deg);z-index:-1}
.hero-play .phone{width:290px;height:478px;border:9px solid white;border-radius:19px;background:#fff;box-shadow:0 15px 45px #56661520,0 0 0 1px #eef0e2;transform:rotate(-5deg);margin:45px auto 0;overflow:hidden}
.hero-play .phone-top{position:static;display:flex;height:35px;padding:2px 8px 8px;align-items:center;color:#8a9271;font-size:9px;letter-spacing:1px}
.hero-play .phone-top>span{font-size:6px;letter-spacing:.5px}
.hero-play .phone .dog-photo{height:268px;border-radius:9px;background-size:240% auto;background-position:50% 7.85%}
.hero-play .photo-tag{top:58px;left:19px;font-size:9px;transform:rotate(5deg)}
.hero-play .like{top:250px;right:19px;width:31px;height:31px;font-size:23px}
.hero-play .pet-info{margin:0;padding:14px 10px;border-radius:0}
.hero-play .pet-heading h3{font-size:21px}.hero-play .pet-info p{margin:5px 0 10px;font-size:9px}
.hero-play .pet-tags{font-size:9px;padding:8px 5px}.hero-play .pet-bottom{margin-top:8px;font-size:9px}.hero-play .pet-bottom button{height:27px;width:27px}
.hero-play .pet-rail{inset:0;transform:none;width:100%;display:block;z-index:3;pointer-events:none}
.hero-play .pet-tile{position:absolute;width:117px;height:148px;pointer-events:auto;box-shadow:0 9px 22px #4251181a;border:6px solid white;border-bottom-width:8px;border-radius:12px;transition:transform .25s}
.hero-play .pet-tile:nth-child(n+4){display:none}
.hero-play .pet-tile:nth-child(1){left:-8px;top:20px;transform:rotate(-14deg)}
.hero-play .pet-tile:nth-child(2){right:-12px;top:205px;transform:rotate(7deg)}
.hero-play .pet-tile:nth-child(3){left:-40px;bottom:10px;transform:rotate(9deg)}
.hero-play .pet-tile:hover{transform:rotate(0deg) translateY(-7px)}
.hero-play .tile-info{font-size:8px;padding:13px 7px 6px}.hero-play .tile-info b{font-size:13px}.hero-play .pet-tile em{font-size:7px;top:5px;left:5px}
.collage-note{position:absolute;right:45px;top:4px;color:#a6b866;font-size:13px;font-weight:800;letter-spacing:2px;line-height:1.3;transform:rotate(9deg)}
.happy-sticker{position:absolute;right:19px;bottom:22px;width:113px;height:113px;border-radius:50%;background:#c5db58;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--ink);font:20px/1.2 ShuHei;transform:rotate(13deg);z-index:4;box-shadow:0 0 0 6px #fffefc,0 0 0 7px #d3dfa0}
.happy-sticker>span{font-family:sans-serif;font-size:27px;margin-top:3px}
.collage-caption{position:absolute;bottom:0;left:100px;font-size:8px;color:#a0a78b;transform:rotate(-5deg)}
.hero-scroll{position:absolute;bottom:27px;left:6%;font-size:9px;letter-spacing:1px;color:#9ba581;display:flex;align-items:center;gap:18px}.hero-scroll span{font-size:20px}
@media(max-width:1000px) and (min-width:701px){.hero-play{padding-left:5%;padding-right:5%;grid-template-columns:1fr 1fr;gap:10px}
.hero-play .pet-stage{transform:scale(.9);transform-origin:center}.hero-play .pet-tile{width:94px;height:127px}.hero-play .pet-tile:nth-child(1){left:-12px}.hero-play .pet-tile:nth-child(2){right:-24px}.hero-play .pet-tile:nth-child(3){left:-35px}.happy-sticker{right:-15px;width:92px;height:92px;font-size:17px}.collage-note{right:0}}
@media(max-width:700px){.hero-play{display:flex;flex-direction:column;gap:0;min-height:0;padding:40px 25px 55px;text-align:center}.hero-play .hero-editorial{padding-bottom:0}.hero-play .hero-label{justify-content:center;font-size:9px}.hero-play h1{margin:20px 0 16px}.hero-play h1 br{display:none}.hero-play h1{max-width:340px}.hero-play .spark{right:-5px;top:-16px;font-size:30px}
.hero-actions{justify-content:center;gap:15px;margin:24px 0 14px}.hero-actions .pill{padding:13px 20px}
.hero-signoff{justify-content:center;font-size:10px}.hero-play .pet-stage{height:510px;max-width:390px;margin-top:17px}.hero-play .phone{width:252px;height:438px;margin-top:30px}.hero-play .phone .dog-photo{height:236px}.hero-play .phone-top{height:30px}.hero-play .like{top:220px}.hero-play .photo-tag{top:47px}.hero-play .pet-info{padding:12px 8px}.hero-play .pet-heading h3{font-size:20px}.hero-play .pet-tags{font-size:8px}.hero-play .pet-tile{width:87px;height:115px;border-width:4px}.hero-play .pet-tile:nth-child(1){left:-7px;top:5px}.hero-play .pet-tile:nth-child(2){right:-20px;top:205px}.hero-play .pet-tile:nth-child(3){left:-15px;bottom:28px}.hero-play .pet-tile em{font-size:6px;padding:1px 3px}.hero-play .tile-info{font-size:6px;padding:8px 4px 4px}.hero-play .tile-info b{font-size:11px}.collage-note{top:0;right:12px;font-size:9px}.happy-sticker{width:83px;height:83px;right:1px;bottom:22px;font-size:16px}.happy-sticker>span{font-size:20px}.collage-caption{left:70px;bottom:4px;font-size:6px}.hero-play .trail-loop{inset:60px -5px 40px}.hero-scroll{left:50%;transform:translateX(-50%);bottom:18px;white-space:nowrap;font-size:8px}}

/* Official WangBu logo, with intrinsic aspect ratio preserved. */
.brand{display:inline-flex;align-items:center;flex-shrink:0;line-height:1}
.brand img{display:block;width:185px;max-width:100%;height:auto;object-fit:contain}
@media(max-width:700px){.brand img{width:145px}}
/* Stories: keep all copy in normal flow and avoid text baked into the reference background. */
.stories{position:relative;isolation:isolate}
.stories .story-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:28px}
.stories .story-title>div:first-child{min-width:0}
.stories .story-title h2{position:static;margin:13px 0 17px;overflow-wrap:anywhere}
.stories .story-title p{position:static;margin:0;max-width:100%}
.stories .arrows{position:static;flex-shrink:0;align-self:end;margin:0;padding:0 0 4px}
.stories .story-band{position:relative;clear:both;margin-top:32px;background:radial-gradient(ellipse at 12% 0%,#d2dfb5,transparent 60%),linear-gradient(120deg,#879f71,#adc494);overflow:hidden}
.stories .story-grid{align-items:stretch}
.stories .story{min-width:0}
.stories .story p{height:auto;min-height:80px;overflow-wrap:anywhere}
@media(max-width:700px){.stories .story-title{grid-template-columns:minmax(0,1fr);gap:18px}.stories .story-title h2{margin:12px 0}.stories .story-title p{max-width:100%}.stories .arrows{justify-self:end;padding:0}.stories .story-band{margin-top:20px}.stories .story{min-width:100%;flex:0 0 100%}.stories .story p{min-height:0;margin-bottom:22px}.stories .story-grid{gap:0}}

/* Dotted WangBu mark replaces the generic orbit behind the pet collage. */
.hero-play .trail-loop.wangbu-trail{position:absolute;inset:-12px -50px -12px -55px;width:calc(100% + 105px);height:calc(100% + 24px);border:0;border-radius:0;color:#b8cc78;transform:rotate(-9deg);overflow:visible;z-index:-1;pointer-events:none}
@media(max-width:700px){.hero-play .trail-loop.wangbu-trail{inset:5px -22px 0 -28px;width:calc(100% + 50px);height:100%;transform:rotate(-7deg)}}

/* Dedicated FAQ page. */
.faq-page .faq-breadcrumb{padding-top:34px;color:var(--color-text-muted);font-size:12px}
.faq-page .faq-breadcrumb a{color:var(--ink)}
.faq-page .faq{padding-top:70px;padding-bottom:60px;min-height:470px;align-items:start}
.faq-page .faq details:first-child{border-top:1px solid #e4e8d4}
.faq-page .faq details{padding:24px 0}
.faq-page .faq summary{gap:20px}
.faq-page .faq-help{padding-bottom:70px;display:flex;align-items:center;justify-content:flex-end;gap:24px;color:var(--color-text-secondary)}
.faq-page .faq-help .pill{font-size:12px}
@media(max-width:700px){.faq-page .faq{padding-top:40px;gap:30px;min-height:0}

.faq-page .faq-help{flex-direction:column;align-items:flex-start;gap:15px;padding-bottom:45px}}
/* Use the main section container for the header and hero as well. */
header{max-width:1190px;padding-left:40px;padding-right:40px}
.hero.hero-play{max-width:1190px;padding-left:40px;padding-right:40px}
.hero-play .hero-scroll{left:40px}
@media(max-width:1000px) and (min-width:701px){.hero.hero-play{padding-left:40px;padding-right:40px}}
@media(max-width:700px){header{padding-left:25px;padding-right:25px}.hero.hero-play{padding-left:25px;padding-right:25px}.hero-play .hero-scroll{left:50%}}

/* Supplied hero cards retain their complete artwork and embedded text. */
.hero-play .phone{position:relative;height:auto;overflow:visible;border:0;background:transparent;box-shadow:none}
.hero-play .phone>:not(.hero-profile-art){display:none}
.hero-profile-art{display:block;width:100%;height:auto;filter:drop-shadow(0 12px 20px #56661520)}
.hero-play .pet-tile{height:auto;padding:0;border:0;background:transparent;overflow:visible;box-shadow:0 9px 22px #4251181a}
.hero-play .pet-tile img{display:block;position:static;width:100%;height:auto;object-fit:contain;border-radius:12px}
@media(max-width:700px){.hero-play .phone{height:auto}.hero-play .pet-tile{height:auto}}

:is(#wechatQr,#ownerQr){text-align:center;width:410px;padding:34px 24px 30px}
:is(#wechatQr,#ownerQr) h2{margin:12px 0 20px}
.wechat-qr-art{width:250px;max-width:100%;aspect-ratio:1;margin:0 auto 20px;background:white url('assets/footer-reference.png') no-repeat;background-size:580% auto;background-position:16.55% 16.3%;border-radius:50%}
:is(#wechatQr,#ownerQr) p{color:var(--color-text-secondary)}

/* Give 克烈's selected profile a larger, clockwise-tilted placement. */
.hero-play .phone.hero-profile-kelie{transform:translateY(58px) rotate(5deg);transform-origin:center center}

.hero-play .phone.hero-profile-tudou{transform:translateY(25px) rotate(1deg)}

/* Keep the caption below the floating cards and clear of their rotated corners. */
.hero-play .collage-caption{bottom:-12px;left:100px}
@media(max-width:700px){.hero-play .collage-caption{bottom:0;left:85px}}

.hero-play .phone.hero-profile-kelie-lower{transform:translateY(73px) rotate(5deg)}

.hero-play .phone.hero-profile-oscar{transform:translate(-10px,15px) rotate(-5deg)}

/* Enlarge the dotted brand outline behind the hero cards. */
.hero-play .trail-loop.wangbu-trail{transform:translateX(-60px) rotate(-9deg) scale(1.265);transform-origin:center}
@media(max-width:700px){.hero-play .trail-loop.wangbu-trail{transform:translateX(-60px) rotate(-7deg) scale(1.265)}}

/* Align the About navigation destination with the media section boundary. */
#about{scroll-margin-top:-95px}

/* Bring the hero 40px closer to the navigation. */
.hero.hero-play{padding-top:15px;min-height:710px}
@media(max-width:700px){.hero.hero-play{padding-top:0;min-height:0}}

/* Move the top-left dog profile card 30px left of its original position. */
.hero-play .pet-tile:nth-child(1){left:-38px;translate:none}
@media(max-width:1000px) and (min-width:701px){.hero-play .pet-tile:nth-child(1){left:-42px}}
@media(max-width:700px){.hero-play .pet-tile:nth-child(1){left:-37px}}

/* Align section navigation with the section boundary. */
#petsharing,#safety{scroll-margin-top:-95px}

/* Cream and lime booking steps, matching the site's warm botanical palette. */
.how{background:#f3f6df;color:var(--ink)}
.how::before{background:radial-gradient(ellipse at 12% 5%,#e1ecaa80,transparent 58%),radial-gradient(ellipse at 95% 90%,#d6e88c66,transparent 55%),linear-gradient(135deg,#fffef8,#eef3d5)}
.how h2{color:var(--ink)}
.how .eyebrow{color:#87964c}
.how>.wrap>p{color:var(--color-text-secondary);opacity:1}
.how .steps{background:#fffefbe6;border:1px solid #dfe7bd;box-shadow:0 12px 32px #667c4808;backdrop-filter:none}
.how .step-detail{color:var(--color-text-secondary)}
.how .step-detail a{border-bottom-color:#a5b764}

/* Bring the stories band into the site's cream and lime palette. */
.stories .story-band{background:radial-gradient(ellipse at 12% 0%,#e1ecaa80,transparent 60%),linear-gradient(120deg,#fafbef,#edf3d0)}
.stories .story{background:#fffefc;border:1px solid #e2e8c9;box-shadow:0 8px 24px #667c4808}

/* Dedicated WangBu origin page, sharing the FAQ page shell. */
.origin-content{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-top:70px;padding-bottom:65px}
.origin-content :is(h1,h2){margin:16px 0 24px}
.origin-intro{font-size:15px;line-height:2;color:#79825d}
.origin-values article{padding:24px 0;border-top:1px solid #e4e8d4}
.origin-values :is(h2,h3){margin-bottom:12px}
.origin-values p{font-size:14px;line-height:1.9;color:#79825d}
@media(max-width:700px){.origin-content{grid-template-columns:1fr;gap:32px;padding-top:40px;padding-bottom:35px}
.origin-intro{font-size:14px}}

/* A focused editorial reading column for the origin page. */
.origin-page .faq-breadcrumb{max-width:840px;padding-top:28px}
.origin-page .origin-content{display:block;max-width:840px;padding-top:48px;padding-bottom:0}
.origin-page .origin-heading{padding-bottom:36px;border-bottom:1px solid #e3e7d8}
.origin-page .origin-content :is(h1,h2){display:block;margin:14px 0 24px;color:#39451c}
.origin-page .origin-mission{color:#4c5b08;margin-bottom:16px}
.origin-page .origin-intro{color:var(--color-text-muted);max-width:680px}
.origin-page .origin-values{padding-top:8px}
.origin-page .origin-values article{border:0;padding:28px 0 0}
.origin-page .origin-values :is(h2,h3){color:#39451c;margin:0 0 10px}
.origin-page .origin-values p{color:var(--color-text-muted);max-width:720px}
.origin-page .faq-help{max-width:840px;justify-content:space-between;margin-top:40px;padding-top:28px;padding-bottom:56px;border-top:1px solid #e3e7d8}
@media(max-width:700px){.origin-page .origin-content{padding-top:32px}.origin-page .origin-content :is(h1,h2){margin-bottom:20px}
.origin-page .origin-heading{padding-bottom:28px}
.origin-page .faq-help{align-items:flex-start;margin-top:32px;padding-bottom:40px}}

/* Keep navigation visible on every page, with matching anchor clearance. */
header{position:sticky;top:0;z-index:100;max-width:none;width:100%;background:#fffefc;border-bottom:1px solid #e8ecd9;padding-left:max(40px,calc((100% - 1110px)/2));padding-right:max(40px,calc((100% - 1110px)/2))}
html{scroll-padding-top:90px}
#about,#petsharing,#safety{scroll-margin-top:0}
@media(max-width:700px){header{padding-left:25px;padding-right:25px}html{scroll-padding-top:73px}}

/* A compact experience button within the persistent navigation. */
header nav .pill{padding:9px 24px;min-height:44px;gap:22px}
header nav .pill span{font-size:18px;line-height:1}
@media(max-width:700px){header nav .pill{padding:9px 18px;gap:16px}}

/* Give the hero content a little more breathing room below navigation. */
.hero.hero-play{padding-top:35px}
@media(max-width:700px){.hero.hero-play{padding-top:20px}}

/* Fit the complete dotted outline inside the collage at every breakpoint. */
.hero-play .trail-loop.wangbu-trail{inset:-12px -50px -12px -55px;width:calc(100% + 105px);height:calc(100% + 24px);transform:translateX(-60px) rotate(-9deg) scale(1.15);overflow:visible}
@media(max-width:700px){.hero-play .trail-loop.wangbu-trail{inset:0;width:100%;height:100%;transform:rotate(-7deg)}}

/* Align editorial pages to the shared navigation and footer content edge. */
.origin-page .faq-breadcrumb,.origin-page .origin-content,.origin-page .faq-help{max-width:1190px}
.origin-page .origin-heading,.origin-page .origin-values{max-width:760px}

/* Tighten the navigation CTA while retaining a comfortable click area. */
header nav .pill{padding:7px 18px;min-height:40px;gap:12px}
header nav .pill span{font-size:16px}
@media(max-width:700px){header nav .pill{padding:7px 15px;gap:10px}}

/* Use the supplied QR asset directly, without cropping or background scaling. */
:is(#wechatQr,#ownerQr) .wechat-qr-art{display:block;width:250px;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:none;border-radius:0}

#mission .eyebrow,#petsharing>.wrap>.eyebrow{display:inline-flex;align-items:center;gap:9px}#mission .eyebrow::before,#petsharing>.wrap>.eyebrow::before{content:"";display:block;width:7px;height:7px;flex:none;border-radius:50%;background:var(--green)}

#petsharing>.wrap>.eyebrow{display:flex;justify-content:center;width:fit-content;margin-left:auto;margin-right:auto}

#contactDialog{width:min(520px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:32px;border-radius:24px}#contactDialog h2{margin:8px 0 12px}#contactDialog .contact-intro{color:var(--color-text-secondary);margin-bottom:24px}#contactForm{display:grid;gap:16px}#contactForm label{display:grid;gap:7px}#contactForm input,#contactForm textarea{box-sizing:border-box;width:100%;border:1px solid #dce2cb;border-radius:10px;padding:11px 12px;font:inherit;background:#fff;color:#303d13}#contactForm textarea{resize:vertical}#contactForm small{color:var(--color-text-muted)}#contactForm [hidden]{display:none}#contactForm .contact-status{font-size:14px;margin:0;line-height:1.6}#contactForm button:disabled{opacity:.6}#contactDialog::backdrop{background:#26311566}

/* Shared bright-green selection treatment across all pages and contact forms. */
:is(input,textarea,select):focus{outline:3px solid var(--green);outline-offset:3px;border-color:var(--green)}

#contactForm button[type="submit"]{color:var(--ink);justify-content:center;text-align:center}

#contactForm button[type="submit"]{background:var(--green);transform:none}
#contactForm button[type="submit"].is-ready{background:var(--green)}

/* Match invalid field outlines to the contact status text. */
#contactForm{--validation-color:var(--body)}
#contactForm .contact-status{color:var(--validation-color)}
#contactForm :is(input,textarea,select)[aria-invalid="true"]{border-color:var(--validation-color);outline:2px solid var(--validation-color);outline-offset:3px}

#contactForm button[type="submit"]:disabled{opacity:1}


/* Preserve the form dialog dimensions and title after submission. */
#contactDialog.contact-success[open]{display:flex;flex-direction:column}
#contactDialog.contact-success .contact-intro,#contactDialog.contact-success #contactForm>:not(.contact-status){display:none}
#contactDialog.contact-success #contactForm{flex:1;display:flex;align-items:center;justify-content:center}
#contactDialog.contact-success .contact-status{font-size:26px;font-weight:600;line-height:1.8;text-align:center;margin:0;width:100%;overflow-wrap:anywhere}
@media(max-width:600px){#contactDialog.contact-success .contact-status{font-size:22px}}

#contactDialog.contact-success .contact-status{display:flex;flex-direction:column;align-items:center;gap:28px}
.contact-success-art{display:block;width:min(100%,360px);max-height:36dvh;object-fit:contain}
.contact-success-text{display:block;font-size:clamp(18px,4.6vw,26px);line-height:1.8;text-align:center}
.contact-success-text>span{display:block}

/* Extend success artwork to both edges of the dialog. */
#contactDialog.contact-success .contact-success-art{width:calc(100% + 64px);max-width:none;max-height:none;flex-shrink:0;object-fit:contain}
#contactDialog.contact-success .contact-status{gap:20px}

#contactDialog h2{text-align:left}
#contactDialog.contact-success h2{text-align:center}

/* Dark green labels on green actions and selected green controls across the site. */
.pill,.pill:is(:hover,:focus-visible,:active),.care-tabs button.active,.steps button[aria-selected="true"]>span,.arrows button:hover{color:var(--ink)}
.pill :is(span,svg){color:inherit}

.faq-page .charity-cooperation{justify-content:flex-end;gap:24px;text-align:right}
.faq-page .charity-cooperation .pill{padding:7px 18px;min-height:40px;gap:12px;font-size:12px;line-height:1.5;flex-shrink:0}
.faq-page .charity-cooperation .pill span{font-size:16px;line-height:1}
@media(max-width:700px){.faq-page .charity-cooperation{gap:15px;align-items:flex-end}.faq-page .charity-cooperation .pill{padding:7px 15px;gap:10px}}

.faq-page .team-invitation{max-width:1190px;margin-top:40px;padding-top:28px;border-top:1px solid #e3e7d8;justify-content:flex-end;gap:24px;text-align:right;padding-bottom:70px}
.faq-page .team-invitation .pill{padding:7px 18px;min-height:40px;gap:12px;font-size:12px;line-height:1.5;flex-shrink:0}
.faq-page .team-invitation .pill span{font-size:16px;line-height:1}
@media(max-width:700px){.faq-page .team-invitation{margin-top:32px;gap:15px;align-items:flex-end;padding-bottom:45px}.faq-page .team-invitation .pill{padding:7px 15px;gap:10px}}

.faq-page .explore-invitation{margin-top:40px;padding-top:28px;border-top:0;justify-content:flex-end;gap:24px;text-align:right}
.faq-page .explore-invitation .pill{padding:7px 18px;min-height:40px;gap:12px;font-size:12px;line-height:1.5;flex-shrink:0}
.faq-page .explore-invitation .pill span{font-size:16px;line-height:1}
@media(max-width:700px){.faq-page .explore-invitation{margin-top:32px;gap:15px;align-items:flex-end}.faq-page .explore-invitation .pill{padding:7px 15px;gap:10px}}

/* Unified discovery page with readable topic panels. */
.discover-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:70px;padding-top:64px;padding-bottom:24px;max-width:1190px}
.discover-menu h1{margin:14px 0 32px}
.discover-menu [role=tablist]{display:grid;gap:10px}
.discover-menu [role=tab]{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-radius:14px;color:var(--ink)}
.discover-menu [role=tab][aria-selected=true]{background:var(--green);color:var(--ink)}
.discover-menu [role=tab]:hover{background:var(--pale)}
.discover-menu [role=tab][aria-selected=true]:hover{background:var(--green)}
.discover-panels{min-width:0}
.discover-panels [hidden]{display:none!important}
.discover-page .discover-panels .wrap{width:100%;max-width:none;padding-left:0;padding-right:0}
.discover-page .discover-panels .origin-content{padding-top:0;padding-bottom:0}
.discover-page .discover-panels .origin-content :is(h1,h2){margin-top:0}
.discover-page .discover-panels .faq{display:block;padding-top:0;padding-bottom:24px}
.discover-page .discover-panels .faq h2{margin-bottom:28px}
.discover-page .discover-panels .faq-help{flex-wrap:wrap;gap:18px;padding-bottom:12px}
@media(max-width:800px){.discover-layout{grid-template-columns:1fr;gap:36px;padding-top:32px}.discover-menu h1{margin-bottom:22px}.discover-menu [role=tablist]{grid-template-columns:repeat(3,1fr);gap:8px}.discover-menu [role=tab]{justify-content:center;padding:12px 8px}.discover-menu [role=tab] span{display:none}}

.discover-page .discover-panels .origin-content :is(h1,h2){color:var(--ink)}

/* Keep discovery headings on the same starting line. */
.discover-menu h1{margin-top:0}
.discover-page .discover-panels .origin-heading{padding-top:0}
.discover-page .discover-panels .origin-content :is(h1,h2),.discover-page .discover-panels .faq h2{margin-top:0}
@media(min-width:801px){
.discover-page .discover-panels .origin-content :is(h1,h2),.discover-page .discover-panels .faq h2{padding-top:6px}}

/* Light-green titles in each discovery topic panel. */
.discover-page .discover-panels .origin-content :is(h1,h2),.discover-page .discover-panels .faq h2{color:var(--green)}

/* A three-stop illustrated booking journey. */
.how .journey-steps{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;background:none;border:0;box-shadow:none;padding:28px 0 14px;margin-top:32px;backdrop-filter:none}
.how .journey-steps:before{content:"";position:absolute;z-index:-1;left:8%;right:8%;top:46%;border-top:3px dashed #b1c16d;transform:rotate(-3deg)}
.how .journey-steps button{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:24px 16px 30px;border:1px solid #dce6b7;border-radius:28px;background:#fffef8;color:var(--ink);box-shadow:0 10px 24px #53651a08;transition:transform .2s,background .2s;transform:rotate(-2deg);text-align:center}
.how .journey-steps button:nth-child(2){transform:translateY(18px) rotate(2deg)}
.how .journey-steps button:nth-child(3){transform:rotate(-1deg)}
.how .journey-steps button:hover{transform:translateY(-5px)}
.how .journey-steps button[aria-selected=true]{background:var(--green);color:var(--ink);border-color:var(--green)}
.how .journey-steps button>.journey-number{align-self:flex-start;display:block;background:none;box-shadow:none;border:0;width:auto;height:auto;margin:0;font:700 18px/1.4 inherit;color:inherit;opacity:.85}
.journey-art{display:block;width:100%;max-width:260px;height:195px;overflow:visible}
.how .journey-steps h3{margin:8px 0 10px;color:inherit}
.how .journey-steps p{font-size:13px;line-height:1.8;color:inherit;opacity:1}
@media(max-width:700px){.how .journey-steps{grid-template-columns:1fr;gap:26px;padding:12px 14px;margin-top:24px}.how .journey-steps:before{left:50%;right:auto;top:0;bottom:0;border-top:0;border-left:3px dashed #b1c16d;transform:none}.how .journey-steps button,.how .journey-steps button:nth-child(2),.how .journey-steps button:nth-child(3){transform:none;padding:18px 20px 24px}.journey-art{height:160px}.how .journey-steps button>.journey-number{grid-row:auto}}

/* Reveal a step description only after its card is chosen. */
.how .journey-steps button p{visibility:hidden}
.how .journey-steps.has-selection button[aria-selected="true"] p{visibility:visible}



/* An unfolding journey across a winding paw trail. */
.how .journey-steps{display:flex;align-items:center;justify-content:space-between;gap:42px;min-height:530px;padding:30px 0 48px;margin-top:8px}
.how .journey-steps:before{display:none}
.journey-paw-trail{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.8}
.how .journey-steps button{flex:0 1 24%;padding:18px 14px 22px;transform:translateY(-48px) rotate(-5deg);transition:flex-basis .4s,transform .4s,background .25s,box-shadow .25s;box-shadow:0 10px 26px #53651a10}
.how .journey-steps button:nth-of-type(2){transform:translateY(55px) rotate(5deg)}
.how .journey-steps button:nth-of-type(3){transform:translateY(-30px) rotate(-4deg)}
.how .journey-steps button .journey-art{height:115px;transition:height .4s}
.how .journey-steps button p{display:none}
.how .journey-steps button[aria-selected=true]{flex-basis:36%;transform:translateY(-25px) rotate(-2deg);box-shadow:0 18px 38px #53651a20}
.how .journey-steps button:nth-of-type(2)[aria-selected=true]{transform:translateY(45px) rotate(2deg)}
.how .journey-steps button:nth-of-type(3)[aria-selected=true]{transform:translateY(-20px) rotate(-2deg)}
.how .journey-steps button[aria-selected=true] .journey-art{height:210px}
.how .journey-steps.has-selection button[aria-selected=true] p{display:block;visibility:visible}
.how .journey-steps button:focus-visible{outline:3px solid var(--ink);outline-offset:6px}
@media(max-width:700px){
 .how .journey-steps{flex-direction:column;gap:58px;min-height:0;padding:26px 4px 40px}
 .journey-paw-trail{display:none}
 .how .journey-steps:before{display:block;inset:15px 26%;width:48%;height:auto;border:0;transform:rotate(-9deg);background:url('assets/booking-paw.png') center top/26px 26px repeat-y;opacity:.65}
 .how .journey-steps button,.how .journey-steps button:nth-of-type(2),.how .journey-steps button:nth-of-type(3){flex-basis:auto;width:67%;align-self:flex-start;transform:rotate(-3deg)}
 .how .journey-steps button:nth-of-type(2){align-self:flex-end;transform:rotate(3deg)}
 .how .journey-steps button[aria-selected=true],.how .journey-steps button:nth-of-type(2)[aria-selected=true],.how .journey-steps button:nth-of-type(3)[aria-selected=true]{width:88%;transform:rotate(0)}
 .how .journey-steps button[aria-selected=true] .journey-art{height:175px}}
@media(prefers-reduced-motion:reduce){.how .journey-steps button,.how .journey-steps .journey-art{transition:none}}

@media(max-width:700px){.how .journey-steps{padding-top:70px;padding-bottom:85px}.how .journey-steps:before{transform:rotate(171deg)}}

/* Straight cards retain their staggered journey positions. */
.how .journey-steps button{transform:translateY(-48px)}
.how .journey-steps button:nth-of-type(2){transform:translateY(55px)}
.how .journey-steps button:nth-of-type(3){transform:translateY(-30px)}
.how .journey-steps button[aria-selected=true]{transform:translateY(-25px)}
.how .journey-steps button:nth-of-type(2)[aria-selected=true]{transform:translateY(45px)}
.how .journey-steps button:nth-of-type(3)[aria-selected=true]{transform:translateY(-20px)}
@media(max-width:700px){.how .journey-steps button,.how .journey-steps button:nth-of-type(2),.how .journey-steps button:nth-of-type(3),.how .journey-steps button[aria-selected=true],.how .journey-steps button:nth-of-type(2)[aria-selected=true],.how .journey-steps button:nth-of-type(3)[aria-selected=true]{transform:none}}

.journey-paw-trail{opacity:1}
@media(max-width:700px){.how .journey-steps:before{background:#F5F5F0;opacity:1;-webkit-mask:url('assets/booking-paw.png') center top/26px 26px repeat-y;mask:url('assets/booking-paw.png') center top/26px 26px repeat-y}}



/* Two staggered tracks continue the walking rhythm on small screens. */
@media(max-width:700px){.how .journey-steps:before{background:#FFFFFF;-webkit-mask-image:url('assets/booking-paw.png'),url('assets/booking-paw.png');mask-image:url('assets/booking-paw.png'),url('assets/booking-paw.png');-webkit-mask-position:calc(50% - 14px) 0,calc(50% + 14px) 16px;mask-position:calc(50% - 14px) 0,calc(50% + 14px) 16px;-webkit-mask-size:22px 38px;mask-size:22px 38px;-webkit-mask-repeat:repeat-y;mask-repeat:repeat-y}}

/* The walking trail spans the entire section, including above its heading. */
#petsharing > .journey-paw-trail{inset:0;width:100%;height:100%;z-index:0}
#petsharing > .wrap{position:relative;z-index:1}
/* Explicit first-card selectors override the old nth-child rotation. */
#petsharing .journey-steps button:first-of-type{transform:translateY(-48px)}
#petsharing .journey-steps button:first-of-type[aria-selected=true]{transform:translateY(-25px)}
@media(max-width:700px){#petsharing .journey-steps button:first-of-type,#petsharing .journey-steps button:first-of-type[aria-selected=true]{transform:none}}

/* Replay the walk in route order, finishing with a softly appearing heart. */
#petsharing.is-walking .journey-print,#petsharing.is-walking .journey-heart{animation:paw-arrive 260ms ease-out both;animation-delay:var(--paw-delay)}
@keyframes paw-arrive{from{opacity:0}to{opacity:1}}
@media(max-width:700px){#petsharing > .journey-paw-trail{display:block}#petsharing .journey-steps:before{display:none}}
@media(prefers-reduced-motion:reduce){#petsharing.is-walking .journey-print,#petsharing.is-walking .journey-heart{animation:none}}


/* Position the compact booking cards independently of their expanded states. */
@media(min-width:701px){#petsharing .journey-steps button:nth-of-type(2)[aria-selected="false"]{transform:translateY(105px)}#petsharing .journey-steps button:nth-of-type(3)[aria-selected="false"]{transform:translateY(52px)}}

/* A quieter decorative trail keeps attention on the three booking cards. */
#petsharing > .journey-paw-trail{opacity:.35}

/* Match the about introduction to the hero subtitle typography. */
#mission > div > p{font-family:inherit;font-weight:400;font-size:15px;line-height:2;color:var(--color-text-secondary)}
@media(max-width:700px){#mission > div > p{font-size:12px;line-height:1.9}}

/* Place the statistics note at the section’s lower-right edge. */
#mission{position:relative}
#mission > .reference-note{position:absolute;right:40px;bottom:24px;margin:0;text-align:right;max-width:calc(100% - 80px)}
@media(max-width:700px){#mission > .reference-note{right:25px;bottom:16px;max-width:calc(100% - 50px)}}

/* Extend the section bounds to the viewport while retaining its content alignment. */
#mission{max-width:none;padding-left:max(40px,calc((100% - 1110px)/2));padding-right:max(40px,calc((100% - 1110px)/2))}
#mission > .reference-note{right:24px;bottom:12px;max-width:calc(100% - 48px)}
@media(max-width:700px){#mission{padding-left:25px;padding-right:25px}#mission > .reference-note{right:16px;bottom:12px;max-width:calc(100% - 32px)}}

/* Gentle asymmetric waves frame the walking journey. */
#petsharing > .journey-edge{position:absolute;left:0;width:100%;height:48px;z-index:2;pointer-events:none;display:block}
#petsharing > .journey-edge-top{top:-1px}
#petsharing > .journey-edge-bottom{bottom:-1px}
@media(max-width:700px){#petsharing > .journey-edge{height:28px}}

/* Align the statistics note with the header experience button's right edge. */
#mission > .reference-note{right:max(40px,calc((100% - 1110px)/2));text-align:right}
@media(max-width:700px){#mission > .reference-note{right:25px}}

/* Add breathing room below the paw trail without stretching its artwork. */
#petsharing{padding-bottom:85px}
#petsharing > .journey-paw-trail{bottom:auto;height:calc(100% - 30px)}
@media(max-width:700px){#petsharing{padding-bottom:64px}}

/* Upright WangBu accent on the companion photo. */
#mission .walk-photo{position:relative}
#mission .walk-photo::after{content:"";position:absolute;right:0;bottom:4px;width:82px;height:82px;border:9px solid #fffefc;border-radius:50%;background:#fffefc url("assets/about-logo-badge.png") center/contain no-repeat;pointer-events:none}
@media(max-width:700px){#mission .walk-photo::after{width:66px;height:66px;border-width:7px}}

/* Keep popup close controls free of rectangular focus outlines. */
dialog .close:focus{outline:none}
dialog .close{appearance:none;-webkit-appearance:none}
dialog .close:focus-visible{outline:none;background:transparent;color:var(--ink)}

/* Allow all four protection topics to fit on smaller screens. */
#safety .care-tabs{flex-wrap:wrap}

/* Four generous protection choices with a shared explanation card. */
#safety .care-copy{position:relative;padding:20px 0}
#safety .care-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}
#safety .care-tabs button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:66px;padding:18px 22px;border-radius:999px;white-space:nowrap;background:#f3f6df;border:1px solid #e2e8c5;color:var(--ink);transition:background .2s,transform .2s,box-shadow .2s}
#safety .care-tabs button:hover{transform:translateY(-3px);background:#e8efc3}
#safety .care-tabs button.active{background:var(--green);border-color:var(--green);color:var(--ink);box-shadow:0 8px 20px #9fb63e26}
#safety .care-number{font-size:12px;font-weight:500;opacity:.7}
#safety .care-explainer{position:relative;margin-top:26px;padding:28px 30px;background:#fffef8;border:1px solid #e7ebd6;border-radius:22px;box-shadow:0 12px 30px #4c5b0806;text-align:left}
#safety .care-explainer:before{content:"";position:absolute;top:-8px;left:44px;width:14px;height:14px;background:#fffef8;border-top:1px solid #e7ebd6;border-left:1px solid #e7ebd6;transform:rotate(45deg)}
#safety .care-explainer-label{color:#929b66}
#safety .care-detail{max-width:none;min-height:84px;margin:12px 0 0!important;color:#596344}
#safety .care-insurance{display:flex;align-items:center;gap:14px;width:300px;padding:20px;border-radius:20px;background:#fffef8;box-shadow:0 12px 32px #4c5b0814}
#safety .care-insurance strong{font-size:14px;color:var(--ink)}
#safety .care-insurance p{font-size:12px;margin:6px 0 0;color:#83886d}
#safety .care-shield{display:grid;place-items:center;flex:none;width:42px;height:46px;border-radius:14px 14px 20px 20px;background:#edf1d4;color:#8fa331;font-size:26px}
@media(max-width:700px){#safety .care-tabs{gap:12px}#safety .care-tabs button{padding:16px 12px;min-height:60px;gap:8px}#safety .care-explainer{padding:22px}#safety .care-detail{min-height:84px}#safety .care-insurance{width:280px;left:-10px}}

/* Vertical protection selector paired with a distinct image for each topic. */
#safety .care-layout{grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:60px;align-items:center}
#safety .care-tabs{grid-template-columns:1fr;gap:18px}
#safety .care-tabs button{min-height:66px;padding:18px 30px}
#safety .care-preview{overflow:hidden;border-radius:28px;border:1px solid #e7ebd6;background:#fffef8;box-shadow:0 16px 40px #4c5b0808}
#safety #carePlaceholder{display:block;width:100%;height:auto;aspect-ratio:600/380;object-fit:contain}
#safety .care-explainer{margin:0;padding:25px 30px 28px;border:0;border-radius:0;box-shadow:none}
#safety .care-explainer:before{display:none}
#safety .care-explainer-label{color:var(--ink)}
#safety .care-detail{min-height:60px;margin-top:10px!important}
@media(max-width:700px){#safety .care-layout{grid-template-columns:1fr;gap:24px}#safety .care-copy{padding:0}#safety .care-tabs{gap:12px}#safety .care-tabs button{min-height:60px}#safety .care-explainer{padding:22px}}

/* Playful protection journey: offset choices and a keepsake-style image card. */
#safety{position:relative;overflow:hidden;background:radial-gradient(ellipse at 81% 52%,#f3f6df 0,transparent 49%)}
#safety .care-layout{gap:85px;padding:22px 14px 36px}
#safety .care-copy{isolation:isolate}
#safety .care-copy:before{content:"";position:absolute;z-index:-1;left:25%;top:-20px;width:62%;height:calc(100% + 40px);border:2px dashed #ccd6a1;border-radius:48% 52% 43% 57%;transform:rotate(-13deg)}
#safety .care-tabs{gap:25px;padding:4px 15px}
#safety .care-tabs button{position:relative;width:92%;min-height:70px;background:#fffef8;border:1px solid #dfe7bc;box-shadow:0 5px 0 #e8edcf;transition:transform .2s,background .2s,box-shadow .2s}
#safety .care-tabs button:nth-child(even){justify-self:end}
#safety .care-tabs button:hover{transform:translateY(-4px);box-shadow:0 9px 0 #e8edcf}
#safety .care-tabs button.active{background:var(--green);border-color:var(--green);box-shadow:0 5px 0 #a5bc42}
#safety .care-tabs button.active:after{content:"";position:absolute;right:-14px;top:-12px;width:32px;height:32px;background:#fffef8 url("assets/booking-wangbu-mark.png") center/24px no-repeat;border:4px solid #fffef8;border-radius:50%;box-shadow:0 3px 8px #4c5b0812}
#safety .care-preview{position:relative;overflow:visible;transform:rotate(2deg);padding:13px 13px 0;border:1px solid #e3e7d3;border-radius:24px;background:#fffef8;box-shadow:7px 9px 0 #e9efce,0 20px 45px #4c5b0810}
#safety #carePlaceholder{border-radius:15px}
#safety .care-explainer{padding:24px 20px 30px;border-radius:0 0 24px 24px}
#safety .care-explainer-label{display:inline-block;border-bottom:5px solid #e4ecb8}
#safety .care-card-tape{position:absolute;z-index:2;top:-15px;left:38%;width:110px;height:31px;background:#dce8a9cc;transform:rotate(-7deg);clip-path:polygon(2% 0,98% 0,96% 12%,100% 25%,96% 40%,100% 55%,97% 72%,100% 100%,0 100%,3% 80%,0 65%,3% 45%,0 25%)}
#safety .care-brand-stamp{position:absolute;z-index:2;right:-24px;bottom:112px;width:58px;height:58px;background:url("assets/about-logo-badge.png") center/contain no-repeat;transform:rotate(-2deg);filter:drop-shadow(0 4px 5px #4c5b0815)}
@media(max-width:700px){#safety .care-layout{gap:38px;padding:8px 10px 30px}#safety .care-tabs{gap:18px;padding:0 8px}#safety .care-tabs button{min-height:60px;width:94%}#safety .care-copy:before{top:-12px;height:calc(100% + 24px)}#safety .care-preview{transform:rotate(1deg);padding:9px 9px 0}#safety .care-brand-stamp{right:-14px;width:46px;height:46px;transform:rotate(-1deg)}#safety .care-explainer{padding:22px 16px}#safety .care-card-tape{width:90px;left:35%}}
@media(prefers-reduced-motion:reduce){#safety .care-tabs button{transition:none}}

/* Quiet folder tabs for the four protection topics. */
#safety{background:none}
#safety h2{margin-bottom:48px}
#safety .care-layout{display:block;max-width:1080px;margin:auto;padding:0}
#safety .care-copy{padding:0;isolation:auto}
#safety .care-copy:before,#safety .care-tabs button.active:after,#safety .care-card-tape,#safety .care-brand-stamp{display:none}
#safety .care-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:0;position:relative;z-index:1}
#safety .care-tabs button{width:100%;min-height:72px;padding:18px 12px;border:2px solid #cbd79c;border-bottom:0;border-radius:10px 10px 0 0;background:#fff;color:var(--ink);box-shadow:none;transform:none;transition:background .2s}
#safety .care-tabs button:nth-child(even){justify-self:auto}
#safety .care-tabs button:hover{background:#fff;transform:none;box-shadow:none}
#safety .care-tabs button.active{background:#f1f5df;border-color:var(--green);box-shadow:none;color:var(--ink)}
#safety .care-tabs button.active:before{content:"";display:block;position:absolute;left:0;right:0;bottom:-2px;height:2px;background:#f1f5df;pointer-events:none}
#safety .care-tabs button:focus-visible{outline:2px solid var(--ink);outline-offset:-5px}
#safety .care-preview{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;transform:none;padding:48px;border:2px solid var(--green);border-radius:0 0 16px 16px;background:#f1f5df;box-shadow:none;overflow:hidden}
#safety #carePlaceholder{max-height:280px;border-radius:12px;background:#f5f7ed}
#safety .care-explainer{padding:0;border-radius:0;background:transparent;text-align:left}
#safety .care-explainer-label{display:block;border:0;color:var(--ink)}
#safety .care-detail{max-width:380px;min-height:90px;margin:18px 0 0!important;color:var(--color-text-secondary)}
@media(max-width:700px){#safety .care-tabs{gap:4px;padding:0}#safety .care-tabs button{min-height:60px;padding:12px 3px;border-radius:8px 8px 0 0}
#safety .care-preview{grid-template-columns:1fr;gap:24px;padding:24px 20px;border-radius:0 0 10px 10px}#safety #carePlaceholder{max-height:220px}#safety .care-explainer{padding:0}
#safety .care-detail{min-height:86px}}

/* Compact title and tabs share a single header row. */
#safety{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:32px;align-items:end}
#safety h2{grid-column:1;grid-row:1;margin:0;padding-bottom:14px;text-align:left;white-space:nowrap}
#safety .care-layout{display:contents}
#safety .care-copy{grid-column:2;grid-row:1;min-width:0}
#safety .care-tabs{gap:6px}
#safety .care-tabs button{min-height:44px;padding:9px 4px}
#safety .care-preview{grid-column:1 / -1;grid-row:2}
@media(max-width:1100px){#safety{grid-template-columns:1fr}#safety h2{grid-column:1;grid-row:1;padding-bottom:24px;white-space:normal}#safety .care-copy{grid-column:1;grid-row:2}#safety .care-preview{grid-row:3}}
@media(max-width:700px){#safety .care-tabs button{min-height:46px;padding:10px 4px}}

/* Taller tabs with compact two-by-two labels. */
#safety h2{padding-bottom:0;align-self:center}
#safety .care-tabs button{min-height:76px;padding:12px 8px}
#safety .care-tabs .care-tab-label{display:block;width:2em;white-space:normal;word-break:break-all;overflow-wrap:anywhere;line-height:1.25;text-align:center;flex:none}
@media(max-width:1100px){#safety h2{padding-bottom:24px}}
@media(max-width:700px){#safety .care-tabs button{min-height:68px;padding:10px 4px}}

/* Square folder tabs and more breathing room beneath the heading. */
#safety{column-gap:24px}
#safety h2{align-self:center;padding-bottom:28px}
#safety .care-copy{justify-self:end;width:100%;max-width:520px}
#safety .care-tabs{gap:8px}
#safety .care-tabs button{min-height:114px;padding:14px 6px;border-radius:12px 12px 0 0}
#safety .care-tabs .care-tab-label{line-height:1.35}
#safety .care-preview{border-radius:16px 0 16px 16px}
@media(max-width:1100px){#safety .care-copy{max-width:520px}#safety h2{padding-bottom:32px}}
@media(max-width:700px){#safety .care-copy{max-width:100%}#safety .care-tabs{gap:6px}#safety .care-tabs button{min-height:98px;padding:12px 4px}
#safety .care-preview{border-radius:10px 0 10px 10px}}

/* Match booking step labels in both default and selected states. */

/* The section title is the default overview tab. */
#safety{display:block}
#safety .care-layout{display:block;max-width:1080px}
#safety .care-copy{display:block;width:100%;max-width:none}
#safety .care-tabs{grid-template-columns:minmax(0,1fr) repeat(4,minmax(80px,110px));align-items:stretch}
#safety .care-tabs .care-overview-tab{font-family:ShuHei,sans-serif;font-size:clamp(25px,3vw,40px);font-weight:400;white-space:normal;padding:18px 24px;text-align:left;justify-content:flex-start;line-height:1.3}
#safety .care-preview{min-height:354px}
#safety .care-preview[data-overview="true"]{grid-template-columns:1fr}
#safety #carePlaceholder[hidden]{display:none}
#safety .care-preview[data-overview="true"] .care-detail{max-width:none}
@media(max-width:700px){#safety .care-tabs{grid-template-columns:minmax(0,1fr) repeat(4,minmax(0,.55fr));gap:3px}#safety .care-tabs .care-overview-tab{font-size:20px;padding:12px 8px}#safety .care-tabs button{padding:10px 3px;min-height:98px}
#safety .care-preview{min-height:300px}}

/* Preserve the original section-heading scale in the overview tab. */

/* Join the overview tab to the panel without an inward corner. */
#safety .care-preview{border-top-left-radius:0}
#safety .care-tabs button.care-overview-tab.active:before{left:-2px;border-left:2px solid var(--green);box-sizing:content-box}

#safety .care-tabs button.care-overview-tab{justify-content:center;align-items:center;text-align:center}

/* White brand watermark in the overview panel. */
#safety .care-preview[data-overview="true"]:after{content:"";position:absolute;right:52px;top:50%;width:312px;height:312px;background:url("assets/care-watermark-logo.png") center/contain no-repeat;filter:brightness(0) invert(1);opacity:.8;transform:translateY(-50%) rotate(16deg);pointer-events:none}
#safety .care-preview[data-overview="true"] .care-explainer{position:relative;z-index:1;padding-right:280px}
@media(max-width:700px){#safety .care-preview[data-overview="true"]:after{width:195px;height:195px;right:-12px;top:auto;bottom:-16px;transform:rotate(16deg);opacity:.6}#safety .care-preview[data-overview="true"] .care-explainer{padding-right:0;padding-bottom:80px}}

/* Align the care folder with the story cards inside the shared wrap. */
#safety .care-layout{width:100%;max-width:none}

/* Plain section heading beside the four existing folder tabs. */
#safety .care-copy{display:grid;grid-template-columns:minmax(0,1fr) 464px;align-items:end;gap:8px}
#safety h2.care-section-title{grid-column:auto;grid-row:auto;align-self:center;margin:0;padding:0 16px 0 0;text-align:left;white-space:normal}
#safety .care-tabs{grid-template-columns:repeat(4,minmax(80px,110px));gap:8px}
@media(max-width:700px){#safety .care-copy{grid-template-columns:1fr;gap:24px}#safety h2.care-section-title{padding:0}#safety .care-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}}

/* Align the heading with the tab tops and soften the exposed panel corner. */
#safety h2.care-section-title{align-self:start}
#safety .care-preview{border-top-left-radius:16px}
@media(max-width:700px){#safety .care-preview{border-top-left-radius:10px}}

#careOverview{display:block;padding:0;border:0;background:none;font:inherit;color:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit}
#careOverview:focus-visible{outline:2px solid var(--ink);outline-offset:6px;border-radius:4px}

#safety .care-preview[data-overview="true"] .care-detail{white-space:pre-line}

/* A light directional cue from the overview to the topic tabs. */
#safety .care-preview[data-overview="true"] #careTopic{display:none}
#safety .care-preview[data-overview="true"] .care-detail{margin-top:0!important}

@media(max-width:700px){#safety .care-preview[data-overview="true"] .care-explainer{padding-top:58px}}

/* A friendly prompt beneath the overview copy. */
#safety .care-overview-hint{display:none}
#safety .care-preview[data-overview="true"] .care-overview-hint{display:inline-flex;align-items:center;gap:10px;margin:22px 0 0;padding:12px 18px;background:#fffefccc;border:1px dashed #b5c77c;border-radius:20px;color:var(--ink);font-size:14px;font-weight:600;line-height:1.8}
#safety .care-overview-hint span{font-size:22px;color:#99ad45;flex:none}
@media(max-width:700px){#safety .care-preview[data-overview="true"] .care-explainer{padding-top:0}#safety .care-preview[data-overview="true"] .care-overview-hint{padding:12px 14px;font-size:13px}}

#safety .care-overview-hint{text-align:left;cursor:pointer;font-family:inherit}
#safety .care-overview-hint:hover{background:#fffefc;border-color:var(--ink)}
#safety .care-overview-hint:focus-visible{outline:2px solid var(--ink);outline-offset:4px}

/* Anchor the overview action to the panel, clear of the body copy. */
#safety .care-preview[data-overview="true"]{padding-bottom:104px}
#safety .care-preview[data-overview="true"] .care-overview-hint{position:absolute;right:32px;bottom:26px;z-index:3;margin:0;gap:25px;border-radius:50px;padding:14px 24px;max-width:calc(100% - 64px)}
#safety .care-overview-hint span{font-size:19px;color:inherit}
@media(max-width:700px){#safety .care-preview[data-overview="true"]{padding-bottom:110px}#safety .care-preview[data-overview="true"] .care-overview-hint{right:16px;bottom:20px;max-width:calc(100% - 32px);padding:12px 16px;gap:14px}}

#safety .care-preview{padding-bottom:104px}
#safety .care-panel-action{position:absolute;right:32px;bottom:26px;z-index:3;display:inline-flex;align-items:center;gap:25px;margin:0;padding:14px 24px;border:1px dashed #b5c77c;border-radius:50px;background:#fffefccc;color:var(--ink);font-family:inherit;font-size:14px;font-weight:600;line-height:1.8;cursor:pointer}
#safety .care-panel-action[hidden]{display:none}
#safety .care-panel-action>span[aria-hidden]{font-size:19px}
#safety .care-panel-action:hover{background:#fffefc;border-color:var(--ink)}
#safety .care-panel-action:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(max-width:700px){#safety .care-preview{padding-bottom:110px}#safety .care-panel-action{right:16px;bottom:20px;padding:12px 16px;gap:14px}}

/* Carry the story navigation's outlined style into care actions. */
#safety .care-panel-action,#safety .care-preview[data-overview="true"] .care-overview-hint{min-height:42px;padding:8px 18px;gap:14px;border:1px solid #cfd9a5;border-radius:999px;background:#fff;color:var(--ink);font-size:14px;font-weight:500;line-height:1.5;transition:background .2s}
#safety .care-panel-action:hover,#safety .care-preview[data-overview="true"] .care-overview-hint:hover{background:var(--green);border-color:#cfd9a5;color:var(--ink)}
#safety .care-panel-action>span[aria-hidden],#safety .care-overview-hint>span[aria-hidden]{font-size:20px;font-weight:400}
@media(prefers-reduced-motion:reduce){#safety .care-panel-action,#safety .care-preview[data-overview="true"] .care-overview-hint{transition:none}}

#safety #carePrevious{left:32px;right:auto}
@media(max-width:700px){#safety #carePrevious{left:16px}}

/* Keep backward and forward actions together, like story navigation. */
#safety .care-panel-actions{position:absolute;right:32px;bottom:26px;z-index:3;display:flex;align-items:center;gap:10px}
#safety .care-panel-actions .care-panel-action,#safety .care-panel-actions #carePrevious{position:static;margin:0}
@media(max-width:700px){#safety .care-panel-actions{right:16px;bottom:20px;gap:6px}}

/* Reserve the same panel space for the overview and every topic. */
#safety .care-preview,#safety .care-preview[data-overview="true"]{min-height:424px}
@media(max-width:700px){#safety .care-preview,#safety .care-preview[data-overview="true"]{min-height:540px}}

#safety .care-feedback-row{display:flex;justify-content:center;margin-top:16px}
#safety .care-feedback-link{padding:4px 0;border:0;border-bottom:1px solid #dbe3bd;background:none;color:var(--ink);cursor:pointer}
#safety .care-feedback-link:hover{border-bottom-color:var(--ink)}
#safety .care-feedback-link:focus-visible{outline:2px solid var(--ink);outline-offset:4px}

/* Keep the outer panel height identical when switching overview and topics. */
#safety .care-preview,#safety .care-preview[data-overview="true"]{height:450px;min-height:450px;grid-template-rows:minmax(0,1fr)}
#safety #carePlaceholder{max-height:100%;min-height:0;object-fit:contain}
@media(max-width:700px){#safety .care-preview,#safety .care-preview[data-overview="true"]{height:620px;min-height:620px;grid-template-rows:220px minmax(0,1fr)}#safety .care-preview[data-overview="true"]{grid-template-rows:minmax(0,1fr)}#safety .care-preview .care-explainer{max-height:100%;overflow:auto}}

/* Remove the overview watermark and reclaim its reserved text space. */
#safety .care-preview[data-overview="true"]:after{display:none}
#safety .care-preview[data-overview="true"] .care-explainer{padding-right:0;padding-bottom:0}

/* Clip the shared success surface to its rounded border, including full-width art. */
#contactDialog.contact-success{overflow:hidden;border-radius:24px}

/* Match the supporting hero copy across both text links. */
.hero-actions>a,#safety .care-feedback-link{color:var(--color-text-secondary)}

/* Keep overview copy the same size as unselected care tabs. */
#safety{--care-default-font-size:18px}
@media(max-width:700px){#safety{--care-default-font-size:14px}}

/* Photo overview: a continuous image with a soft readable fade. */
#safety .care-copy{grid-template-columns:minmax(0,1fr) 464px;gap:8px}
#safety .care-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
#safety .care-tabs button{border-radius:14px 14px 0 0}
#safety .care-preview{border-radius:16px;overflow:hidden}
#safety .care-preview[data-overview="true"]{
  background-color:transparent;
  background-image:linear-gradient(90deg,rgba(245,248,232,.04) 15%,rgba(245,248,232,.22) 36%,rgba(245,248,232,.93) 57%,rgba(245,248,232,.94) 100%),url('assets/care-user-photo.png');
  background-size:cover;background-position:center,35% 45%;
  border:0;padding:42px 32px 104px 48%;
}
#safety .care-preview[data-overview="true"] .care-explainer{padding:0;background:none;border-radius:16px}
#safety .care-preview[data-overview="true"] .care-detail{color:#354414;text-shadow:0 1px 8px #fffffc80}
#safety .care-preview[data-overview="true"] .care-overview-hint{background:rgba(255,255,255,.85)}
@media(max-width:1100px) and (min-width:701px){#safety .care-copy{grid-template-columns:minmax(0,1fr) 44%}}
@media(max-width:700px){
  #safety .care-copy{grid-template-columns:1fr}
  #safety .care-preview[data-overview="true"]{padding:270px 24px 100px;background-image:linear-gradient(180deg,rgba(245,248,232,0) 18%,rgba(245,248,232,.92) 48%,rgba(245,248,232,.97) 100%),url('assets/care-user-photo.png');background-position:center,38% 28%;}}

/* Extend the last tab into the rounded outer corner without a white notch. */
#safety .care-tabs button:last-child{position:relative}
#safety .care-tabs button:last-child:after{content:"";display:block;position:absolute;right:-2px;bottom:-16px;width:2px;height:16px;background:#cbd79c;pointer-events:none}

/* One clean folder edge from the final tab into the bordered photo. */
#safety .care-preview,#safety .care-preview[data-overview="true"]{border:2px solid #cbd79c;border-radius:16px 0 16px 16px}
#safety .care-tabs button:last-child:after{display:none}
#safety .care-tabs button:last-child{border-right:2px solid #cbd79c}

/* Fill the whole overview with the photo and share the action's right edge. */
#safety .care-preview[data-overview="true"]{
 background-size:100% 100%,auto 110%;background-repeat:no-repeat;background-position:center,center;
 background-image:linear-gradient(90deg,rgba(245,248,232,0) 20%,rgba(245,248,232,.25) 38%,rgba(245,248,232,.93) 57%,rgba(245,248,232,.97) 100%),url('assets/care-user-photo.png');
}
#safety .care-preview[data-overview="true"] .care-explainer{width:100%;text-align:right;justify-self:end}
#safety .care-preview[data-overview="true"] .care-detail{text-align:right}
@media(max-width:700px){
 #safety .care-preview[data-overview="true"]{padding-right:16px;background-image:linear-gradient(180deg,rgba(245,248,232,0) 18%,rgba(245,248,232,.93) 48%,rgba(245,248,232,.97) 100%),url('assets/care-user-photo.png');background-position:center,38% 28%}}

/* Match the hero supporting sentence in the overview only. */
#safety .care-preview[data-overview="true"] .care-detail{color:var(--color-text-secondary);text-shadow:none}

/* Overview composition: copy and action left, dog right. */
#safety .care-preview[data-overview="true"]{
 padding:42px 48% 104px 32px;
 background-image:linear-gradient(270deg,rgba(245,248,232,0) 20%,rgba(245,248,232,.25) 38%,rgba(245,248,232,.93) 57%,rgba(245,248,232,.97) 100%),url('assets/care-user-photo-flipped.png');
 background-position:center,center;
}
#safety .care-preview[data-overview="true"] .care-explainer{justify-self:start;text-align:left}
#safety .care-preview[data-overview="true"] .care-detail{text-align:left}
#safety .care-preview[data-overview="true"] .care-overview-hint{left:32px;right:auto}
@media(max-width:700px){
 #safety .care-preview[data-overview="true"]{padding:270px 24px 100px 16px;background-image:linear-gradient(180deg,rgba(245,248,232,0) 18%,rgba(245,248,232,.93) 48%,rgba(245,248,232,.97) 100%),url('assets/care-user-photo-flipped.png');background-position:center,72% 28%}
 #safety .care-preview[data-overview="true"] .care-overview-hint{left:16px;right:auto}}

/* A gradual photo fade with the overview action flowing beneath its copy. */
#safety .care-preview[data-overview="true"]{
 padding:48px 48% 48px 48px;
 background-image:linear-gradient(90deg,rgba(245,248,232,.97) 0%,rgba(245,248,232,.94) 28%,rgba(245,248,232,.84) 40%,rgba(245,248,232,.58) 51%,rgba(245,248,232,.24) 62%,rgba(245,248,232,.04) 76%,rgba(245,248,232,0) 100%),url('assets/care-user-photo-flipped.png');
}
#safety .care-preview[data-overview="true"] .care-overview-hint{position:static;max-width:100%;margin:24px 0 0;left:auto;right:auto;bottom:auto}
@media(max-width:700px){
 #safety .care-preview[data-overview="true"]{padding:270px 24px 32px;background-image:linear-gradient(180deg,rgba(245,248,232,0) 10%,rgba(245,248,232,.15) 28%,rgba(245,248,232,.7) 44%,rgba(245,248,232,.94) 60%,rgba(245,248,232,.97) 100%),url('assets/care-user-photo-flipped.png')}
 #safety .care-preview[data-overview="true"] .care-overview-hint{margin-top:20px}}

#safety .care-preview[aria-labelledby="careTab3"] .care-detail{white-space:pre-line}

/* Text-only insurance information with monthly subsidy emphasis. */
#safety .care-preview[aria-labelledby="careTab3"]{grid-template-columns:1fr}
#safety .care-preview[aria-labelledby="careTab3"] #carePlaceholder{display:none}
#safety .care-preview[aria-labelledby="careTab3"] .care-detail{max-width:none;white-space:pre-line}
@media(max-width:700px){#safety .care-preview[aria-labelledby="careTab3"]{grid-template-rows:minmax(0,1fr)}}

/* Interactive care guidelines, styled after the mini-program. */
#safety .care-rules-frame{display:none}
#safety .care-preview[aria-labelledby="careTab1"] #carePlaceholder{display:none}
#safety .care-preview[aria-labelledby="careTab1"] .care-rules-frame{display:block;max-height:300px;overflow-y:auto;overscroll-behavior:contain;padding:2px 12px 12px 2px;color:#292c24;font-size:13px;line-height:1.5}
#safety .rules-mode-group{display:grid;gap:10px;margin-bottom:20px}
#safety .rules-mode{position:relative;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #dce0d1;border-radius:12px;background:#fff;cursor:pointer;transition:background .15s,border-color .15s}
#safety .rules-mode:has(input:checked){background:#fff;border-color:#BFD650}
#safety .rules-mode input,#safety .rules-answer input{position:absolute;opacity:0;width:1px;height:1px}
#safety .rules-mode:has(input:focus-visible),#safety .rules-answer:has(input:focus-visible){outline:3px solid #8b9f32;outline-offset:3px}
#safety .rules-heart{display:block;flex:0 0 110px;width:110px;height:90px;object-fit:cover;object-position:left center;margin:-14px 0 -14px -16px;align-self:stretch;border-radius:11px 0 0 11px}

#safety .rules-mode-copy{flex:1;min-width:0}
#safety .rules-mode-copy b{display:block}
#safety .rules-mode-copy small{display:block;margin-top:3px;color:var(--color-text-muted)}
#safety .rules-mode-check{display:block;width:30px;height:30px;flex:none}
#safety .rules-mode-check img,#safety .rules-answer>span img{display:block;width:100%;height:100%;object-fit:contain}
#safety .rules-icon-on{display:none!important}
#safety label:has(input:checked) .rules-icon-off{display:none}
#safety label:has(input:checked) .rules-icon-on{display:block!important}
#safety .rules-choice{position:relative;min-width:0;border:0;border-bottom:1px solid #d8ddcb;margin:0;padding:14px 84px 14px 0;min-height:51px}
#safety .rules-choice legend{display:contents}
#safety .rules-choice-options{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;gap:14px}
#safety .rules-answer{position:relative;display:block;cursor:pointer;margin:0}
#safety .rules-answer>span{display:block;width:30px;height:30px}
#safety .rules-notes{display:flex;align-items:center;gap:12px;margin-top:20px}
#safety .rules-notes>label{flex:none;color:#42463a;cursor:text}
#safety .rules-notes>input{display:block;box-sizing:border-box;flex:1;min-width:0;width:100%;height:42px;padding:0 12px;border:1px solid #c5cfaf;border-radius:8px;background:#fff;font:inherit;color:#42463a;transition:border-color .15s,box-shadow .15s}
#safety .rules-notes>input:focus{border-color:#8b9f32;outline:0;box-shadow:0 0 0 3px rgba(191,214,80,.2)}
#safety .rules-notes>input::placeholder{color:var(--color-text-muted)}
@media(max-width:700px){#safety .care-preview[aria-labelledby="careTab1"]{grid-template-rows:300px minmax(0,1fr)}#safety .care-preview[aria-labelledby="careTab1"] .care-rules-frame{max-height:300px}#safety .rules-mode{padding:10px;gap:8px}#safety .rules-heart{flex-basis:86px;width:86px;height:76px;margin:-10px 0 -10px -10px}
#safety .rules-choice{padding-right:76px}#safety .rules-choice-options{gap:10px}}

/* Automatic, proportional location illustration; no playback controls. */
#safety .care-auto-tracking{display:none}
#safety .care-preview[aria-labelledby="careTab2"] #carePlaceholder{display:none}
#safety .care-preview[aria-labelledby="careTab2"] .care-auto-tracking{display:block;position:relative;width:100%;aspect-ratio:8/5;max-height:300px;overflow:hidden;border-radius:14px;align-self:center}
#safety .care-auto-tracking>.tracking-base{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
#safety .care-auto-tracking>.tracking-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#safety .care-auto-tracking.is-complete>.tracking-overlay{display:none}
@media(max-width:700px){#safety .care-preview[aria-labelledby="careTab2"]{grid-template-rows:300px minmax(0,1fr)}#safety .care-auto-tracking{max-width:480px;justify-self:center}}
#safety .care-preview[aria-labelledby="careTab2"] .care-auto-tracking{max-width:480px;justify-self:center}

/* Tab labels already identify each care topic. */
#safety .care-preview[data-overview="false"] .care-explainer-label{display:none}
#safety .care-preview[data-overview="false"] .care-detail{margin-top:0!important}

#safety .care-preview[aria-labelledby="careTab0"] #carePlaceholder{display:block;width:100%;height:auto;max-height:300px;object-fit:contain;border-radius:14px;align-self:center;justify-self:center}

/* Insurance subsidy: introduction above two full, proportional policy samples. */
#safety .care-insurance-gallery{display:none}
#safety .care-preview[aria-labelledby="careTab3"]{display:flex;flex-direction:column;align-items:stretch;gap:24px;height:auto;min-height:450px;padding:36px 48px 92px}
#safety .care-preview[aria-labelledby="careTab3"] .care-explainer{order:0;flex:none;width:100%;max-width:850px;margin:0 auto;padding:0;background:none;overflow:visible}
#safety .care-preview[aria-labelledby="careTab3"] .care-detail{margin:0!important;min-height:0}
#safety .care-preview[aria-labelledby="careTab3"] .care-insurance-gallery{display:grid;order:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%;max-width:650px;margin:0 auto;padding:4px}
#safety .insurance-policy-card{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;padding:16px 18px 14px;border:1px solid #dce3c2;border-radius:18px;background:#fffefc;box-shadow:0 5px 16px rgba(76,91,8,.05);transition:transform .2s,box-shadow .2s,border-color .2s}
#safety .insurance-policy-card:hover{transform:translateY(-4px);border-color:#BFD650;box-shadow:0 10px 24px rgba(76,91,8,.1)}
#safety .insurance-policy-card:focus-visible{outline:3px solid #8b9f32;outline-offset:4px}
#safety .insurance-policy-name{color:var(--ink);padding:3px 16px;border-radius:30px;background:#f0f4df}
#safety .insurance-policy-card img{display:block;width:100%;height:auto;max-width:210px;max-height:none;object-fit:contain;border-radius:8px}
#safety .insurance-policy-link{display:flex;align-items:center;gap:18px;color:var(--color-text-secondary)}
#safety .insurance-policy-card:nth-child(2) .insurance-policy-name{background:#f0f4df}
@media(max-width:700px){#safety .care-preview[aria-labelledby="careTab3"]{padding:24px 20px 92px;gap:20px;min-height:620px}#safety .care-preview[aria-labelledby="careTab3"] .care-insurance-gallery{gap:12px;padding:2px}#safety .insurance-policy-card{padding:12px 8px;gap:10px;border-radius:13px}#safety .insurance-policy-name{padding:3px 8px}#safety .insurance-policy-link{gap:6px}}

#safety button.insurance-policy-card{font-family:inherit;text-align:center;color:inherit;cursor:pointer}
#policyPreview{width:min(920px,94vw);max-width:94vw;max-height:90vh;max-height:90dvh;padding:0;border:1px solid #dce3c2;border-radius:20px;background:#fffefc;overflow:hidden;box-shadow:0 24px 90px rgba(35,43,16,.25)}
#policyPreview[open]{display:flex;flex-direction:column}
#policyPreview::backdrop{background:rgba(28,35,16,.55);backdrop-filter:blur(4px)}
#policyPreview .policy-preview-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:none;padding:16px 22px;border-bottom:1px solid #e6ead8;background:#f5f7eb}
#policyPreview h2{margin:0;color:var(--ink)}
#policyPreview .close{position:static;display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#e8edda;color:#4c5b08;font-size:26px;line-height:1;cursor:pointer}
#policyPreview .close:focus-visible{outline:3px solid #8b9f32;outline-offset:3px}
#policyPreview .policy-preview-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px;background:white}
#policyPreviewImage{display:block;width:100%;height:auto;max-width:none;object-fit:contain}
body:has(#policyPreview[open]){overflow:hidden}
@media(max-width:700px){#policyPreview{border-radius:14px}#policyPreview .policy-preview-header{padding:12px 14px}#policyPreview .policy-preview-scroll{padding:8px}}

/* Shared topic layout: text first, visual below, stable navigation at both edges. */
#safety .care-preview[data-overview="false"]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:start;gap:24px;height:640px;min-height:640px;padding:36px 48px 92px}
#safety .care-preview[data-overview="false"] .care-explainer{grid-column:1;grid-row:1;order:0;width:100%;max-width:850px;max-height:none;margin:0 auto;padding:0;background:none;overflow:visible;align-self:start}
#safety .care-preview[data-overview="false"] .care-detail{margin:0!important;min-height:0;max-width:none}
#safety .care-preview[data-overview="false"] #carePlaceholder,#safety .care-preview[data-overview="false"] .care-rules-frame,#safety .care-preview[data-overview="false"] .care-auto-tracking,#safety .care-preview[data-overview="false"] .care-insurance-gallery{grid-column:1;grid-row:2;order:1;justify-self:center;align-self:center;width:100%;max-width:650px;min-height:0;max-height:100%;margin:0}
#safety .care-preview[aria-labelledby="careTab0"] #carePlaceholder{width:100%;height:100%;object-fit:contain}
#safety .care-preview[aria-labelledby="careTab1"] .care-rules-frame{height:100%;overflow-y:auto;padding:2px 12px 12px 2px}
#safety .care-preview[aria-labelledby="careTab2"] .care-auto-tracking{height:auto;aspect-ratio:8/5}
#safety .care-preview[data-overview="false"] .care-panel-actions{left:32px;right:32px;bottom:26px;justify-content:space-between;gap:16px}
#safety .care-preview[data-overview="false"] .care-panel-actions>.care-panel-action{position:static;flex:none;margin:0}
@media(max-width:700px){
 #safety .care-preview[data-overview="false"]{height:620px;min-height:620px;padding:24px 20px 92px;gap:20px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 #safety .care-preview[data-overview="false"] .care-panel-actions{left:16px;right:16px;bottom:20px;gap:8px}
 #safety .care-preview[data-overview="false"] .care-auto-tracking{max-width:480px}}

/* Descriptions above each visual, preserving the supplied line breaks. */
#safety .care-preview[data-overview="false"]{grid-template-rows:auto minmax(0,1fr)}
#safety .care-preview[data-overview="false"] .care-explainer{grid-row:1;order:0;align-self:start}
#safety .care-preview[data-overview="false"] .care-detail{white-space:pre-line}
#safety .care-preview[data-overview="false"] #carePlaceholder,#safety .care-preview[data-overview="false"] .care-rules-frame,#safety .care-preview[data-overview="false"] .care-auto-tracking,#safety .care-preview[data-overview="false"] .care-insurance-gallery{grid-row:2;order:1}
@media(max-width:700px){#safety .care-preview[data-overview="false"]{grid-template-rows:auto minmax(0,1fr)}}
#safety .care-preview[data-overview="false"] .care-insurance-gallery{height:100%;align-items:stretch}
#safety .care-preview[data-overview="false"] .insurance-policy-card{min-height:0;max-height:100%}
#safety .care-preview[data-overview="false"] .insurance-policy-card img{flex:1;min-height:0;height:0;width:100%;object-fit:contain}
#safety .care-preview[data-overview="false"] .insurance-policy-name,#safety .care-preview[data-overview="false"] .insurance-policy-link{flex:none}
#safety .care-preview[aria-labelledby="careTab2"] .care-auto-tracking{height:100%;width:auto;max-width:100%;aspect-ratio:8/5}
#safety .care-auto-tracking>.tracking-base{height:100%;object-fit:contain}

/* Centre all topic descriptions with consistent regular-weight text. */
#safety .care-preview[data-overview="false"] .care-explainer{text-align:center}
#safety .care-preview[data-overview="false"] .care-detail,#safety .care-preview[data-overview="false"] .care-detail strong{text-align:center}

/* New dog overview: original photo, natural pale-green fade and copy on the right. */
#safety .care-preview[data-overview="true"]{
 height:640px;min-height:640px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);
 padding:48px 48px 48px 48%;
 background-color:#f5f8e8;
 background-image:linear-gradient(90deg,rgba(245,248,232,0) 0%,rgba(245,248,232,.04) 24%,rgba(245,248,232,.24) 38%,rgba(245,248,232,.58) 49%,rgba(245,248,232,.84) 60%,rgba(245,248,232,.94) 72%,rgba(245,248,232,.97) 100%),url('assets/care-overview-dog-right-copy.png');
 background-size:100% 100%,cover;background-repeat:no-repeat;background-position:center,left center;
}
#safety .care-preview[data-overview="true"] .care-explainer{width:100%;max-width:none;justify-self:end;align-self:center;text-align:right;padding:0;background:none}
#safety .care-preview[data-overview="true"] .care-detail{text-align:right}
#safety .care-preview[data-overview="true"] .care-overview-hint{position:static;left:auto;right:auto;bottom:auto;margin:24px 0 0;max-width:100%;text-align:right}
@media(max-width:700px){
 #safety .care-preview[data-overview="true"]{height:620px;min-height:620px;padding:290px 24px 32px;
 background-image:linear-gradient(180deg,rgba(245,248,232,0) 8%,rgba(245,248,232,.12) 27%,rgba(245,248,232,.68) 46%,rgba(245,248,232,.94) 61%,rgba(245,248,232,.98) 100%),url('assets/care-overview-dog-right-copy.png');
 background-position:center,30% center;background-size:100% 100%,cover}
 #safety .care-preview[data-overview="true"] .care-overview-hint{margin-top:20px}}

/* Keep the photo clear until the right-hand text area. */
#safety .care-preview[data-overview="true"]{background-image:linear-gradient(90deg,rgba(245,248,232,0) 0%,rgba(245,248,232,0) 44%,rgba(245,248,232,.24) 49%,rgba(245,248,232,.7) 58%,rgba(245,248,232,.9) 72%,rgba(245,248,232,.96) 100%),url('assets/care-overview-dog-right-copy.png')}
@media(max-width:700px){#safety .care-preview[data-overview="true"]{background-image:linear-gradient(180deg,rgba(245,248,232,0) 0%,rgba(245,248,232,0) 40%,rgba(245,248,232,.35) 48%,rgba(245,248,232,.85) 62%,rgba(245,248,232,.96) 100%),url('assets/care-overview-dog-right-copy.png')}}

/* Show the full agreement artwork on its transparent background. */
#safety .care-preview[aria-labelledby="careTab0"] #carePlaceholder{width:min(650px,100%);height:100%;max-width:100%;max-height:100%;aspect-ratio:8/5;border:0;border-radius:0;background:transparent;box-shadow:none;object-fit:contain;object-position:center;align-self:center;justify-self:center}

/* Centre topic navigation on the panel edges, with arrows projecting outside. */
#safety .care-preview[data-overview="false"]{overflow:visible}
#safety .care-preview[data-overview="false"] .care-panel-actions{left:-24px;right:-24px;top:50%;bottom:auto;transform:translateY(-50%);height:48px;pointer-events:none;z-index:5}
#safety .care-preview[data-overview="false"] .care-panel-actions>.care-panel-action{width:48px;height:48px;min-height:48px;padding:0;gap:0;justify-content:center;border-radius:50%;font-size:0;pointer-events:auto;box-shadow:0 3px 12px #4c5b0812}
#safety .care-preview[data-overview="false"] .care-panel-action>span[aria-hidden]{font-size:24px;line-height:1}
#safety .care-panel-action #carePreviousLabel,#safety .care-panel-action #careNextLabel{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:700px){
 #safety .care-preview[data-overview="false"] .care-panel-actions{left:-18px;right:-18px;height:36px}
 #safety .care-preview[data-overview="false"] .care-panel-actions>.care-panel-action{width:36px;height:36px;min-height:36px}
 #safety .care-preview[data-overview="false"] .care-panel-action>span[aria-hidden]{font-size:21px}}

/* Give each topic breathing room and centre its text-and-image group vertically. */
#safety .care-preview[data-overview="false"]{padding:64px 48px;grid-template-rows:auto minmax(0,340px);align-content:center;gap:28px}
@media(max-width:700px){
 #safety .care-preview[data-overview="false"]{padding:52px 24px;grid-template-rows:auto minmax(0,300px);align-content:center;gap:24px}}

/* Keep the rules content in a native scrolling container. */
#safety .care-preview[aria-labelledby="careTab1"] .care-rules-frame{position:relative;overflow:hidden;padding:0}
#safety .care-rules-demo{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:2px 18px 12px 2px}

/* Bring the care heading 50px closer to the top after anchor navigation. */
#safety{scroll-margin-top:-50px}

/* Match the unselected insurance card outline inside the tracking image edges. */
#safety .care-preview[aria-labelledby="careTab2"] .care-auto-tracking{outline:1px solid #dce3c2;outline-offset:-1px;border-radius:14px}

/* Start agreement copy one line lower, keeping the shared panel layout. */
#safety .care-preview[aria-labelledby="careTab0"] .care-explainer{padding-top:1.9em}

/* Keep each complete group of three stories readable on small screens. */
@media(max-width:700px){.stories .story-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;overflow:visible}.stories .story{min-width:0;width:100%}}

/* Each story set has one guest card and a double-width owner-and-pet card. */
.stories .story-grid{grid-template-columns:minmax(0,1fr) minmax(0,2.062fr);overflow:visible}
.stories .story-owner-pet{position:relative;overflow:visible}
.stories .story-owner-pet .story-content{width:calc(50% - 11px)}
.stories .story-pet-area{position:absolute;right:0;bottom:0;width:calc(50% - 11px);height:100%;pointer-events:none}
.stories .story-pet-area img{position:absolute;right:0;bottom:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:right bottom}
.stories .story-band{overflow:visible}
@media(max-width:700px){
 .stories .story-grid{grid-template-columns:minmax(0,1fr)}
 .stories .story-owner-pet .story-content{width:58%}
 .stories .story-pet-area{width:40%}}

/* Pet names use the same dark text colour as owner names. */
.stories .story-person .story-pet-name{color:var(--body)}

/* All story cards use the tallest natural card height across the three sets. */
.stories .story{min-height:max(223px,var(--story-card-height,223px))}

/* Anchor each testimonial profile to the same bottom-left inset. */
.stories .story{display:flex;flex-direction:column}
.stories .story-owner-pet .story-content{display:flex;flex-direction:column;flex:1;min-height:0}
.stories .story .quote{flex:none}
.stories .story p{margin-bottom:28px}
.stories .story .story-person{margin-top:auto;flex:none;align-self:flex-start}

/* Use identical top spacing and quote height for guest and owner reviews. */
.stories .story{padding:25px;justify-content:flex-start}
.stories .story-owner-pet .story-content{margin:0;padding:0;justify-content:flex-start}
.stories .story .quote{height:32px;min-height:32px;margin:0;padding:0;line-height:32px}
.stories .story p{margin-top:10px;padding-top:0;flex:none;align-self:stretch}

/* Give owner reviews more room while reserving a separate pet-image area. */
.stories .story-owner-pet .story-content{width:calc(49.2% + 106.2px)}
.stories .story-owner-pet p{white-space:pre-line}
.stories .story-owner-pet .story-pet-area{width:calc(49.28% - 73.92px)}
@media(max-width:700px){
 .stories .story-owner-pet .story-content{width:calc(54.8% + 39px)}
 .stories .story-owner-pet .story-pet-area{width:43.12%}}

/* Use the supplied WangBu profile logo for every testimonial. */
.stories .story-avatar{width:37px;height:37px;background:transparent;flex-shrink:0}
.stories .story-avatar img{display:block;width:100%;height:100%;object-fit:contain}

/* Preserve paragraph breaks in guest reviews while allowing natural wrapping. */
.stories .story-guest p{white-space:pre-line}

/* Mobile review text and pet photos occupy separate rows. */
@media(max-width:700px){
 .stories .story-owner-pet{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:32px auto minmax(160px,1fr) auto;row-gap:0}
 .stories .story-owner-pet .story-content{display:contents;width:auto}
 .stories .story-owner-pet .quote{grid-row:1}
 .stories .story-owner-pet p{grid-row:2;width:100%;min-width:0}
 .stories .story-owner-pet .story-person{grid-row:4;margin-top:16px;min-width:0}
 .stories .story-owner-pet .story-pet-area{position:relative;grid-row:3;justify-self:end;align-self:end;width:min(60%,220px);height:180px;right:auto;bottom:auto}
 header{gap:12px;padding-left:20px;padding-right:20px}
 header .brand{min-width:0;flex:1}
 header .brand img{max-width:min(180px,100%);height:auto}
 header .menu{display:none}
 header nav{gap:0}
 header nav>a{display:none}
 #safety .rules-notes{flex-direction:column;align-items:stretch;gap:8px}
 #safety .rules-notes>label{white-space:normal}
 #contactDialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}}

/* Official-account QR popup: preserve the supplied square code and quiet zone. */
#officialWechatQr{width:410px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:34px 24px 30px;text-align:center;overflow:auto}
#officialWechatQr h2{margin:12px 0 20px}
#officialWechatQr img{display:block;width:258px;max-width:100%;height:auto;object-fit:contain;margin:0 auto 20px;background:#fff;border-radius:0}
#officialWechatQr p{color:var(--color-text-secondary)}

/* Square left edges only on phone-sized care panels and visuals. */
@media(max-width:700px){
 #safety .care-preview,#safety .care-preview[data-overview="true"],
 #safety .care-preview #carePlaceholder,
 #safety .care-preview .care-auto-tracking{
  border-top-left-radius:0;
  border-bottom-left-radius:0;
 }}

/* Stack the hero actions on phones. */
@media(max-width:700px){.hero-play .hero-actions{flex-direction:column;align-items:center;gap:15px}}

/* Preserve the requested two-line headline on phones. */
@media(max-width:700px){.hero-play h1 br{display:block}}

.mobile-headline-space{display:none}
@media(max-width:700px){.mobile-headline-space{display:inline-block;width:calc(.25em + 16px)}}

/* Lift the four-card hero group on phones. */
@media(max-width:700px){.hero-play .pet-stage{margin-top:-13px}}

/* Reposition the top-left hero card on phones. */
@media(max-width:700px){.hero-play .pet-tile:nth-child(1){left:-7px;top:-75px}}

/* Lift the small right hero card on phones. */
@media(max-width:700px){.hero-play .pet-tile:nth-child(2){top:155px}}

/* Lift only 泡泡 and 克烈's large cards on phones. */
@media(max-width:700px){
 .hero-play .phone.hero-profile-kelie{transform:translateY(8px) rotate(5deg)}
 .hero-play .phone.hero-profile-kelie-lower{transform:translateY(23px) rotate(5deg)}}

/* Match the mobile hero CTA to the navigation CTA. */
@media(max-width:700px){
 .hero-play .hero-actions .pill{padding:7px 15px;min-height:40px;gap:10px}
 .hero-play .hero-actions .pill span{font-size:16px;line-height:1}}

@media(max-width:700px){.hero-sub .hero-desktop-period{display:none}}

/* Centre the about heading and introduction on phones. */
@media(max-width:700px){#mission>div:first-child>h2,#mission>div:first-child>p{text-align:center}}

/* Phone hero: one featured card and a tidy row of three selectable cards. */
@media(max-width:700px){
 body:not(.faq-page)>header{height:72px}
 .hero-play{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:calc(100svh - 72px);min-height:0;padding:12px 20px 16px;gap:12px;overflow:hidden}
 .hero-play .hero-editorial{min-width:0;padding:0}
 .hero-play h1{margin:6px 0 10px;max-width:100%}
 .hero-play .hero-actions{margin:16px 0 0;gap:9px}
 .hero-play .pet-stage{position:relative;width:100%;max-width:390px;height:100%;min-height:0;max-height:490px;margin:0 auto;transform:none;align-self:center}
 .hero-play .phone,.hero-play .phone.hero-profile-oscar,.hero-play .phone.hero-profile-kelie,.hero-play .phone.hero-profile-kelie-lower,.hero-play .phone.hero-profile-tudou{position:absolute;top:0;bottom:100px;left:50%;width:min(72%,270px);height:auto;margin:0;transform:translateX(-50%)}
 .hero-play .hero-profile-art{width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 5px 10px #56661518)}
 .hero-play .pet-rail{position:absolute;top:auto;bottom:0;left:0;width:100%;height:88px;display:flex;justify-content:center;align-items:center;gap:14px;transform:none}
 .hero-play .pet-rail .pet-tile:nth-child(n){position:relative;inset:auto;flex:0 0 66px;width:66px;height:auto;max-height:88px;transform:none;translate:none;box-shadow:0 3px 9px #42511812}
 .hero-play .pet-rail .pet-tile img{width:100%;height:auto;max-height:88px;object-fit:contain;border-radius:8px}
 .hero-play .trail-loop{display:none}}
@media(max-width:700px) and (max-height:700px){
 .hero-play{padding-top:4px;gap:8px;padding-bottom:10px}
 .hero-play h1{margin:4px 0 8px}
 .hero-play .hero-actions{margin-top:10px;gap:6px}
 .hero-play .phone,.hero-play .phone.hero-profile-oscar,.hero-play .phone.hero-profile-kelie,.hero-play .phone.hero-profile-kelie-lower,.hero-play .phone.hero-profile-tudou{bottom:80px}
 .hero-play .pet-rail{height:70px}
 .hero-play .pet-rail .pet-tile:nth-child(n){flex-basis:53px;width:53px;max-height:70px}
 .hero-play .pet-rail .pet-tile img{max-height:70px}}

/* Keep the mobile invitation below the complete card group. */
.hero-actions-mobile{display:none}
@media(max-width:700px){
 .hero-play{grid-template-rows:auto minmax(0,1fr) auto}
 .hero-play .hero-actions-desktop{display:none}
 .hero-play .hero-actions-mobile{display:flex;margin:0;align-items:center;justify-content:center}}

/* Bring the mobile cards closer to the subtitle. */
@media(max-width:700px){
 .hero-play{row-gap:6px}
 .hero-play .pet-stage{align-self:start}
 .hero-play .hero-profile-art{object-position:center top}}

/* Mobile carousel composition: a full featured card with adjacent previews. */
@media(max-width:700px){
 .hero-play .pet-stage{max-height:460px}
 .hero-play .phone,.hero-play .phone.hero-profile-oscar,.hero-play .phone.hero-profile-kelie,.hero-play .phone.hero-profile-kelie-lower,.hero-play .phone.hero-profile-tudou{top:0;bottom:0;width:68%;max-width:250px;z-index:2;pointer-events:none}
 .hero-play .hero-profile-art{object-position:center}
 .hero-play .pet-rail{inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:3}
 .hero-play .pet-rail .pet-tile:nth-child(n){display:none;position:absolute;top:50%;bottom:auto;width:22%;max-height:none;height:auto;pointer-events:auto;box-shadow:0 4px 12px #4251181a;transform:translateY(-50%)}
 .hero-play .pet-rail .pet-tile.hero-preview-previous{display:block;left:-3px;right:auto;transform:translateY(-50%) rotate(-7deg)}
 .hero-play .pet-rail .pet-tile.hero-preview-next{display:block;right:-3px;left:auto;transform:translateY(-50%) rotate(7deg)}
 .hero-play .pet-rail .pet-tile img{width:100%;max-height:none;height:auto}}

/* Remove the empty space above the featured mobile card. */
@media(max-width:700px){
 .hero-play{row-gap:2px}
 .hero-play .hero-profile-art{object-position:center top}}

/* Lower only the featured card and tighten the invitation beneath it. */
@media(max-width:700px){
 .hero-play .phone,.hero-play .phone.hero-profile-oscar,.hero-play .phone.hero-profile-kelie,.hero-play .phone.hero-profile-kelie-lower,.hero-play .phone.hero-profile-tudou{top:20px;bottom:-20px}
 .hero-play .hero-actions-mobile{position:relative;top:-30px}}

/* A compact, stable mobile hero: every pet shares one artwork slot and CTA position. */
@media(max-width:700px){
 .hero-play{container-type:inline-size;height:auto;grid-template-rows:auto auto auto;row-gap:12px;padding-bottom:24px}
 .hero-play .pet-stage{height:calc(min(68cqw,230px)*1.508 + 20px);max-height:min(43svh,367px);align-self:start}
 .hero-play .phone,.hero-play .phone.hero-profile-oscar,.hero-play .phone.hero-profile-kelie,.hero-play .phone.hero-profile-kelie-lower,.hero-play .phone.hero-profile-tudou{top:20px;bottom:0;width:68%;max-width:230px}
 .hero-play .hero-actions-mobile{position:static;top:auto;transform:none;margin:0}}

/* Keep the featured card foremost and lower the shared mobile invitation. */
@media(max-width:700px){
 .hero-play .phone,.hero-play .phone.hero-profile-oscar,.hero-play .phone.hero-profile-kelie,.hero-play .phone.hero-profile-kelie-lower,.hero-play .phone.hero-profile-tudou{z-index:4}
 .hero-play .hero-actions-mobile{position:relative;top:30px}}

/* Add 30px beneath the shared mobile hero button. */
@media(max-width:700px){.hero-play{padding-bottom:54px}}

/* Centre the mobile community statistics as an even row. */
@media(max-width:700px){#mission .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;justify-content:center;text-align:center}#mission .stats>div{min-width:0}}

/* Show the about photograph without its logo overlay on phones. */
@media(max-width:700px){#mission .walk-photo::after{display:none}}

/* Edge-to-edge square companion photograph on phones. */
@media(max-width:700px){
 #mission .about-art{width:100vw;max-width:none;height:auto;aspect-ratio:1;margin:0 0 0 calc(50% - 50vw)}
 #mission .walk-photo{width:100%;max-width:none;height:auto;aspect-ratio:1;border-radius:0;margin:0}}

/* Supplied mobile-only companion photograph. */
@media(max-width:700px){#mission .walk-photo{background-image:url('assets/about-mobile-bench.png');background-size:cover;background-position:center}}

/* Keep mobile content within the viewport and prevent sideways scrolling. */
@media(max-width:700px){
 html,body{width:100%;max-width:100%;overflow-x:hidden}
 @supports(overflow:clip){html,body{overflow-x:clip}}}

/* Bring the community note closer to the mobile photograph. */
@media(max-width:700px){#mission>.reference-note{bottom:42px}}

/* Shorten the booking journey on phones while retaining all three steps. */
@media(max-width:700px){
 .how{padding-top:32px;padding-bottom:24px}
 .how .journey-steps{gap:20px;padding:18px 4px 22px;margin-top:8px}
 .how .journey-steps button{padding:10px 12px 14px;border-radius:20px}
 .how .journey-steps button .journey-art{height:76px}
 .how .journey-steps button[aria-selected=true] .journey-art{height:100px}
 .how .journey-steps button h3,.how .journey-steps button[aria-selected=true] h3{margin:4px 0 5px}}

/* Keep the curved mobile paw route inside the green section, behind its cards. */
.journey-mobile-trail{display:none}
@media(max-width:700px){
 #petsharing{position:relative;isolation:isolate;overflow:hidden}
 #petsharing>.journey-paw-trail{display:none}
 #petsharing>.journey-mobile-trail{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.32;overflow:hidden}
 #petsharing>.wrap{position:relative;z-index:1}
 #petsharing .journey-steps:before{display:none}}

/* Mobile care heading, compact tabs, and matching lower panel corners. */
@media(max-width:700px){
 #safety h2{width:100%;text-align:center;padding-bottom:44px;margin:0;justify-self:center}
 #careOverview{text-align:center}
 #safety .care-tabs{gap:4px}
 #safety .care-tabs button{min-height:76px;padding:8px 2px}
 #safety .care-preview,#safety .care-preview[data-overview="true"]{border-bottom-left-radius:16px;border-bottom-right-radius:16px}}

/* Apply mobile heading alignment to the section's specific title selector. */
@media(max-width:700px){
 #safety .care-copy{grid-template-columns:minmax(0,1fr);row-gap:23px}
 #safety h2.care-section-title{width:100%;margin:0;padding:0;text-align:center;justify-self:center}
 #safety h2.care-section-title #careOverview{width:100%;text-align:center}}

/* Remove only the mobile overview photograph, retaining the section layout. */
@media(max-width:700px){#safety .care-preview[data-overview="true"]{background-image:none}}

/* Centre the mobile care overview introduction. */
@media(max-width:700px){
 #safety .care-preview[data-overview="true"] .care-explainer{text-align:center;justify-self:center}
 #safety .care-preview[data-overview="true"] .care-detail{text-align:center}}

/* Let the mobile introduction wrap as a balanced paragraph without short orphan lines. */
@media(max-width:700px){
 #safety #carePanel[data-overview="true"] .care-explainer{width:100%;max-width:none;justify-self:center;text-align:center}
 #safety #carePanel[data-overview="true"] .care-detail{width:100%;max-width:none;margin-left:auto!important;margin-right:auto!important;text-align:center;white-space:normal;text-wrap:balance;word-break:normal;overflow-wrap:normal;line-break:strict}}

@media(max-width:700px){#careExplore .care-desktop-learn{display:none}}

/* Compact mobile care content without the old fixed-height blank areas. */
@media(max-width:700px){
 #safety #carePanel{height:auto;min-height:0;padding:22px 18px;gap:16px;align-content:start}
 #safety #carePanel[data-overview="true"]{grid-template-rows:auto;padding:26px 20px}
 #safety #carePanel[data-overview="false"]{grid-template-rows:auto auto}
 #safety #carePanel .care-explainer{padding-top:0;max-height:none;overflow:visible}
 #safety #carePanel .care-detail{min-height:0}
 #safety #carePanel #carePlaceholder{height:auto;max-height:270px;aspect-ratio:8/5}
 #safety #carePanel .care-rules-frame{height:300px;max-height:300px;align-self:start}
 #safety #carePanel .care-auto-tracking{width:100%;height:auto;max-height:none;aspect-ratio:8/5}
 #safety #carePanel .care-insurance-gallery{height:auto;align-items:stretch}
 #safety #carePanel .insurance-policy-card img{height:auto;flex:initial;max-height:230px}
 #safety .care-tabs button{min-height:64px;padding:6px 2px}}

/* All four mobile topics share the agreement panel's measured height. */
@media(max-width:700px){
 #safety #carePanel[data-overview="false"]{height:var(--mobile-care-topic-height,440px);min-height:var(--mobile-care-topic-height,440px);grid-template-rows:auto minmax(0,1fr)}
 #safety #carePanel[data-overview="false"] .care-rules-frame{height:100%;max-height:100%}
 #safety #carePanel[data-overview="false"] #carePlaceholder{height:100%;max-height:100%;object-fit:contain}
 #safety #carePanel[data-overview="false"] .care-insurance-gallery{height:100%;min-height:0}
 #safety #carePanel[data-overview="false"] .insurance-policy-card img{height:0;min-height:0;flex:1;object-fit:contain}}

/* Match the mobile notes field to the permission-row height. */
@media(max-width:700px){#safety .rules-notes>input{height:52px;min-height:52px;flex:none}}

/* Include the introductory care panel in the shared mobile panel height. */
@media(max-width:700px){
 #safety #carePanel[data-overview="true"]{height:var(--mobile-care-topic-height,440px);min-height:var(--mobile-care-topic-height,440px);padding:24px 20px;grid-template-rows:minmax(0,1fr);align-items:center}
 #safety #carePanel[data-overview="true"] .care-explainer{align-self:center;text-align:center}
 #safety #carePanel[data-overview="true"] .care-overview-hint{margin-top:20px}}

/* Centre the selected mobile booking step, preserving the staggered other cards. */
@media(max-width:700px){
 #petsharing .journey-steps button[aria-selected="true"],
 #petsharing .journey-steps button:nth-of-type(2)[aria-selected="true"],
 #petsharing .journey-steps button:nth-of-type(3)[aria-selected="true"]{align-self:center;margin-left:auto;margin-right:auto}}

/* Keep the original desktop button label together as one text item. */
#careExplore .care-button-desktop-label{display:inline;font:inherit;letter-spacing:inherit}
#careExplore .care-button-mobile-label{display:none;font:inherit;letter-spacing:inherit}
@media(max-width:700px){#careExplore .care-button-desktop-label{display:none}#careExplore .care-button-mobile-label{display:inline}}

/* Label spans must use button typography, not the arrow's larger span style. */
#safety #careExplore .care-button-desktop-label,
#safety #careExplore .care-button-mobile-label{font:inherit;color:inherit;letter-spacing:inherit;flex:initial}
@media(max-width:700px){#safety #careExplore,#safety #careExplore .care-button-mobile-label{font-size:12px;font-weight:700;line-height:1.5}}

/* Large circle-free brand watermark behind the mobile care introduction. */
@media(max-width:700px){
 #safety #carePanel[data-overview="true"]{position:relative;isolation:isolate;overflow:hidden}
 #safety #carePanel[data-overview="true"]::before{content:"";display:block;position:absolute;left:50%;top:50%;width:110%;aspect-ratio:197/171;background:url('assets/care-watermark-logo.png') center/contain no-repeat;transform:translate(-50%,-50%) rotate(-20deg);opacity:.14;pointer-events:none;z-index:0}
 #safety #carePanel[data-overview="true"] .care-explainer{position:relative;z-index:1}}

/* One compact row per mobile story set; three sets retain the existing arrows. */
@media(max-width:700px){
 .stories{padding-top:28px;padding-bottom:24px}
 .stories .story-title{gap:12px;margin-bottom:18px}
 .stories .story-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px;align-items:stretch}
 .stories .story{width:auto;min-width:0;height:390px;min-height:390px;max-height:390px;padding:14px 12px;border-radius:14px}
 .stories .story .quote{font-size:26px;line-height:1;height:26px;flex:none}
 .stories .story p{min-height:0;margin:8px 0 14px;overflow-y:auto;overscroll-behavior:contain}
 .stories .story-guest p{flex:1}
 .stories .story-owner-pet{grid-template-rows:26px minmax(0,1fr) 90px auto}
 .stories .story-owner-pet .story-pet-area{height:90px;width:85%;min-height:0}
 .stories .story .story-person{gap:6px;align-items:flex-start;width:100%;min-width:0;margin-top:auto}
 .stories .story-owner-pet .story-person{margin-top:10px}
 .stories .story-person>div{min-width:0}
 .stories .story-person img{width:26px;height:26px;flex:none}
 .stories .story-person small{overflow-wrap:anywhere}
 .stories .story-person .stars{font-size:11px;letter-spacing:0}}

/* Mobile testimonials use the image space for review text. */
@media(max-width:700px){
 .stories .story-owner-pet .story-pet-area{display:none}
 .stories .story-owner-pet{grid-template-rows:26px minmax(0,1fr) auto}
 .stories .story-owner-pet .story-person{grid-row:3}}

@media(max-width:700px){.stories .story-pet-details{display:none}}

/* Mobile reviews: one full card and a half-card preview on a photographic band. */
@media(max-width:700px){
 .stories{position:relative;padding-top:30px;padding-bottom:16px}
 .stories .story-title{display:block;padding-left:20px;padding-right:20px;margin-bottom:22px}
 .stories .story-title p{max-width:none;margin-top:12px}
 .stories .story-band{padding:24px 0}
 .stories .story-grid{display:flex;flex-wrap:nowrap;gap:16px;width:100%;max-width:none;margin:0;padding:0 20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:20px}
 .stories .story-grid .story{display:flex;flex-direction:column;flex:0 0 calc((100% - 8px)/1.5);min-width:0;height:330px;min-height:330px;max-height:330px;padding:20px 18px;border:0;border-radius:18px;background:#fff;scroll-snap-align:start}
 .stories .story-owner-pet .story-content{display:contents}
 .stories .story-grid .story p{flex:1;min-height:0;margin:10px 0 20px;overflow-y:auto}
 .stories .story-grid .story .story-person{margin-top:auto;gap:9px;align-items:center}
 .stories .story-person img{width:32px;height:32px}
 .stories .story-person .stars{font-size:16px;letter-spacing:1px}
 .stories .story-title .arrows{position:absolute;z-index:3;left:8px;right:8px;top:calc(50% + 35px);display:flex;justify-content:space-between;pointer-events:none}
 .stories .arrows button{width:34px;height:34px;background:#BFD650;color:#fff;border:0;font-size:22px;pointer-events:auto}
 .stories .story-disclaimer{margin-top:10px}}

/* Larger swipe cards with an avatar-only preview of the next review. */
@media(max-width:700px){
 .stories .story-title .arrows{display:none}
 .stories .story-grid .story{flex-basis:calc(100% - 59px);height:350px;min-height:350px;max-height:350px}}

/* Native horizontal scrolling supports browsing forward and back. */
@media(max-width:700px){.stories .story-grid{overflow-x:auto;direction:ltr;overscroll-behavior-x:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}}

/* Centre the mobile stories heading, introduction and note. */
@media(max-width:700px){
 .stories .story-title,.stories .story-title h2,.stories .story-title p,.stories .story-disclaimer{text-align:center}
 .stories .story-title p{margin-left:auto;margin-right:auto}}

/* Use the phone browser's native page and touch scrolling. */
@media(max-width:700px){
 html{scroll-behavior:auto;overflow-y:auto;overscroll-behavior-y:auto}
 body{height:auto;min-height:100%;touch-action:auto;-webkit-overflow-scrolling:touch}
 .stories .story-grid{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
 #safety .care-rules-demo,.stories .story p{-webkit-overflow-scrolling:touch}}

/* Match review copy and footer navigation to the hero subtitle. */
.stories .story-grid .story p{color:var(--color-text-secondary)}

/* Consistent mobile section headings, matching the stories heading. */
@media(max-width:700px){
 #mission h2,#petsharing h2,#safety h2.care-section-title,.stories .story-title h2{margin:12px 0;padding:0;text-align:center;
 }}

/* Align the desktop story disclaimer with the statistics note's right edge. */
@media(min-width:701px){
 .stories .story-disclaimer{max-width:none;margin-left:0;margin-right:0;padding-right:max(40px,calc((100% - 1110px)/2));text-align:right}}

@media(max-width:700px){.stories .story-disclaimer{text-align:right;padding-right:25px;padding-left:25px}}

/* Secondary pages and pop-ups use the browser/OS scrollbar on every device. */
html:has(body.secondary-page),body.secondary-page,
body.secondary-page *,dialog,dialog *{
 scrollbar-width:auto;
 scrollbar-color:auto;
 scroll-behavior:auto;
 -webkit-overflow-scrolling:touch;
}
/* Phone-width layouts retain browser scrolling without desktop scrollbar tracks. */
@media(max-width:700px){
 html,body,body.secondary-page,body.secondary-page *,dialog,dialog *,
 .stories .story-grid,.stories .story p,#safety .care-rules-demo{
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
 }
 html::-webkit-scrollbar,body::-webkit-scrollbar,
 html:has(body.secondary-page)::-webkit-scrollbar,
 body.secondary-page::-webkit-scrollbar,body.secondary-page *::-webkit-scrollbar,
 dialog::-webkit-scrollbar,dialog *::-webkit-scrollbar,
 .stories .story-grid::-webkit-scrollbar,.stories .story p::-webkit-scrollbar,
 #safety .care-rules-demo::-webkit-scrollbar{display:none;width:0;height:0}}

/* Pause/resume without changing the hero card layout. */

/* Crossfade the complete hero composition without moving its layout. */
.hero-play .hero-transition-layer{position:absolute;inset:0;z-index:5;pointer-events:none}
.hero-play .hero-transition-layer *{pointer-events:none!important}

/* Let native momentum scrolling run freely instead of tugging cards into snap points. */
@media(max-width:700px){
 .stories .story-grid{scroll-snap-type:none;scroll-behavior:auto;touch-action:auto;overscroll-behavior-x:auto;overflow-y:hidden}
 .stories .story-grid .story{scroll-snap-align:none;contain:layout paint}
 .stories .story-grid .story p{touch-action:auto;overscroll-behavior-y:auto;scroll-behavior:auto}}

@media(max-width:700px){
 .stories .story-grid .story{cursor:pointer}
 .stories .story-grid .story:focus-visible{outline:2px solid var(--ink);outline-offset:-3px}}

/* Grouped discovery navigation on mobile only; retain the original desktop layout. */
@media(max-width:800px){
.discover-menu h1{margin-bottom:22px}
.discover-menu [role=tablist]{gap:4px;padding:6px;border:1px solid #dce3c2;border-radius:18px;background:#f3f6e8}
.discover-menu [role=tab]{min-height:48px;padding:12px 16px;border:1px solid transparent;border-radius:12px;transition:background .18s,border-color .18s}
.discover-menu [role=tab][aria-selected=true]{background:#fffefc;border-color:#BFD650;color:var(--ink);box-shadow:0 2px 6px #4c5b0808}
.discover-menu [role=tab]:hover{background:#e9efce}
.discover-menu [role=tab][aria-selected=true]:hover{background:#fffefc}
.discover-menu [role=tab]:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
 .discover-layout{gap:28px}
 .discover-menu [role=tablist]{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .discover-menu [role=tab]{justify-content:center;padding:11px 3px;white-space:nowrap;min-width:0}}


/* Centre each mobile review with identical neighbour previews on both sides. */
@media(max-width:700px){
 .stories .story-grid{position:relative;padding-left:0;padding-right:0;scroll-padding-inline:0;scroll-snap-type:x mandatory}
 .stories .story-grid .story{flex-basis:calc(100% - 88px);scroll-snap-align:center}}

/* Mobile discovery topics are reached through the footer, without a duplicate switcher. */
@media(max-width:700px){.discover-menu [role=tablist]{display:none}}

/* Mobile secondary pages start directly with the active topic heading. */
@media(max-width:700px){
 .discover-page .discover-menu{display:none}
 .discover-page .discover-layout{gap:0;padding-top:24px}
 .discover-page .discover-panels .origin-heading>:is(h1,h2),
 .discover-page .discover-panels .faq>h2{margin-top:0;padding-top:0}}

/* Mobile section label and compact topic navigation. */
.discover-compact-nav{display:none}
@media(max-width:700px){
 .discover-page .discover-layout{row-gap:24px}
 .discover-compact-nav{display:block;min-width:0;font-size:13px;line-height:1.5;color:var(--color-text-secondary)}
 .discover-nav-label{display:block;margin-bottom:4px;font-size:12px;line-height:1.5}
 .discover-nav-links{display:flex;gap:24px;border-bottom:1px solid #e4e8d8}
 .discover-compact-nav a{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:8px 0;white-space:nowrap}
 .discover-compact-nav a[aria-current="page"]{color:var(--ink);font-weight:700}
 .discover-compact-nav a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--color-text-highlight);border-radius:2px}
 .discover-compact-nav a:focus-visible{outline:2px solid #BFD650;outline-offset:3px;border-radius:3px}
 .discover-page .discover-panels .origin-heading>:is(h1,h2),.discover-page .discover-panels .faq>h2{display:block;white-space:normal}}

/* One consistent 88px mobile gap from the final action to the dog artwork. */
@media(max-width:700px){
 .secondary-page .faq-help,
 .discover-page .discover-panels .faq-help{padding-bottom:0;margin-bottom:0}
 .secondary-page .discover-layout{padding-bottom:0}}

/* Ease booking step resizing and text reveals without abrupt alignment changes. */
#petsharing .journey-steps button{
 transition:flex-basis .5s cubic-bezier(.22,1,.36,1),transform .5s cubic-bezier(.22,1,.36,1),width .5s cubic-bezier(.22,1,.36,1),margin-left .5s cubic-bezier(.22,1,.36,1),background-color .35s ease,box-shadow .5s ease;
}
#petsharing .journey-steps button .journey-art{transition:height .5s cubic-bezier(.22,1,.36,1)}
#petsharing .journey-steps button h3{transition:font-size .5s cubic-bezier(.22,1,.36,1)}
#petsharing .journey-steps button p{
 display:block;visibility:visible;max-height:0;overflow:hidden;opacity:0;margin-top:0;margin-bottom:0;
 transition:max-height .5s cubic-bezier(.22,1,.36,1),opacity .25s ease;
}
#petsharing .journey-steps.has-selection button[aria-selected="true"] p{max-height:90px;opacity:1}
@media(max-width:700px){
 #petsharing .journey-steps button,
 #petsharing .journey-steps button:nth-of-type(2),
 #petsharing .journey-steps button:nth-of-type(3){align-self:flex-start;margin-left:0;margin-right:0}
 #petsharing .journey-steps button:nth-of-type(2){margin-left:33%}
 #petsharing .journey-steps button[aria-selected="true"],
 #petsharing .journey-steps button:nth-of-type(2)[aria-selected="true"],
 #petsharing .journey-steps button:nth-of-type(3)[aria-selected="true"]{align-self:flex-start;margin-left:6%;margin-right:0}}
@media(prefers-reduced-motion:reduce){
 #petsharing .journey-steps button,#petsharing .journey-steps button .journey-art,
 #petsharing .journey-steps button h3,#petsharing .journey-steps button p{transition:none}}

/* Equal mobile scroll-area insets keep the rules content centred. */
@media(max-width:700px){
 #safety .care-rules-demo{padding-left:10px;padding-right:10px}}

/* Round dots along the desktop hero's WangBu logo outline. */
@media(min-width:701px){
 .hero-play .wangbu-trail g{stroke-width:2;stroke-dasharray:4 8;stroke-linecap:round}}
/* Footer restored to the saved pre-design-system version. */
footer{display:flex;gap:90px;margin-top:45px!important;background:#fffefb;border-radius:24px;padding-top:36px;padding-bottom:32px;position:relative}footer>div:first-child{flex:1}footer p{font-size:13px;margin:10px 0 20px}footer small{font-size:10px;color:#9b9f89}footer>div:not(:first-child){display:flex;flex-direction:column;gap:8px;font-size:12px}footer b{margin-bottom:7px;color:var(--ink)}footer button{background:transparent;text-align:left;padding:0;font-size:12px}footer a:hover,footer button:hover{color:var(--color-text-highlight)}@media(max-width:1000px){footer{margin-left:25px!important;margin-right:25px!important;gap:40px}}@media(max-width:700px){footer{padding:25px!important;margin:10px 15px 0!important;flex-wrap:wrap;gap:30px;border-radius:18px}footer>div:first-child{flex:100%}footer p{margin-bottom:10px}}
footer .brand img{width:175px}
@media(max-width:700px){footer .brand img{width:165px}}

/* Reference footer: original mini-program scene above a live navigation panel. */
.closing.footer-reference{padding:0 0 40px;background:linear-gradient(#fffefc 0%,#f2f5dd 36%,#bfd653 86%);overflow:hidden}
.footer-reference .footer-scene{position:relative;width:100%;max-width:1400px;aspect-ratio:1760 / 870;margin:0 auto;overflow:hidden}
.footer-reference .footer-scene-art{position:absolute;top:0;left:0;width:100%;height:auto;max-width:none;mix-blend-mode:normal;display:block}
.footer-reference .footer-dogs{position:absolute;bottom:-1px;left:2.9%;width:38.5%;height:auto;mix-blend-mode:normal;display:block}
.footer-reference footer{position:relative;z-index:1;max-width:1300px;width:calc(100% - 64px);margin:0 auto!important;display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,.65fr) minmax(0,.7fr);gap:60px;padding:50px 55px 60px;border-radius:34px;background:#fffdfc;align-items:start}
.footer-reference footer .brand img{width:175px}
.footer-reference .footer-company{min-width:0}
.footer-reference .footer-tagline{font-size:21px;color:#5a6345;font-weight:700;margin:22px 0 48px;line-height:1.5}
.footer-reference .footer-legal{font-size:15px;font-weight:600;line-height:1.8;color:#282923;display:flex;flex-direction:column;gap:5px}
.footer-reference .footer-legal p{font-size:15px;margin:0;line-height:1.8}
.footer-reference .footer-legal a{display:inline-block}
.footer-reference footer .footer-links{display:flex;flex-direction:column;gap:9px;padding-top:29px;font-size:18px;line-height:1.6}
.footer-reference .footer-links b{font-size:20px;color:#5a6345;margin:0 0 4px}
.footer-reference .footer-links a,.footer-reference .footer-links button{font-size:18px;line-height:1.6;background:none;border:0;padding:0;text-align:left;display:block}
.footer-reference .footer-links a:hover,.footer-reference .footer-links button:hover{color:var(--color-text-highlight)}
@media(max-width:1000px){.footer-reference footer{gap:30px;padding:35px}.footer-reference .footer-tagline{font-size:18px;margin-bottom:35px}.footer-reference .footer-legal,.footer-reference .footer-legal p{font-size:11px}.footer-reference footer .footer-links{font-size:15px;padding-top:17px}.footer-reference .footer-links b{font-size:17px}.footer-reference .footer-links a,.footer-reference .footer-links button{font-size:15px}}
@media(max-width:700px){.closing.footer-reference{padding-bottom:20px}.footer-reference .footer-scene{aspect-ratio:1760 / 870;margin-top:20px}.footer-reference footer{width:calc(100% - 30px);margin:0 auto!important;padding:26px!important;border-radius:23px;grid-template-columns:1fr 1fr;gap:27px 30px}.footer-reference .footer-company{grid-column:1 / -1}.footer-reference footer .brand img{width:150px}.footer-reference .footer-tagline{font-size:17px;margin:15px 0 22px}.footer-reference .footer-legal,.footer-reference .footer-legal p{font-size:10px}.footer-reference footer .footer-links{padding-top:0;gap:8px}.footer-reference .footer-links b{font-size:16px}.footer-reference .footer-links a,.footer-reference .footer-links button{font-size:13px}}

/* Refined footer proportions: a single artwork layer meets the live white panel. */
.closing.footer-reference{padding:0 0 clamp(22px,3.4vw,60px);background:linear-gradient(180deg,#fffefc 0%,#f5f7e5 30%,#e2ecad 57%,#bfd653 100%)}
.footer-reference .footer-scene{max-width:1440px;aspect-ratio:1760 / 872;margin:0 auto;overflow:hidden}
.footer-reference .footer-scene-art{width:100%;height:auto;top:0;left:0}
.footer-reference footer{width:calc(100% - 5.5%);max-width:1360px;grid-template-columns:minmax(0,1.9fr) minmax(0,.65fr) minmax(0,.65fr);gap:clamp(30px,5vw,85px);padding:clamp(35px,4vw,64px) clamp(35px,4vw,64px) clamp(42px,5.7vw,90px);border-radius:clamp(24px,3vw,46px);margin:-2px auto 0!important;box-shadow:none}
.footer-reference footer .brand img{width:180px}
.footer-reference .footer-tagline{margin:24px 0 50px;font-size:22px;letter-spacing:.4px}
.footer-reference .footer-legal{gap:8px;font-size:16px;line-height:1.7}
.footer-reference .footer-legal p{font-size:16px;line-height:1.7}
.footer-reference footer .footer-links{padding-top:35px;gap:10px}
.footer-reference .footer-links b{font-size:23px;margin-bottom:5px}
.footer-reference .footer-links a,.footer-reference .footer-links button{font-size:21px;line-height:1.55}
@media(min-width:1441px){.footer-reference .footer-scene{max-width:1440px}}
@media(max-width:1000px){.footer-reference footer{gap:30px;padding:34px 36px 48px}.footer-reference footer .brand img{width:150px}.footer-reference .footer-tagline{font-size:17px;margin:20px 0 35px}.footer-reference .footer-legal,.footer-reference .footer-legal p{font-size:12px}.footer-reference footer .footer-links{padding-top:26px;gap:8px}.footer-reference .footer-links b{font-size:18px}.footer-reference .footer-links a,.footer-reference .footer-links button{font-size:16px}}
@media(max-width:700px){.closing.footer-reference{padding-bottom:20px}.footer-reference .footer-scene{margin-top:12px;aspect-ratio:1760 / 872}.footer-reference footer{width:calc(100% - 24px);grid-template-columns:1fr 1fr;gap:28px 25px;padding:27px 25px 32px!important;border-radius:24px;margin:-1px auto 0!important}.footer-reference footer .brand img{width:145px}.footer-reference .footer-tagline{font-size:17px;margin:17px 0 24px}.footer-reference .footer-legal,.footer-reference .footer-legal p{font-size:10px;line-height:1.8}.footer-reference .footer-legal{gap:5px}.footer-reference footer .footer-links{padding-top:0;gap:9px}.footer-reference .footer-links b{font-size:16px;margin-bottom:3px}.footer-reference .footer-links a,.footer-reference .footer-links button{font-size:14px}}
/* A short continuation of the phone rim at the footer panel's upper-right corner. */
.footer-reference .footer-scene::after{content:"";position:absolute;right:2.8%;bottom:-40px;width:24px;height:52px;background:linear-gradient(90deg,#242332 0 48%,#fff 49% 64%,#ecece8 65% 92%,#c9c9c5 93%);border-right:1px solid #c9c9c5;border-radius:0 0 11px 0;pointer-events:none}
.footer-reference .footer-scene{overflow:visible}
.footer-reference .footer-scene-art{clip-path:inset(0 0 39% 0)}
.footer-reference footer{z-index:2}
@media(max-width:700px){.footer-reference .footer-scene::after{right:2.8%;width:12px;height:28px;bottom:-20px;border-radius:0 0 6px 0}}
/* Match the corner extension to the phone's silver side rim. */
.footer-reference .footer-scene::after{background:linear-gradient(90deg,#f9f9f7 0%,#efefec 30%,#dededa 72%,#cbcbc7 100%);border-right-color:#c9c9c5;box-shadow:inset 1px 0 0 #fff}
/* Align the homepage footer artwork and panel with the main content container. */
body:not(.faq-page) .footer-reference .footer-scene{max-width:1190px}
body:not(.faq-page) .footer-reference footer{max-width:1110px;width:calc(100% - 80px);padding:42px 40px 54px;gap:45px}
@media(max-width:1000px){body:not(.faq-page) .footer-reference footer{padding:34px 30px 44px;gap:28px}}
@media(max-width:700px){body:not(.faq-page) .footer-reference footer{width:calc(100% - 50px);padding:27px 25px 32px!important;gap:28px 25px}}

/* Carry the real phone and dog artwork underneath both rounded panel corners. */
.footer-reference .footer-scene{isolation:isolate;overflow:visible}
.footer-reference .footer-scene::after{content:none;display:none}
.footer-reference .footer-scene-art{clip-path:inset(0 0 39% 0)}
.footer-reference .footer-art-bridge{display:block;position:absolute;left:0;top:calc(100% - 16px);width:100%;height:72px;overflow:hidden;pointer-events:none;z-index:1}
.footer-reference footer{z-index:2;background:#fffdfc}
@media(max-width:700px){.footer-reference .footer-art-bridge{top:calc(100% - 8px);height:42px}}

/* One shared width and a genuine overlap: the phone stays inside the white panel edges. */
.footer-reference .footer-scene,
body:not(.faq-page) .footer-reference .footer-scene{width:calc(100% - 80px);max-width:1110px;aspect-ratio:1760 / 850;margin:0 auto;overflow:hidden;isolation:isolate}
.footer-reference .footer-scene-art{clip-path:none;width:100%;left:0;top:0}
.footer-reference .footer-scene::after{display:none;content:none}
.footer-reference .footer-art-bridge{display:none}
.footer-reference footer,
body:not(.faq-page) .footer-reference footer{width:calc(100% - 80px);max-width:1110px;margin:-24px auto 0!important;position:relative;z-index:3;background:#fffdfc}
@media(max-width:700px){.footer-reference .footer-scene,body:not(.faq-page) .footer-reference .footer-scene{width:calc(100% - 50px);max-width:1110px;margin:12px auto 0;aspect-ratio:1760 / 850}.footer-reference footer,body:not(.faq-page) .footer-reference footer{width:calc(100% - 50px);margin:-14px auto 0!important}}
/* Lift the footer phone and dog artwork by 30px in total. */
.footer-reference .footer-scene-art{top:-30px}

/* Shift only the phone portion of the combined footer artwork. */
.footer-reference .footer-scene-art{clip-path:inset(0 58% 0 0)}
.footer-reference .footer-scene .footer-phone-shift{position:absolute;display:block;width:100%;max-width:none;height:auto;left:10px;top:-30px;clip-path:inset(0 0 0 42%);mix-blend-mode:normal}

/* Compact footer navigation with a clear heading and link hierarchy. */
.footer-reference footer .footer-links{gap:8px}
.footer-reference .footer-links b{font-size:16px;line-height:1.5;margin-bottom:6px}
.footer-reference .footer-links a,.footer-reference .footer-links button{font-size:14px;line-height:1.7}
@media(max-width:700px){.footer-reference .footer-links b{font-size:15px}.footer-reference .footer-links a,.footer-reference .footer-links button{font-size:13px;line-height:1.8}}

/* Secondary pages use a compact footer without the homepage artwork. */
.secondary-page .closing.footer-reference{padding-top:32px}
.secondary-page .footer-reference footer{margin:0 auto!important}
.secondary-page .footer-reference .footer-scene{display:none}

/* Start the secondary-page footer with a visible soft green tint. */
.secondary-page .closing.footer-reference{padding-top:88px;background:linear-gradient(180deg,var(--white) 0%,#fdfef8 8%,#fafcf0 18%,#f5f8e5 30%,#edf3d2 44%,#e3edb6 60%,#d6e58f 80%,#bfd653 100%)}

/* Shared social accounts */
.footer-social{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:22px 0 28px}
.footer-social a,.footer-social button{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:#596344;font:inherit;font-size:12px;line-height:1.4;text-decoration:none;white-space:nowrap}
.footer-social svg{display:block;width:27px;height:27px;flex:none}
.footer-social a{cursor:pointer;transition:color .2s,transform .2s}
.footer-social a:hover{color:var(--color-text-highlight);transform:translateY(-2px)}
.footer-social a:focus-visible{outline:2px solid var(--green);outline-offset:5px;border-radius:4px}
.footer-social button:disabled{opacity:.65;cursor:default}
@media(max-width:600px){.footer-social{gap:12px 16px;margin:20px 0 24px}.footer-social svg{width:26px;height:26px}}

.footer-links .footer-social{margin:16px 0 0;gap:12px;align-items:flex-start}.footer-links .footer-social a,.footer-links .footer-social button{font-size:11px;flex-direction:column;gap:5px}.footer-links .footer-social svg{width:27px;height:27px}

/* Align social icons with the fourth footer link opposite. */
.footer-reference .footer-links .footer-social{margin:0;min-height:23.8px;align-items:center}.footer-reference .footer-social svg{width:24px;height:24px}

/* Keep company details together within the shared footer. */
.footer-reference .footer-tagline{margin-bottom:20px}
@media(max-width:1000px){.footer-reference .footer-tagline{margin-bottom:18px}}
@media(max-width:700px){.footer-reference .footer-tagline{margin-bottom:16px}}

/* Align legal details with the final navigation row on desktop. */
@media(min-width:701px){.footer-reference .footer-company{align-self:stretch;display:flex;flex-direction:column}.footer-reference .footer-legal{margin-top:auto}.footer-reference .footer-legal,.footer-reference .footer-legal p{line-height:23.8px}}

.footer-reference .footer-social img{display:block;width:24px;height:24px;object-fit:contain;flex:none}.footer-reference .footer-social button:disabled{opacity:1}

/* Align brand with the footer column headings. */
@media(min-width:1001px){.footer-reference .footer-company{padding-top:35px}.footer-reference .footer-company>.brand{transform:translateY(-14px)}}
@media(min-width:701px) and (max-width:1000px){.footer-reference .footer-company{padding-top:26px}.footer-reference .footer-company>.brand{transform:translateY(-12px)}}
nav a:not(.pill):is(:hover,:focus-visible,:active),.footer-links :is(a,button):is(:focus-visible,:active){color:var(--color-text-highlight)}

/* Blend the artwork edges into the surrounding footer gradient. */
.footer-reference .footer-scene-art,.footer-reference .footer-scene .footer-phone-shift{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 10%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 10%);mask-composite:intersect}

/* Place company identity and legal details after the mobile footer links. */
@media(max-width:700px){
 .footer-reference footer .footer-company{order:99;grid-column:1 / -1;grid-row:auto;padding-top:12px;gap:12px}
 .footer-reference footer .footer-company>.brand{transform:none;flex:none}
 .footer-reference footer .footer-company .footer-legal{margin-top:0}}

/* Centre only the dogs and mini-program code in the mobile closing artwork. */
@media(max-width:700px){
 .footer-reference .footer-scene .footer-phone-shift{display:none}
 .footer-reference .footer-scene::after{display:none}
 .footer-reference .footer-scene,body:not(.faq-page) .footer-reference .footer-scene{aspect-ratio:1;overflow:hidden}
 .footer-reference .footer-scene .footer-scene-art{width:238.095%;left:0;top:0;transform:translateY(-10%);clip-path:inset(0 58% 0 0);-webkit-mask-image:none;mask-image:none}}

/* Fade the cropped mobile illustration into the surrounding background. */
@media(max-width:700px){
 .footer-reference .footer-scene,body:not(.faq-page) .footer-reference .footer-scene{
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 91%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 94%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 91%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 94%,transparent 100%);
  mask-composite:intersect;
 }}

/* Complete transparent mobile footer artwork, without cropping or fading the QR. */
@media(max-width:700px){
 .footer-reference .footer-scene,body:not(.faq-page) .footer-reference .footer-scene{aspect-ratio:747/794;-webkit-mask-image:none;mask-image:none;overflow:hidden}
 .footer-reference .footer-scene>picture{display:block;width:100%;height:100%}
 .footer-reference .footer-scene .footer-scene-art{position:static;display:block;width:100%;height:100%;object-fit:contain;transform:none;clip-path:none;-webkit-mask-image:none;mask-image:none}}

/* Centred mobile legal block with social icons beside the WangBu brand. */
@media(max-width:700px){
 .footer-reference footer .footer-company{align-items:center;text-align:center}
 .footer-mobile-brand-row{display:flex;align-items:center;justify-content:center;gap:14px;width:100%}
 .footer-reference footer .footer-mobile-brand-row .brand{flex:none;min-width:0;transform:none}
 .footer-reference footer .footer-mobile-brand-row .brand img{width:130px;max-width:100%;height:auto}
 .footer-reference footer .footer-mobile-brand-row .footer-social{display:flex;flex-direction:row;align-items:center;gap:9px;margin:0;min-height:0}
 .footer-reference footer .footer-mobile-brand-row .footer-social :is(a,button){display:flex;align-items:center;justify-content:center;padding:0;background:none;border:0;flex:none}
 .footer-reference footer .footer-mobile-brand-row .footer-social img{width:22px;height:22px;object-fit:contain}
 .footer-reference footer .footer-company .footer-legal{align-items:center;text-align:center;width:100%}
 .footer-reference footer .footer-company .footer-legal p{text-align:center}}

/* Centre both mobile footer link groups and finish with the social icons. */
@media(max-width:700px){
 .footer-reference footer .footer-links{align-items:center;text-align:center}
 .footer-reference footer .footer-links :is(b,a,button){text-align:center}
 .footer-reference footer .footer-company>.footer-social{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px;margin:8px 0 0;min-height:0;width:100%}
 .footer-reference footer .footer-company>.footer-social :is(a,button){display:flex;align-items:center;justify-content:center;padding:0;background:none;border:0;flex:none}
 .footer-reference footer .footer-company>.footer-social img{width:24px;height:24px;object-fit:contain}}

/* Mobile footer: omit owner signup and separate the legal details slightly. */
@media(max-width:700px){
 .footer-reference footer .footer-links [data-owner-qr]{display:none}
 .footer-reference footer .footer-company .footer-legal{padding-top:5px}}
.footer-reference footer .footer-links>a,
.footer-reference footer .footer-links>button[data-contact]{color:#83896b}

/* Separate mobile artwork with real heading text in the stories heading font. */
.footer-mobile-artwork{display:none}
@media(max-width:700px){
 .footer-reference .footer-scene,body:not(.faq-page) .footer-reference .footer-scene{height:auto;aspect-ratio:auto;overflow:hidden}
 .footer-reference .footer-scene>picture{display:none}
 .footer-mobile-artwork{display:flex;flex-direction:column;align-items:center;gap:18px;padding-top:18px}
 .footer-mobile-artwork .footer-mobile-qr{display:block;position:static;width:166px;max-width:60%;height:auto;object-fit:contain;border-radius:0}
 .footer-mobile-artwork h2{font-family:ShuHei,sans-serif;font-size:30px;font-weight:700;line-height:1.25;letter-spacing:-1.5px;color:var(--ink);text-align:center;margin:0}
 .footer-mobile-artwork .footer-mobile-dogs{display:block;position:static;width:100%;max-width:none;height:auto;object-fit:contain;margin-top:12px}}

/* Desktop footer: social links directly above the legal details. */
@media(min-width:701px){
 .footer-reference footer .footer-links [data-owner-qr]{display:none}
 .footer-reference footer .footer-company>.footer-social{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin-top:auto;margin-bottom:10px}
 .footer-reference footer .footer-company>.footer-social :is(a,button){display:flex;align-items:center;justify-content:center;padding:0;border:0;background:none}
 .footer-reference footer .footer-company>.footer-social img{width:24px;height:24px;object-fit:contain}
 .footer-reference footer .footer-company .footer-legal{margin-top:0}}

/* Keep desktop social icons beneath the copyright line. */
@media(min-width:701px){
 .footer-reference footer .footer-company .footer-legal{margin-top:auto}
 .footer-reference footer .footer-company>.footer-social{margin-top:12px;margin-bottom:0}}

/* Updated footer QR, keeping the surrounding desktop illustration intact. */
.footer-desktop-qr{display:none}
@media(min-width:701px){
 .footer-reference .footer-scene{container-type:inline-size}
 .footer-reference .footer-scene .footer-desktop-qr{display:block;position:absolute;z-index:2;left:13.6%;top:calc(10.23cqw - 30px);width:17.6%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:50%}}

/* Carry the home page dog illustration into secondary page footers. */
.secondary-footer-dogs{width:calc(100% - 80px);max-width:620px;margin:24px auto 0}
.secondary-footer-dogs img{display:block;width:100%;height:auto}
@media(max-width:700px){
 .secondary-footer-dogs{width:calc(100% - 50px);margin:20px auto 0}}

/* Preserve the dog artwork colours instead of multiplying them over green. */
.footer-reference .secondary-footer-dogs img,
.footer-reference .footer-mobile-artwork .footer-mobile-dogs{
 mix-blend-mode:normal;opacity:1;filter:none;-webkit-mask-image:none;mask-image:none;
}

/* One consistent 88px mobile gap from the final action to the dog artwork. */
@media(max-width:700px){
 .secondary-page .closing.footer-reference{padding-top:88px}
 .secondary-page .secondary-footer-dogs{margin-top:0}}

/* Lift the home page dogs clear of the footer's 14px overlap on mobile. */
@media(max-width:700px){
 body:not(.secondary-page) .footer-mobile-artwork .footer-mobile-dogs{transform:translateY(-14px)}}

/* WangBu desktop scrollbars: soft green rails and rounded, inset thumbs. */
@media(min-width:701px){
 html,body,body *,#safety .care-rules-demo{
  scrollbar-width:auto;scrollbar-color:auto;scrollbar-gutter:auto;
 }
 html::-webkit-scrollbar,body::-webkit-scrollbar,body *::-webkit-scrollbar{
  width:10px;height:10px;
 }
 html::-webkit-scrollbar-track,body::-webkit-scrollbar-track,body *::-webkit-scrollbar-track{
  background:#F1F5E2;border-radius:999px;
 }
 html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,body *::-webkit-scrollbar-thumb{
  background:#BBCB82;border:2px solid #F1F5E2;border-radius:999px;
  background-clip:padding-box;min-height:36px;
 }
 html::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover,body *::-webkit-scrollbar-thumb:hover{
  background-color:#A4BC3D;
 }
 html::-webkit-scrollbar-thumb:active,body::-webkit-scrollbar-thumb:active,body *::-webkit-scrollbar-thumb:active{
  background-color:#91A634;
 }
 html::-webkit-scrollbar-corner,body::-webkit-scrollbar-corner,body *::-webkit-scrollbar-corner{
  background:transparent;
 }
 @supports not selector(::-webkit-scrollbar){
  html,body,body *{scrollbar-width:thin;scrollbar-color:#BBCB82 #F1F5E2}
 }
}

/* Match the logo viewport edges to the navigation content edges. */
.press{padding-left:max(40px,calc((100% - 1110px)/2));padding-right:max(40px,calc((100% - 1110px)/2))}
@media(max-width:700px){.press{padding-left:20px;padding-right:20px}}
@media(max-width:360px){.press{padding-left:16px;padding-right:16px}}

/* Responsive CMS logo visibility; existing unconfigured marquees are unchanged. */
.cms-logos-mobile{display:none}
@media(max-width:700px){.cms-logos-desktop{display:none}.cms-logos-mobile{display:block}}

/* Enlarge only the featured mobile hero card by 15%. */
@media(max-width:700px){.hero-play .phone .hero-profile-art{transform:scale(1.15);transform-origin:center center}}
