/* V6.6 uses the existing three palettes and the same lightweight artwork. */
.home-title-row,.profile-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.home-title-row .page-head,.profile-title-row .page-head{margin:0;min-width:0;flex:1}
.home-title-row .page-head h1,.profile-title-row .page-head h1{overflow-wrap:anywhere}
.theme-trigger,.edit-profile-link{flex-shrink:0;min-height:44px;white-space:nowrap;color:var(--muted)!important;padding:8px 3px!important;font-size:11px!important;background:none!important;border:0!important;box-shadow:none!important}
.theme-trigger .icon,.edit-profile-link .icon{width:16px;height:16px}
.home-watch{margin-top:13px}.home-resume{margin:0 0 18px}.home-resume .action-card{border-color:var(--gold)}
.theme-picker .profile-themes{margin:12px 0}.theme-picker .profile-themes>h2{display:none}.theme-picker .theme-options{grid-template-columns:1fr;gap:10px}.theme-picker .btn{min-height:48px;justify-content:flex-start;font-size:13px}
.profile-menu{display:grid;gap:0;border:1px solid var(--border);border-radius:16px;overflow:hidden;margin-top:16px;background:var(--panel)}
.profile-menu .action-card{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:15px 14px;min-height:65px}
.profile-menu .action-card+.action-card{border-top:1px solid var(--border)!important}.profile-menu .action-icon{background:transparent;min-width:24px;width:24px;height:28px}.profile-menu .action-card p{font-size:11px;line-height:1.45}.profile-menu .action-card strong{font-size:13px}
.public-profile-link{margin-top:10px;color:var(--muted)}.public-trajectory,.progress-section{margin-top:16px}
.identity-card.identity-founder.frame-bronze{border-color:#b58458;box-shadow:inset 0 0 0 4px #b5845810}.identity-card.identity-founder.frame-silver{border-color:#c0ceda;box-shadow:inset 0 0 0 4px #c0ceda10}.avatar-founder.avatar-portrait.frame-bronze{border-color:#c48c55}.avatar-founder.avatar-portrait.frame-silver{border-color:#d1e4ee}
.founder-seal .personal-emblem{display:inline-flex;align-items:center;justify-content:center;min-width:0;width:19px;height:17px;border:0;border-radius:0;background:transparent;box-shadow:none;margin:0 4px 0 0;padding:0}
.founder-seal .personal-emblem .icon{width:17px;height:17px}.identity-card .founder-seal{display:inline-flex;align-items:center}
.collection-menu{margin-top:8px}.collection-back,.store-back{margin:0 0 16px;min-height:44px}
.collection-current{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.collection-current>span{font-size:11px;color:var(--muted)}.collection-current strong{font-size:12px}.collection-current .btn{margin-left:auto}
.outfit-choice .garment-preview{height:auto;width:100%;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0;display:flex;justify-content:center;align-items:center}
.outfit-choice .garment-preview>.avatar-body{height:185px;width:auto;max-width:100%;position:relative;left:auto;top:auto}
.outfit-choice h3{font-size:14px}.outfit-choice p{font-size:11px;line-height:1.55}.outfit-choice .btn:not(.garment-preview){min-height:42px;font-size:11px}
.product-price{display:block;color:var(--gold);font-size:11px;line-height:1.6;margin:10px 0 0}.shop-balance{display:flex;align-items:center;gap:7px;color:var(--gold);font-size:12px;margin:0 0 16px}.shop-balance .icon{width:18px;height:18px}
.shop-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.shop-category{display:flex;align-items:flex-start;flex-direction:column;gap:11px;min-height:130px;min-width:0;padding:18px 15px;color:var(--text);border:1px solid var(--border);border-radius:16px;background:linear-gradient(155deg,#ffffff08,transparent 60%),var(--panel);text-align:left;box-shadow:inset 0 1px 0 #ffffff08}
.shop-category .icon{width:25px;height:25px;color:var(--gold)}.shop-category strong{font-size:14px;font-weight:600}.shop-category small{font-size:11px;line-height:1.45;color:var(--muted)}
.title-choices{border:1px solid var(--border);border-radius:14px;overflow:hidden;margin:12px 0}.title-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:14px 12px;border:0;background:var(--panel);color:var(--text);width:100%;min-height:64px}.title-choice+.title-choice{border-top:1px solid var(--border)}.title-choice>span{min-width:0}.title-choice strong{display:block;font-size:12px;line-height:1.5}.title-choice small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px}.title-choice:disabled{opacity:1}.title-choice:disabled strong{color:var(--muted)}.title-choice>.icon{flex-shrink:0;width:17px;height:17px;color:var(--muted)}.title-choice.selected{background:var(--panel2)}.title-choice.selected>.icon{color:var(--gold)}
.cosmetic-mini{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;text-align:center;min-height:100px;border:1px solid var(--border);border-radius:12px;padding:12px;margin-bottom:12px;background:var(--panel2)}.cosmetic-mini.frame-bronze{border-color:#b58458}.cosmetic-mini.frame-silver{border-color:#c0ceda}.cosmetic-mini.frame-gold{border-color:#e8c66a}.cosmetic-mini.background-stars{background:radial-gradient(ellipse at top,#394b68,#15263c);color:#eff6fe}.cosmetic-mini.background-parchment{background:linear-gradient(135deg,#f1e3c1,#cdb78f);color:#3d3c30}.cosmetic-mini .avatar-portrait{width:57px;height:57px}.cosmetic-mini>span:not(.avatar){font:500 13px ClubTitle,Georgia,serif}.cosmetic-collection .card{min-width:0;padding:14px 12px}.cosmetic-collection h3{font-size:13px}.cosmetic-collection .btn{font-size:11px;min-height:42px}.collection-clears{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.cosmetic-wand.wand-aurora .wand-stick{box-shadow:0 0 10px #64b7a68c}.cosmetic-wand.wand-phoenix .wand-stick{box-shadow:0 0 10px #d295638c}
.store-item-icon{color:var(--gold);display:inline-flex;margin-bottom:10px}.store-item-large{text-align:center;padding:20px}.store-item-large .icon{width:60px;height:60px;color:var(--gold)}
.preview-house{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:12px}.preview-house .club-crest:not(.crest-hogwarts){width:25px;height:25px;min-width:25px;flex:0 0 25px;border-radius:50%}
.progress-section>.card.progress-card{padding:0;border:0;background:transparent!important;box-shadow:none;margin:0 0 12px}.progress-section .help-table-wrap{margin:0}.public-trajectory>.public-emblem{justify-content:flex-start;padding:0 0 12px}
/* Whole-figure clothing. The colour filter itself selects the fabric; no polygon cuts. */
.fitted-avatar{isolation:isolate}.fitted-avatar>.figure-sprite{z-index:1}.fitted-avatar>.figure-house-color{z-index:2;clip-path:var(--cloth-clip)}.fitted-avatar>.figure-silver{z-index:3;filter:url(#trim-silver);clip-path:inset(var(--trim-start,21%) 0 0 0)}
.fitted-avatar>.figure-detail,.fitted-avatar>.figure-back{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.fitted-avatar>.figure-back{z-index:0}.fitted-avatar>.figure-detail{z-index:4}
.fitted-avatar.avatar-portrait>.figure-detail,.fitted-avatar.avatar-portrait>.figure-back{width:var(--portrait-zoom,310%);height:calc(var(--portrait-zoom,310%) / var(--figure-ratio,.75));inset:var(--portrait-top,-8%) auto auto var(--portrait-left,-72%)}
@media(max-width:350px){.home-title-row,.profile-title-row{gap:7px}.edit-profile-link{font-size:10px!important}.profile-title-row .page-head h1{font-size:25px}.profile-title-row .page-head p{font-size:11px}.shop-category{padding:15px 12px;min-height:123px}.shop-category strong{font-size:13px}.outfit-choice .garment-preview>.avatar-body{height:160px}.outfit-choice h3{font-size:12px}}
