/* V492: larger profile avatar, consistent film coverage and guarded gifts. */
[data-avatar-frame="sable_winter"]{--avatar-core-ratio:90%!important}
[data-avatar-frame="sable_winter"] > :is(.ui-avatar-core,.oct15-avatar-core,.avatar-frame-core){
  position:absolute!important;inset:5%!important;width:auto!important;height:auto!important;
  display:grid!important;place-items:center!important;max-width:none!important;max-height:none!important;
  overflow:hidden!important;z-index:1!important;border-radius:50%!important;
}
[data-avatar-frame="sable_winter"] > :is(.ui-avatar-core,.oct15-avatar-core,.avatar-frame-core) > img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:center!important;max-width:none!important;max-height:none!important;
}
/* Smooth visible fallback even while a video is blocked, paused or waiting to play. */
[data-avatar-frame="sable_winter"] > video.sable-frame-video{
  opacity:0!important;transition:opacity .18s ease!important;z-index:5!important;
}
[data-avatar-frame="sable_winter"] > video.sable-frame-video[data-v492-playing="1"]{opacity:1!important}
[data-avatar-frame="sable_winter"] > :is(img.ui-frame-image,img.oct15-frame-overlay,img.avatar-frame-layer){z-index:3!important}
@media(prefers-reduced-motion:reduce){
 [data-avatar-frame="sable_winter"] > video.sable-frame-video{display:none!important}
}
/* Normal college profiles: make photo-frame a feature, not a tiny badge. */
body .profile-hero{min-height:285px!important;align-items:center!important;gap:24px!important}
body .profile-hero > .profile-avatar-large.oct15-avatar-shell{
 --v492-profile-size:clamp(196px,22vw,246px);
 width:var(--v492-profile-size)!important;height:var(--v492-profile-size)!important;
 min-width:var(--v492-profile-size)!important;min-height:var(--v492-profile-size)!important;
 max-width:var(--v492-profile-size)!important;max-height:var(--v492-profile-size)!important;
 flex:0 0 var(--v492-profile-size)!important;background:transparent!important;border:0!important;
 box-shadow:none!important;border-radius:50%!important;overflow:visible!important;
}
body .profile-hero > .profile-avatar-large.oct15-avatar-shell > .oct15-frame-overlay{
 width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
 inset:0!important;object-fit:contain!important;position:absolute!important;
}
body .public-profile-hero{min-height:290px;gap:26px!important}
body .public-profile-hero > .public-profile-avatar{
 position:relative!important;
 --v492-profile-size:clamp(190px,21vw,242px);
 width:var(--v492-profile-size)!important;height:var(--v492-profile-size)!important;
 min-width:var(--v492-profile-size)!important;min-height:var(--v492-profile-size)!important;
 max-width:var(--v492-profile-size)!important;max-height:var(--v492-profile-size)!important;
 flex:0 0 var(--v492-profile-size)!important;overflow:visible!important;border-radius:50%!important;
}
body .public-profile-hero > .public-profile-avatar.oct15-avatar-shell > .oct15-frame-overlay{
 width:100%!important;height:100%!important;inset:0!important;position:absolute!important;object-fit:contain!important;
}
@media(max-width:680px){
 body .profile-hero{min-height:0!important;flex-direction:column-reverse!important;align-items:center!important;padding:24px!important}
 body .profile-hero > div:first-child{width:100%;min-width:0}
 body .profile-hero > .profile-avatar-large.oct15-avatar-shell{--v492-profile-size:min(65vw,230px)}
 body .public-profile-hero{flex-direction:column!important;align-items:center!important;min-height:0;padding:24px!important}
 body .public-profile-hero > .public-profile-avatar{--v492-profile-size:min(62vw,220px)}
}
/* Dev hero remains prominently enlarged and is unaffected by student sizes. */
.v492-gift-card{max-width:920px;display:grid;gap:12px}
.v492-gift-card form{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}
.v492-gift-card label{display:grid;gap:7px;font-size:14px;font-weight:700}
.v492-gift-card select,.v492-gift-card input{width:100%;box-sizing:border-box;min-height:46px;
 background:var(--input-bg,rgba(15,23,42,.75));color:inherit;border:1px solid var(--line,rgba(148,163,184,.4));
 border-radius:12px;padding:10px 12px}
.v492-gift-recipient{grid-column:1/-1;border:1px solid rgba(148,163,184,.28);border-radius:14px;
 padding:13px 15px;min-height:42px;box-sizing:border-box;background:rgba(125,125,150,.09)}
.v492-gift-card button[data-v492-send]{grid-column:1/-1;justify-self:start}
.v492-gift-card small,.v492-gift-card p{line-height:1.55;max-width:75ch}
@media(max-width:640px){.v492-gift-card form{grid-template-columns:minmax(0,1fr)}.v492-gift-card button[data-v492-send]{width:100%}}
