.mascot-profile-panel{margin:18px 0;padding:16px;border:1px solid #c7a77c7d;border-radius:16px;background:radial-gradient(ellipse at 8% 0,#b25b6818,transparent 60%),linear-gradient(130deg,#1b152c,#080f1b);box-shadow:0 8px 28px #0005}
.mascot-profile-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.mascot-profile-heading h2{margin:0;color:#fff;font-size:1.2rem}.mascot-profile-link{font-size:.85rem;color:#c7a77c!important;text-decoration:underline!important;font-weight:750}.mascot-profile-status{color:#d6c9da;font-size:.86rem}
.mascot-profile-grid{display:flex;gap:10px;overflow-x:auto;padding:6px 0 12px;scroll-snap-type:x proximity}
.mascot-profile-pet{position:relative;flex:0 0 124px;min-height:156px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;border:1px solid #b25b685e;border-radius:12px;background:linear-gradient(135deg,#2a1c3a,#111423);padding:9px 6px;gap:3px}
.mascot-profile-pet.featured{border-color:#c7a77c;box-shadow:0 0 16px #c7a77c1c}
.mascot-profile-pet img{width:94px;height:94px;object-fit:contain;filter:drop-shadow(0 4px 7px #0008)}
.mascot-profile-pet strong{color:#fff;font-size:.85rem;text-align:center;overflow-wrap:anywhere}
.mascot-profile-pet small{color:#bfb3da;text-align:center;font-size:.69rem}
.mascot-profile-pet .mascot-profile-evolved{color:#f1cd7c;font-weight:800}
.mascot-profile-featured{color:#c7a77c;font-size:.65rem;font-weight:850;text-align:center;margin-top:auto}

.mascot-profile-art{position:relative;width:94px;height:94px;flex-shrink:0}.mascot-profile-art img{position:absolute;inset:0;width:94px;height:94px;object-fit:contain;filter:drop-shadow(0 4px 7px #0008)}.mascot-profile-art img.mascot-profile-layer{z-index:2;pointer-events:none;filter:drop-shadow(0 2px 3px #0007)}

.mascot-profile-art img.mascot-profile-habitat{z-index:0;object-fit:cover;filter:none;border-radius:8px}.mascot-profile-art img.mascot-profile-master{z-index:1}.mascot-profile-art img.mascot-profile-decoration{z-index:2;pointer-events:none;filter:drop-shadow(0 2px 4px #0008)}

.mascot-profile-medals-title{color:#c7a77c;font-size:1rem;margin:14px 0 8px}.mascot-profile-medals{display:flex;gap:8px;flex-wrap:wrap}
.mascot-profile-medal{display:flex;align-items:center;gap:5px;border:1px solid #79ffe76a;background:#1c1531;border-radius:10px;padding:5px 9px;color:#eee4ff}
.mascot-profile-medal img{width:40px;height:40px;object-fit:contain}.mascot-profile-medal small{color:#e8d9fa;font-size:.71rem;max-width:110px;line-height:1.3}

.mascot-profile-art img.mascot-profile-room-furniture{position:absolute;z-index:2;width:32px;height:32px;object-fit:contain;transform:translate(-50%,-65%);pointer-events:none;filter:drop-shadow(0 2px 3px #000a)}


/* Sanctuary profile showcase: personality-first collectible cards. */
.mascot-profile-intro{padding:12px 14px;margin:0 0 14px;border:1px solid #c7a77c5c;border-radius:13px;background:radial-gradient(ellipse at top left,#c7a77c15,transparent 65%),#140f22}
.mascot-profile-intro strong{color:#c7a77c;font-size:.86rem;letter-spacing:.03em}
.mascot-profile-intro p{color:#eee3fc;font-size:.83rem;line-height:1.55;margin:7px 0 0}
.mascot-profile-pet{flex-basis:154px;min-height:218px;padding:12px 8px;border-color:#b25b6880;background:radial-gradient(ellipse at 50% 0%,#b25b6817,transparent 65%),linear-gradient(145deg,#22142f,#111222)}
.mascot-profile-pet.featured{border:1px solid #c7a77c;box-shadow:0 0 0 1px #c7a77c55,0 0 22px #c7a77c18}
.mascot-profile-pet .mascot-profile-trait{color:#dbaceb;white-space:normal;line-height:1.4;min-height:2.5em}
.mascot-profile-pet .mascot-profile-link{margin-top:auto;text-align:center;padding:6px 8px;border:1px solid #79ffe76e;border-radius:9px;text-decoration:none!important}
.mascot-profile-pet .mascot-profile-link:hover,.mascot-profile-pet .mascot-profile-link:focus-visible{border-color:#c7a77c;background:#24302455;outline-offset:2px}
@media(max-width:620px){.mascot-profile-pet{flex-basis:144px;min-height:209px}.mascot-profile-intro{padding:10px}}

.mascot-profile-pet {
  background:radial-gradient(ellipse at 50% 28%,#6c4a9980,transparent 62%),linear-gradient(165deg,#252139,#121725);
  border-color:#655781;
  border-radius:16px;
}
.mascot-profile-pet img {
  width:104px;height:104px;
  filter:drop-shadow(0 7px 10px #070712) drop-shadow(0 0 12px #bb96ef50);
}
.mascot-profile-pet.featured { border-color:#d0ac68;box-shadow:0 0 18px #c7a45c22; }
.mascot-profile-pet .mascot-profile-link { min-height:44px;display:grid;place-items:center; }

/* Sanctuary lineages: native type palettes in member profile showcases. */
.mascot-profile-pet[data-affinity]{border-color:var(--creature-mid);background:linear-gradient(165deg,var(--creature-sky),var(--creature-floor))}
.mascot-profile-pet[data-affinity] .mascot-profile-trait{color:var(--creature-light)}
.mascot-profile-pet .mascot-profile-affinity{color:var(--creature-light);font-size:.68rem;font-weight:800}
.mascot-profile-art.pet-render-v2{width:100%;height:130px;border-radius:12px;overflow:hidden;border:1px solid var(--creature-mid);background:radial-gradient(circle at 48% 55%,var(--creature-mid),transparent 85%),var(--creature-sky);isolation:isolate}
.mascot-profile-art.pet-render-v2 img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
.mascot-profile-art.pet-render-v2 .mascot-profile-master{z-index:4;filter:drop-shadow(0 8px 7px #0009)}
.mascot-profile-art.pet-render-v2 .mascot-profile-habitat{z-index:1;opacity:.65}
.mascot-profile-art.pet-render-v2 .mascot-profile-decoration{z-index:6}
.mascot-profile-art.pet-render-v2 .mascot-profile-room-furniture{z-index:6;width:38px;height:38px;inset:auto}
.mascot-profile-art.pet-render-v2 .mascot-profile-layer{z-index:7}
.mascot-profile-art.pet-render-v2 .pet-growth-crown{z-index:3}
.mascot-profile-art.pet-render-v2[data-form="3"] .mascot-profile-master{filter:drop-shadow(0 0 8px var(--creature-mid)) drop-shadow(0 8px 7px #000a)}
@media(max-width:620px){.mascot-profile-art.pet-render-v2{height:116px}}
