/* LF STUDIO v31: consistent bundle cards and inexpensive animation layers. */
.sf-category{scroll-margin-top:105px;}
.sf-product.lf23-bundle-card{grid-column:span 2;}
.sf-product.lf23-bundle-card .lf23-bundle-showcase{height:clamp(295px,28vw,365px);min-width:0;padding:37px clamp(14px,2vw,24px) 22px;grid-template-columns:minmax(0,50%) minmax(0,50%);gap:0;}
.lf23-bundle-copy{min-width:0;align-self:center;}
.lf23-bundle-copy>h3{font-size:clamp(21px,2.2vw,36px)!important;line-height:.94!important;letter-spacing:.3px!important;overflow-wrap:break-word;hyphens:none;max-width:100%;}
.lf23-bundle-eyebrow{font-size:clamp(8px,.7vw,10px);}
.lf23-bundle-copy>p{font-size:clamp(10px,1vw,13px);margin:8px 0 16px;}
.lf23-bundle-items{overflow:visible;max-height:150px;max-width:100%;gap:6px;}
.lf23-bundle-item{animation:none;min-height:81px;will-change:auto;}
.lf23-bundle-item:after{animation:none;opacity:.4;}
.lf23-bundle-item>canvas{height:60px!important;}
.lf23-bundle-item>span{font-size:9px;}
.lf23-bundle-main{margin:-12px 0 0;overflow:hidden;min-width:0;}
.lf23-bundle-main>canvas{filter:none!important;min-height:0!important;}
.lf23-bundle-featured-label{backdrop-filter:none;background:#15132ecb;bottom:5px;left:5px;right:5px;}
.lf23-bundle-shine{animation:none;opacity:.48;}
.sf-cosmetic .sf-card-art canvas{touch-action:pan-y;}
.sf-cosmetic canvas{contain:layout paint;}
.sf-product:not(:hover) .sf-card-art .sf-rotate-hint{opacity:.55;}
@media(max-width:800px){.sf-product.lf23-bundle-card{grid-column:1/-1;}.sf-product.lf23-bundle-card .lf23-bundle-showcase{height:330px;grid-template-columns:52% 48%;}.lf23-bundle-items{gap:4px}.lf23-bundle-item>canvas{height:50px!important;}}
@media(max-width:420px){.sf-product.lf23-bundle-card .lf23-bundle-showcase{padding:36px 12px 15px;height:310px}.lf23-bundle-copy>h3{font-size:22px!important}.lf23-bundle-featured-label{padding:5px}.lf23-bundle-featured-label strong{font-size:9px}}
@media(prefers-reduced-motion:reduce){.sf-product *, .lf23-bundle-showcase *{animation-duration:0s!important;scroll-behavior:auto!important;}}

/* Serverrolle-Management: dense, readable cards in the existing admin palette. */
.lf31-role-list{display:grid;gap:9px;margin-top:18px;max-height:550px;overflow:auto;overscroll-behavior:contain;}
.lf31-role-row{display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:13px;padding:12px 14px;border:1px solid #bca9ff2e;border-radius:10px;background:#ffffff06;}
.lf31-role-row strong{display:block;line-height:1.4;overflow-wrap:anywhere;}
.lf31-role-row small{display:block;color:#b5b8c9;margin-top:2px;overflow-wrap:anywhere;}
.lf31-role-dot{width:12px;height:12px;border-radius:50%;border:1px solid #ffffff35;}
.lf31-role-form{margin:14px 0;padding:18px;border:1px solid #bca9ff45;border-radius:12px;background:#1f1d3059;}
.lf31-role-checks{display:flex;gap:18px;flex-wrap:wrap;margin:14px 0;}
.lf31-role-form .button{margin:6px 6px 0 0;}
[data-drole-status][data-error="true"]{color:#ffa0a0;}
[data-drole-status][data-error="false"]{color:#a4f4cd;}
@media(max-width:460px){.lf31-role-row{grid-template-columns:14px minmax(0,1fr);}.lf31-role-row>.button{grid-column:2;justify-self:start;}.lf31-role-form{padding:12px;}}

/* v32 · Cosmetics grid uses a low-cost resting preview; full animations remain in the modal/editor. */
#lf-store .sf-product .sf-model-volume,
#lf-store .sf-product .sf-model-shadow,
#lf-store .sf-product .sf-model-stage,
#lf-store .sf-product .sf-model-volume *,
#lf-store .sf-product .sf-card-art::before,
#lf-store .sf-product .sf-card-art::after{animation-play-state:paused!important;}
#lf-store .sf-product:hover .sf-model-volume,
#lf-store .sf-product:hover .sf-model-stage,
#lf-store .sf-product:hover .sf-model-volume *,
#lf-store .sf-product:focus-within .sf-model-volume,
#lf-store .sf-product:focus-within .sf-model-stage{animation-play-state:running!important;}
#lf-store .sf-product .lf23-bundle-item,
#lf-store .sf-product .lf23-bundle-item::after,
#lf-store .sf-product .lf23-bundle-shine{animation:none!important;}
#lf-store .sf-card-art canvas{image-rendering:pixelated;}
#lf-store .sf-category[hidden]{display:none!important;}
@media(prefers-reduced-motion:reduce){#lf-store .sf-product *{animation:none!important;transition:none!important;}}

/* A centered grid item otherwise shrink-wraps its contents when the timer widens the card. */
.sf-product.lf23-bundle-card>.sf-card-art{grid-template-columns:minmax(0,1fr);justify-items:stretch;}
.sf-product.lf23-bundle-card>.sf-card-art>.lf23-bundle-showcase{width:100%;max-width:100%;justify-self:stretch;}
.sf-detail-art [data-cosmetic-stage]>.lf23-bundle-showcase{width:100%;}
.lf-pet-controls{margin:20px 0;padding:20px;border:1px solid #b69af544;border-radius:14px;background:#171a2b;color:#ece9fa;}
.lf-pet-controls h3{margin:0 0 8px}.lf-pet-controls p{color:#b2b5cb;font-size:13px;line-height:1.5}
.lf-pet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0}
.lf-pet-position{min-width:0;border:1px solid #ffffff24;border-radius:10px;padding:8px;text-align:center;cursor:pointer;background:#242238;color:#f1eaff}
.lf-pet-position[aria-pressed=true]{border-color:#cfb0ff;background:#342846}.lf-pet-position canvas{width:100%;height:230px;display:block;touch-action:pan-y}
.lf-pet-position span{display:block;font-size:12px}.lf-pet-actions{display:flex;gap:9px;flex-wrap:wrap}.lf-pet-size{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0}.lf-pet-size input{grid-column:1/-1;width:100%}.lf-pet-status{min-height:20px}.lf-pet-controls select{max-width:100%}
@media(max-width:760px){.lf-pet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lf-pet-position canvas{height:205px}.lf-pet-controls{padding:12px}}
