/* The supplied v11 top / ten-pixel tile / bottom sets power all seven master themes.
   Reuses working LOAMasterCards API. No RLS, data, Google or Supabase changes. */
.loa-master-constructed{--mc-middle:none;--mc-avatar-border:none;display:flex!important;flex-direction:column!important;align-items:stretch!important;max-width:543px;min-width:0;overflow:visible!important}
.loa-master-constructed[hidden]{display:none!important}
.loa-master-constructed::before,.loa-master-constructed::after{display:none!important;content:none!important}
.loa-master-constructed .loa-mc-interior{display:none!important}
.loa-master-constructed .loa-mc-head{position:relative;flex:none;width:100%;height:auto;aspect-ratio:2176/728;z-index:3;overflow:visible!important}
.loa-master-constructed .loa-mc-head::after{position:absolute;inset:0;content:"";display:block;background:var(--mc-top) center/100% 100% no-repeat;image-rendering:pixelated;pointer-events:none;z-index:1}
.loa-master-constructed .loa-mc-head::before{content:"";display:block;position:absolute;width:128px;height:128px;left:50%;bottom:-108px;transform:translateX(-50%);background:var(--mc-avatar-border) center/100% 100% no-repeat;z-index:4;image-rendering:pixelated;pointer-events:none}
.loa-master-constructed .loa-mc-head img.loa-mc-avatar{position:absolute;display:block;clip-path:none;left:50%;top:auto;bottom:-90px;transform:translateX(-50%);width:92px;height:92px;object-fit:contain;z-index:3;background:transparent;filter:none}
.loa-master-constructed .loa-mc-foot{position:relative;flex:none;width:100%;height:auto;aspect-ratio:2176/534;z-index:3;clear:both}
.loa-master-constructed .loa-mc-foot::after{position:absolute;inset:0;content:"";display:block;background:var(--mc-bottom) center/100% 100% no-repeat;image-rendering:pixelated;z-index:1}
.loa-private-profile-card.loa-master-constructed .loa-private-profile-core,.loa-public-card.loa-master-constructed .loa-public-card-body{position:relative;display:flex;flex-direction:column;align-items:center;min-height:270px;width:100%;box-sizing:border-box;margin:0!important;padding:117px 10% 27px!important;background:var(--mc-middle) center top/100% auto repeat-y!important;z-index:2}
.loa-master-constructed .loa-private-profile-avatar,.loa-master-constructed .loa-public-card-avatar,.loa-master-constructed .loa-private-profile-art,.loa-master-constructed .loa-public-card-art{display:none!important}
.loa-master-constructed .loa-private-profile-bio,.loa-master-constructed .loa-public-bio{background:transparent!important;box-shadow:none!important;border:0!important;border-top:1px solid #e8bb5052!important;border-bottom:1px solid #e8bb5052!important;text-align:left;padding:13px 5px!important}
.loa-master-constructed .loa-private-profile-core h2,.loa-master-constructed .loa-public-card-body h2{color:#f4dc9e!important}
.loa-master-constructed #publicProfileEditLink[hidden],.loa-master-constructed #myPublicProfileButton[hidden]{display:none!important}
/* Editor live preview: same supplied art and the same arrangement as published master profile. */
.loa-mc-demo.loa-master-constructed{width:min(100%,360px)}
.loa-mc-demo.loa-master-constructed .loa-mc-demo-body{position:relative;z-index:2;box-sizing:border-box;min-height:160px;height:auto!important;padding:83px 10% 26px!important;background:var(--mc-middle) center top/100% auto repeat-y!important}
.loa-mc-demo.loa-master-constructed .loa-mc-head::before{width:100px;height:100px;bottom:-84px}
.loa-mc-demo.loa-master-constructed .loa-mc-head img.loa-mc-avatar{width:72px;height:72px;bottom:-70px}
/* Theme option thumbnails only: stable aspect ratio and unchanged click handlers. */
.loa-mc-mini{display:flex!important;flex-direction:column;aspect-ratio:auto!important;background:transparent!important;max-width:140px}
.loa-mc-mini::before,.loa-mc-mini::after{display:none!important;content:none!important}
.loa-mc-mini .loa-mc-mini-head{width:100%;aspect-ratio:2176/728;background:var(--mc-top) center/100% 100% no-repeat!important;image-rendering:pixelated;z-index:1}
.loa-mc-mini .loa-mc-mini-head img{display:none!important}
.loa-mc-mini .loa-mc-mini-body{display:block!important;height:48px!important;padding:0!important;background:var(--mc-middle) center top/100% auto repeat-y!important;z-index:0;color:transparent!important;font-size:0!important}
.loa-mc-mini .loa-mc-mini-foot{display:block!important;position:relative!important;inset:auto!important;width:100%;aspect-ratio:2176/534;background:var(--mc-bottom) center/100% 100% no-repeat!important;z-index:1}
/* Keep the master icon choices icon-only, as previously requested. */
.loa-mc-avatar-option{font-size:0!important;line-height:0!important}
@media(max-width:440px){
 .loa-master-constructed .loa-mc-head::before{width:110px;height:110px;bottom:-96px}
 .loa-master-constructed .loa-mc-head img.loa-mc-avatar{width:78px;height:78px;bottom:-80px}
 .loa-private-profile-card.loa-master-constructed .loa-private-profile-core,.loa-public-card.loa-master-constructed .loa-public-card-body{padding-top:102px!important}
 .loa-mc-demo.loa-master-constructed .loa-mc-head::before{width:89px;height:89px;bottom:-74px}
 .loa-mc-demo.loa-master-constructed .loa-mc-head img.loa-mc-avatar{width:64px;height:64px;bottom:-62px}
 .loa-mc-demo.loa-master-constructed .loa-mc-demo-body{padding-top:75px!important}
}
