.warm-results{max-width:680px;margin:0 auto;padding-top:4px}.warm-results .result-top{display:flex;justify-content:space-between;margin:0;height:40px}.result-back,.result-share{border:0;background:none;color:#123b32;font-size:32px;min-width:44px;min-height:44px;padding:0;cursor:pointer}.results-intro{text-align:center;margin:4px 0 24px}.results-eyebrow{font-size:14px;font-weight:800;letter-spacing:3px;color:#61716a}.warm-results .results-intro h1{font:900 clamp(28px,5vw,38px)/1.1 var(--display);margin:12px 0 8px;letter-spacing:-.5px}.results-intro>p{color:#61716a;font-size:17px;margin:0}.warm-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.warm-results .dogcard{display:block;background:#fffef9;padding:10px;border:0;border-radius:26px;box-shadow:0 8px 28px #735d3010;overflow:hidden;min-width:0}.warm-results .featured-match{grid-column:1/-1}.result-media{position:relative}.warm-results .breed-photo{margin:0;background:#edf2e4;border-radius:20px;overflow:hidden}.warm-results .breed-photo img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:center}.result-no-photo{min-height:150px;display:grid;place-items:center;background:#edf2e4;border-radius:20px;color:#61716a}.match-badge{position:absolute;top:14px;left:14px;max-width:calc(100% - 80px);padding:8px 13px;border-radius:24px;background:#e0f1dbea;color:#123b32;font-size:14px;font-weight:800}.result-favorite{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:0;background:#fffef8;color:#123b32;font-size:30px;cursor:pointer}.result-favorite[aria-pressed=true]{color:#db611f}.warm-results .featured-match>h2{font:900 clamp(26px,5vw,36px)/1.12 var(--display);margin:16px 10px;overflow-wrap:anywhere}.result-why{margin:16px 10px}.result-why h3{font:900 19px var(--display);margin:0 0 10px}.reason-chips{display:flex;gap:8px;flex-wrap:wrap}.reason-chips span{background:#e7f2e2;color:#204e3e;border-radius:25px;padding:8px 14px;font-size:15px;line-height:1.4}.result-caution{display:flex;gap:12px;padding:15px 18px;background:#fff0df;border-radius:22px;margin:12px 6px;font-size:16px;line-height:1.45;color:#253d33}.result-caution>span{color:#dd7529;font-size:27px}.result-caution strong{font-weight:900}.result-caution p{margin:3px 0 0}.result-caution ul{padding-left:18px;margin:5px 0 0}.result-about{margin:10px 6px 5px}.result-about>summary{list-style:none;cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:center;padding:12px;border-radius:18px;background:#e8f2e3;font-weight:900;font-size:19px}.result-about>summary::-webkit-details-marker{display:none}.result-about[open]>summary{margin-bottom:16px}.result-about-body{font-size:16px;line-height:1.5}.result-about-body figcaption{font-size:12px;color:#61716a;margin:10px 0}.result-about-body .rank{position:static;margin:8px 0;background:none;color:#61716a}.warm-results .alternatives-title{grid-column:1/-1;font:900 25px var(--display);margin:8px 8px 0}.warm-results .alternative-match>h2{font:900 19px/1.2 var(--display);margin:10px 6px;overflow-wrap:anywhere}.alternative-match .match-badge{display:none}.warm-results .alternative-match .breed-photo img{aspect-ratio:1.55}.alternative-match .result-about>summary{font-size:15px;min-height:44px;padding:8px}.warm-results .result-actions{display:flex;flex-direction:column;gap:12px;margin:22px 0 0}.warm-results .results-compare{order:-1;width:100%;border-radius:23px;background:#ff822e;color:#fff;min-height:60px;font:900 23px var(--display);box-shadow:none}.result-footer-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 24px;margin-top:14px}.result-footer-actions button{background:none;border:0;color:#204e3e;min-height:44px;font-size:16px;cursor:pointer}.result-individual{text-align:center;font-size:14px;line-height:1.5;color:#778479;margin:14px 20px 24px}.result-method{font-size:14px}.result-method summary,.remaining-matches>summary{cursor:pointer;min-height:44px;font-weight:800;padding:12px}.remaining-matches{grid-column:1/-1}.remaining-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:12px}.warm-results .compare{max-width:100%;overflow-x:auto}.warm-results button:focus-visible,.warm-results summary:focus-visible{outline:3px solid #285e49;outline-offset:3px}@media(max-width:450px){.warm-results .dogcard{padding:7px;border-radius:22px}.warm-result-grid{gap:10px}.warm-results .featured-match>h2{font-size:28px}.match-badge{font-size:12px;top:10px;left:10px;padding:7px 10px}.result-favorite{width:40px;height:40px;top:8px;right:8px}.warm-results .alternative-match>h2{font-size:17px}.result-caution{padding:12px;font-size:15px}.reason-chips span{font-size:14px;padding:7px 11px}.results-intro{margin-bottom:18px}.warm-results .results-compare{font-size:21px}}
/* Full photo frames: override legacy width/height caps without cropping. */
.warm-results .breed-photo{position:relative;width:100%;max-width:none;aspect-ratio:4/3;background:#fff;margin:0}
.warm-results .breed-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;padding:48px 8px 8px;border-radius:0;background:#fff}
.warm-results .alternative-match .breed-photo{aspect-ratio:1/1}
.warm-results .alternative-match .breed-photo img{aspect-ratio:auto;padding:44px 6px 6px}
.warm-results .result-no-photo{aspect-ratio:4/3;min-height:0}
.warm-results .alternative-match .result-no-photo{aspect-ratio:1/1}
.warm-result-grid,.remaining-grid{align-items:stretch}
.warm-results .alternative-match{display:flex;flex-direction:column;align-self:stretch}
.warm-results .alternative-match .result-media{flex:none;width:100%}
.warm-results .alternative-match>h2{margin-bottom:16px}
.warm-results .alternative-match>.result-about{margin-top:auto}
/* Expanded profiles need a reading column, not half of a phone screen.
   Native details state restores the compact grid automatically on collapse. */
.warm-results .alternative-match:has(>.result-about[open]){grid-column:1/-1}
.warm-results .alternative-match:has(>.result-about[open])>.result-about{margin-top:10px}
.warm-results .alternative-match:has(>.result-about[open]) .breed-photo,
.warm-results .alternative-match:has(>.result-about[open]) .result-no-photo{aspect-ratio:auto;height:260px}
.warm-results .result-about-body{min-width:0;overflow-wrap:anywhere;white-space:normal}
.warm-results .result-about-body p,
.warm-results .result-about-body li,
.warm-results .result-about-body dd{font-size:1rem;line-height:1.6}
.warm-results .result-about-body h3{font-size:1.125rem;line-height:1.4}
.warm-results .result-about-body .result-why{margin:16px 0}
.warm-results .result-about-body .result-caution{margin:12px 0}
.warm-results .result-caution>div{min-width:0;flex:1}
.warm-results .result-caution>span{flex:none}
.compromise-results{border:2px dashed #dcbe9c;background:#fff6ea;margin-top:24px}.compromise-results>summary{cursor:pointer;padding:12px 0;font-weight:800;line-height:1.4}.compromise-status{background:#fff0df;border-radius:12px;padding:10px 12px;font-weight:800;color:#724e2c}.warm-results .compromise-results .breed-photo{max-width:360px;aspect-ratio:auto;background:transparent}.warm-results .compromise-results .breed-photo img{position:static;height:220px;aspect-ratio:auto;padding:8px;object-fit:contain;border-radius:16px;background:#fff}.compromise-results .result-about>summary{background:#f2e8d9}
.warm-results .compromise-results .result-about>.compromise-preview{display:grid;grid-template-columns:100px minmax(0,1fr) 18px;gap:14px;justify-content:start;text-align:left;background:#fffdf8;padding:10px;border-radius:20px;font-size:19px;line-height:1.25}.compromise-preview .compromise-thumb{display:block;width:100px;height:100px;max-width:100%;flex:none;object-fit:contain;border-radius:12px;background:#fff}.compromise-preview .no-photo{display:grid;place-items:center;font-size:12px;color:#61716a;text-align:center}.compromise-preview small{display:block;font:600 13px/1.4 var(--body,sans-serif);color:#61716a;margin-top:8px}.compromise-preview>span{min-width:0;overflow-wrap:anywhere}.compromise-chevron{font-size:20px}.result-about[open]>.compromise-preview .compromise-chevron{transform:rotate(180deg)}@media(max-width:450px){.warm-results .compromise-results .result-about>.compromise-preview{grid-template-columns:76px minmax(0,1fr) 14px;font-size:17px;gap:10px;padding:8px}.compromise-preview .compromise-thumb{width:76px;height:86px}.compromise-results.panel{padding:14px}.compromise-results .result-about{margin-left:0;margin-right:0}}
