/* The Grand Compendium - Character Studio outfit styles */
.gc-frostling-outfits{margin:22px 0 12px;padding:18px;border:2px solid #e7d2ee;border-radius:20px;background:linear-gradient(140deg,#fff9fe,#f4efff)}
.gc-frostling-outfits h3{font:700 23px Fredoka,system-ui;color:#8253a4;margin:0 0 5px}
.gc-frostling-outfits .gc-outfit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.gc-outfit-option{border:2px solid #e6d4ec;background:#fff;border-radius:14px;padding:8px 5px;color:#6b4c83;font-weight:800;min-width:0}
.gc-outfit-option[aria-pressed="true"]{border-color:#9b65c6;background:#f3e6ff;box-shadow:0 0 0 2px #d8b5f4}
.gc-outfit-option img{width:100%;height:145px;object-fit:contain;object-position:center center;display:block}
.gc-outfit-option span{display:block;margin-top:5px;font-size:12px}
.gc-outfit-option:disabled{opacity:.58;cursor:not-allowed}.gc-outfit-placeholder{height:145px;display:grid;place-items:center;font-size:27px;color:#aa8bbd;background:#f9f4fb;border-radius:10px}
.gc-outfit-status{margin:12px 0 0;color:#745f84;font-size:12px;line-height:1.5}
@media(max-width:600px){.gc-frostling-outfits .gc-outfit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Pip's line under the outfit cards */
.gc-outfit-blurb{margin:12px 2px 0;color:#745f84;font-size:13px;line-height:1.55;font-style:italic;min-height:1.5em}
/* Sparkle burst when an outfit is chosen (sits on top; never fades the picture) */
.gc-outfit-sparkle{position:fixed;pointer-events:none;z-index:50}
.gc-outfit-sparkle span{position:absolute;font-size:22px;color:#c99be8;text-shadow:0 0 8px #fff,0 0 14px #e7c9ff;opacity:0;transform:translate(-50%,-50%) scale(.3);animation:gc-outfit-twinkle .85s ease-out forwards}
.gc-outfit-sparkle span:nth-child(3n){color:#f1c76a}
@keyframes gc-outfit-twinkle{0%{opacity:0;transform:translate(-50%,-50%) scale(.3) rotate(0)}35%{opacity:1;transform:translate(-50%,-60%) scale(1.15) rotate(25deg)}100%{opacity:0;transform:translate(-50%,-90%) scale(.6) rotate(60deg)}}
@media (prefers-reduced-motion:reduce){.gc-outfit-sparkle{display:none}}
/* "Your Character" card on the Profile page */
.gc-profile-character{display:flex;gap:22px;align-items:center}
.gc-profile-character img{width:150px;height:225px;object-fit:contain;flex:none;filter:drop-shadow(0 8px 10px #57415a30)}
.gc-profile-character h3{font:700 26px Georgia,serif;color:#714c91;margin:0}
.gc-profile-character .gc-profile-look{margin:4px 0 6px;font-weight:700;color:#8a6aa3}
@media(max-width:520px){.gc-profile-character{flex-direction:column;text-align:center}}
/* Phones (single-column Studio only): keep the character pinned under the header while choosing outfits.
   Desktop and wide tablets are unaffected. --gc-header-h is measured by character-studio-outfits.js. */
@media (max-width:760px) and (min-height:560px){
  .gc-base-studio .gc-studio-editor .gc-base-preview{position:sticky!important;top:calc(var(--gc-header-h,100px) + 6px)!important;z-index:6;padding:6px 10px 4px!important;box-shadow:0 10px 18px -10px #57415a55}
  .gc-base-studio .gc-studio-editor .gc-base-preview img{height:min(30vh,250px)!important;max-width:220px!important}
  .gc-base-studio .gc-studio-editor .gc-base-preview h2{font-size:17px!important;margin:0!important}
  .gc-base-studio .gc-studio-editor .gc-base-preview .mini{display:none!important}
  .gc-base-studio .gc-studio-editor .gc-outfit-option img{height:118px!important}
}
/* Female / Male switch (2026-11-23) */
.gc-gender{display:inline-flex;gap:4px;padding:4px;margin:6px 0 2px;border:1.5px solid #e6d4ec;border-radius:999px;background:#fff}
.gc-gender-btn{border:0;background:transparent;padding:6px 18px;border-radius:999px;font:800 13px system-ui,sans-serif;color:#6b4c83;cursor:pointer}
.gc-gender-btn[aria-pressed="true"]{background:#9b65c6;color:#fff;box-shadow:0 2px 6px #9b65c655}
.gc-outfit-option[hidden]{display:none!important}
