.pet-board {--purple:#ad2066;--rose:#c92b78;color:#241523}
.pet-board .board-hero {position:static;background:#ac2165;color:white;padding:38px 0 54px}
.board-hero h1,.pet-detail h1 {font-size:clamp(42px,6vw,82px);line-height:1.05;margin:24px 0 12px;letter-spacing:-.055em}
.board-hero p {max-width:50ch;font-size:19px;line-height:1.5}
.pet-board .action {background:#ad2066;color:white;padding:14px 20px;font-weight:800;margin-top:18px}
.board-hero .action {background:#ffdf48;color:#231724}
.pet-board .feed,.pet-board .pet-detail {padding-block:48px 72px}
.feed>p,.pet-detail small {color:#684e60}
.pet-grid,.detail-grid,.pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}
.pet-card {display:grid;grid-template-columns:44% 1fr;background:#fff5f9;border:1px solid #e4ced9;color:inherit}
.pet-card img {width:100%;height:100%;aspect-ratio:1;object-fit:cover}
.pet-card>div {position:relative;padding:clamp(14px,2vw,30px)}
.pet-card h2 {margin:8px 0;font-size:clamp(24px,3vw,40px)}
.pet-card strong,.price {display:inline-block;color:#902053;font-size:18px;margin-top:12px}
.pet-card span {position:absolute;bottom:12px;right:14px}
.pet-card:hover,.pet-card:focus-visible {outline:2px solid #ad2066}
#portrait {width:100%;aspect-ratio:1;object-fit:cover}.thumbs {display:flex;gap:10px;margin:10px 0}.thumbs img {width:66px;height:66px;object-fit:cover}.thumbs [aria-pressed=true]{outline:3px solid #ad2066}
.pet-detail h2 {margin:24px 0 8px}.pet-detail p {line-height:1.6}.action:disabled {opacity:.65}
#ad-dialog {width:min(560px,94vw);padding:26px;max-height:90vh;overflow:auto}
#ad-dialog label {display:block;font-weight:700;margin:12px 0}#ad-dialog [hidden]{display:none}
#ad-dialog input:not([type=checkbox]),#ad-dialog select,#ad-dialog textarea {display:block;width:100%;padding:10px;margin-top:5px;border:1px solid #ac9ca5;font:inherit}
#ad-dialog .pair {margin:0;gap:12px}.dismiss {float:right;font-size:26px}#draft img {width:85px;height:85px;object-fit:cover;margin-right:6px}
@media(max-width:760px){.pet-grid{gap:10px}.pet-card{display:block}.pet-card img{height:auto}.pet-card>div{padding:12px}.pet-card span{display:none}.detail-grid{grid-template-columns:1fr}}
.pet-board header.board-hero {background:#fff1e5;color:#382039;padding-block:24px 42px}
.board-intro {display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:clamp(24px,5vw,80px);margin-top:16px}
.board-intro em {color:#a71f61;font-style:normal}
.board-intro figure {margin:0;position:relative}
.board-intro img {display:block;width:100%;height:clamp(230px,24vw,350px);object-fit:cover;object-position:center 45%;box-shadow:7px 7px 0 #efbbce}
.board-intro figcaption {position:absolute;bottom:12px;left:12px;background:white;color:#77204c;padding:9px 14px;font-weight:700}
.pet-board .board-intro .action {background:#a71f61;color:white}
#pet-search {margin-block:24px 12px;padding:18px;background:#fff4f8;display:flex;gap:16px;align-items:end}
#pet-search label {display:grid;gap:6px;font-weight:700}
#pet-search label:first-child {flex:1}
#pet-search input,#pet-search select {width:100%;padding:12px;border:1px solid #b69ba7;background:white;font:inherit}
#pet-search button {padding:12px;color:#902053;text-decoration:underline}
.pet-grid .pet-card[hidden]{display:none}
.pet-card .pet-bio {line-height:1.45;font-size:15px;margin-top:9px}
@media(max-width:700px){.board-intro{grid-template-columns:1fr}.board-intro img{height:210px}#pet-search{display:grid;grid-template-columns:1fr auto}#pet-search label:first-child{grid-column:1/-1}}
body.pet-board > header,body.pet-board > header .head,body.pet-board > header nav {background:#fff;color:#241523}
body.pet-board > header .brand,body.pet-board > header nav a,body.pet-board > header nav button,body.pet-board > header .menu {color:#241523}
body.pet-board > header .partner {background:#a71f61;color:white}
.pet-board header.board-hero {background:#c92b78;color:white}
.pet-board .board-intro em {color:white}
.pet-board .board-intro .action {background:white;color:#832052}
#pet-search {display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto}
@media(max-width:700px){#pet-search{grid-template-columns:repeat(2,minmax(0,1fr))}#pet-search label:first-child{grid-column:auto}}
