/* Member presentation. Preserve existing data contracts and navigation. */
.member-page { --font-main: 'Inter', system-ui, sans-serif; }
#section-home, #section-create { font-family: var(--font-main); color: #f5f2fc; }
.member-page:has(:is(#section-home,#section-help).active) .ff2-content { overflow: visible !important; }
html:has(.member-page) { scrollbar-color: #85516f #120e1c; scrollbar-width: thin; }
.member-eyebrow { margin: 0 0 16px; color: #c8a6ff; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.member-eyebrow i { margin-right: 7px; }
#section-home :is(button,a,input):focus-visible,
#section-create :is(button,a,input,[role=button]):focus-visible { outline: 3px solid #d3afff !important; outline-offset: 4px; }

/* Home: creation first, available balance alongside it. */
#section-home .home-wrapper { max-width: 1080px; padding: 26px 22px 110px !important; }
#section-home .home-header { padding: 0 0 24px; }
#section-home .home-greeting { color: #bcb4cb; }
#section-home .home-avatar { background: #211731; border: 1px solid #7b419c; box-shadow: none; }
.member-home-hero { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 200px; gap: 28px; align-items: center; padding: 26px; margin-bottom: 24px; border: 1px solid #b44fff55; border-radius: 20px; background: radial-gradient(ellipse at top right,#ff3fa420,transparent 65%),linear-gradient(140deg,#21142f,#181121); overflow: hidden; }
.member-home-hero h1 { font: 700 clamp(26px,3vw,37px)/1.16 var(--font-main); letter-spacing: -.045em; margin: 0 0 16px; }
.member-home-hero h1 span { color: var(--color-accent-pink); }
.member-home-hero-copy > p:not(.member-eyebrow) { max-width: 440px; color: #c0b7ce; font-size: 14px; line-height: 1.7; margin: 0 0 23px; }
#section-home .home-ctas { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; }
#section-home .home-cta-primary { flex: 0 0 auto; width: auto; height: 46px; min-height: 46px; padding: 0 17px; border-radius: 10px; background: var(--gradient-brand); font: 600 13px var(--font-main); box-shadow: none; }
#section-home .home-cta-primary::after { display: none; }
#section-home .home-cta-primary:hover { background: var(--gradient-brand); box-shadow: none; transform: translateY(-1px); }
#section-home .home-cta-secondary { flex: 0 0 auto; width: auto; height: 46px; min-height: 46px; padding: 0 16px; border: 1px solid #42364e; border-radius: 10px; color: #ded4e9; background: transparent; font: 500 13px var(--font-main); }
.member-home-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #baadc9; font-size: 12px; }
.member-home-flow span { display: inline-flex; align-items: center; gap: 6px; }
.member-home-flow > i { color: #8861a6; font-size: 9px; }
.member-balance { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: center; text-align: center; padding: 20px 16px; border-radius: 15px; border: 1px solid #41304f; background: #120f1b; }
.member-balance-label { font-size: 12px; color: #d6c9e9; }
.member-balance strong { color: #e1d1ef; font-size: 42px; line-height: 1.1; letter-spacing: -.04em; font-weight: 700; padding: 10px 0 7px; }
#homeBalanceCaption { font-size: 12px; line-height: 1.5; color: #c2b6d1; }
.member-balance p { width: 100%; border-top: 1px solid #37293f; padding-top: 12px; margin: 14px 0 0; color: #b9accb; font-size: 11px; line-height: 1.6; }
.member-home-hero[data-balance-state=empty] .member-balance strong { color: #f1ca9c; }
#section-home[data-first-look=true] #tokenAlertBanner.token-alert-banner--info { display: none !important; }
#section-home .home-stats-grid { margin: 0 0 25px; gap: 12px; }
#section-home .home-stat-card { border-radius: 15px; padding: 16px 10px; background: #15111e; border-color: #302738; }
#section-home .home-stat-value { background: none; color: #eee6f7; -webkit-text-fill-color: currentColor; font-size: 23px; }
#section-home .home-stat-label { font-size: 12px; color: #bcb0ca; text-transform: none; letter-spacing: 0; }
#section-home .home-stat-icon { width: 29px; height: 29px; font-size: 13px; background: #a252d812; }
#section-home .home-section-title { font-size: 17px; }
#section-home .home-section-sub { font-size: 13px; color: #b4a9c4; }
#section-home .home-tip { background: #15111e; border: 1px solid #302738; border-radius: 14px; }
#section-home .home-tip-text span { color: #b8acc7; font-size: 13px; }
.member-browser-note { display: flex; gap: 12px; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid #302738; color: #b6a6c8; }
.member-browser-note > i { font-size: 20px; color: #bc90ea; }
.member-browser-note p { margin: 0; font-size: 12px; line-height: 1.6; }
.member-browser-note strong, .member-browser-note span { display: block; }
.member-browser-note strong { color: #d7cbe5; font-weight: 500; }
.member-recent { margin: 0 0 26px; }
.member-recent-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.member-recent-head h2 { margin: 0 0 5px; font-size: 18px; letter-spacing: -.025em; }
.member-recent-head p { margin: 0; color: #b7acc4; font-size: 13px; line-height: 1.5; }
.member-recent-head button { min-height: 44px; padding: 8px 12px; flex-shrink: 0; border: 0; border-radius: 9px; background: #241a30; color: #d1b6e8; font-size: 12px; }
.member-recent-status { border: 1px dashed #45354f; border-radius: 15px; padding: 20px; font-size: 14px; line-height: 1.6; color: #c8bbd6; }
.member-first-guide { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 20px; }
.member-first-guide p { margin: 0; color: #afa2bf; font-size: 12px; }
.member-first-guide strong { display: block; color: #e0d3eb; font-size: 13px; margin-bottom: 5px; font-weight: 600; }
.member-recent-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.member-recent-card { min-width: 0; padding: 0; overflow: hidden; border: 1px solid #3b2e46; border-radius: 14px; background: #17121e; text-align: left; color: #e6ddef; font: inherit; cursor: pointer; transition: border-color .18s,transform .18s; }
.member-recent-card:hover { border-color: #9672b3; transform: translateY(-2px); }
.member-recent-card img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: contain; background: #100d17; }
.member-recent-card span { display: block; padding: 11px 12px 3px; font-size: 13px; font-weight: 600; }
.member-recent-card time { display: block; padding: 0 12px 12px; font-size: 11px; color: #b4a4c3; }

/* Create: full-body framing and consistent reference cards. */
#section-create .ff2-create-v3 { width: 100%; max-width: 1080px; margin: 0 auto; padding: 28px 22px 110px; }
.member-page:has(#section-create.active) .ff2-content { overflow: visible !important; }
#section-create .ff2-create-head-v3 { text-align: left; margin-bottom: 25px; }
#section-create .v3-page-title { color: #f6f1fd; background: none; -webkit-text-fill-color: currentColor; font-size: clamp(25px,3vw,35px); letter-spacing: -.04em; line-height: 1.2; margin: 0 0 12px; }
#section-create .v3-page-subtitle { font-size: 14px; line-height: 1.65; color: #bfb4cd; }
#section-create .v3-steps-bar { max-width: 480px; margin: 0 auto 28px; }
#section-create .v3-steps-labels { max-width: 480px; margin: -20px auto 24px; }
#section-create .v3-step-label { font-size: 11px; color: #afa1be; text-transform: none; letter-spacing: 0; }
#section-create .v3-step-label.is-active { color: #d9b4ff; }
#section-create .v3-step-dot { background: #1a1324; border-color: #473058; box-shadow: none; }
#section-create .v3-step-dot.is-active { background: #7136b9; border-color: #bf8ff2; color: #fff; }
#section-create .v3-step-dot.is-done { background: #25372e; border-color: #53916f; color: #b6e5c7; }
#section-create .v3-step-card { margin: 0 0 20px; padding: 23px; border: 1px solid #3c2b4b; border-radius: 20px; background: radial-gradient(ellipse at 100% 0,#6d28d90b,transparent 65%),#15111f; box-shadow: none; backdrop-filter: none; }
#section-create .v3-step-header { align-items: flex-start; margin-bottom: 20px; gap: 12px; }
#section-create .v3-step-num { width: 31px; height: 31px; flex-shrink: 0; border-radius: 10px; background: #382049; color: #dcbbff; box-shadow: none; }
#section-create .v3-step-title { color: #f3ecfc; font-size: 16px; }
#section-create .v3-step-hint { color: #bdb0cb; font-size: 12px; line-height: 1.5; }
#section-create .v3-step-badge { font-size: 11px; text-transform: none; letter-spacing: 0; white-space: nowrap; padding: 5px 8px; border: 1px solid #493454; background: #21162e; color: #d2bddf; }
#section-create .v3-step-card[data-complete=true] .v3-step-badge { color: #b8e4c7; background: #193025; border-color: #365c45; }
#section-create .v3-photo-upload-area { padding: 0; }
#section-create .v3-photo-circle-wrap { width: 100%; height: auto; margin-bottom: 14px; }
#section-create .v3-photo-circle-border { border-radius: 15px; inset: -1px; opacity: .3; animation: none; }
#section-create #userPhotoUpload { width: 100%; height: 340px; border-radius: 15px; border: 1px dashed #8053a5; background: linear-gradient(160deg,#23162f,#13101b); overflow: hidden; }
#section-create #userPhotoUpload:hover { transform: none; border-color: #cd99ff; }
#section-create #userPhotoPreview { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 12px; }
#section-create #userPhotoPreview img { width: 100% !important; height: 100% !important; max-height: 100%; border-radius: 9px; object-fit: contain !important; background: #14101b !important; }
#section-create .v3-photo-circle .v3-tap-text { display: block !important; color: #d6c2eb; font-size: 13px; }
#section-create .v3-photo-label { color: #e1d4ed; font-size: 14px; }
#section-create .v3-photo-hint { color: #bcb0ca; font-size: 12px; }
#section-create .v3-photo-actions { gap: 10px; flex-wrap: wrap; }
#section-create .v3-photo-actions button { min-height: 44px; font-size: 12px; color: #dac4f1; }
#section-create .default-photo-mini-card { border-color: #493255; background: #21172e; }
#section-create .mix-banner { border: 1px solid #634080; border-radius: 13px; background: linear-gradient(120deg,#362045,#20152d); box-shadow: none; padding: 14px; gap: 10px; }
#section-create .mix-banner-title { color: #efdefe; font-size: 14px; }
#section-create .mix-banner-sub { font-size: 12px; color: #c7b6d8; }
#section-create .mix-toggle-label { font-size: 11px; color: #d4b8ed; }
#section-create .mix-hint { font-size: 12px; color: #bfb0cc; }
#section-create :is(.v3-piece-grid,.mix-presets-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
#section-create :is(.v3-piece-pill,.mix-preset) { min-width: 0; min-height: 78px; padding: 13px 9px; border: 1px solid #493354; border-radius: 12px; background: #1c1527; color: #d5c8e4; transition: border-color .18s,background .18s,transform .18s; }
#section-create :is(.v3-piece-pill,.mix-preset).is-selected { border-color: #c08af5; background: #442355; box-shadow: inset 0 0 0 1px #c08af540; color: #fff; }
#section-create :is(.v3-pill-label,.mix-preset-label) { font-size: 12px; font-weight: 600; line-height: 1.4; overflow-wrap: break-word; }
#section-create :is(.v3-pill-emoji,.mix-preset-icons) { font-size: 20px; color: #caa2f2; }
#section-create .mix-preset-icons { display: flex; justify-content: center; gap: 7px; }
#section-create :is(.v3-slot-header,.create-slot-header) { margin-bottom: 12px; }
#section-create :is(.v3-slot-title,.create-slot-title) { font-size: 14px; color: #e7dcef; }
#section-create .slot-role-label { font-size: 11px; color: #bfa6d4; }
#section-create .create-source-toggle { padding: 4px; border-radius: 11px; background: #0f0c16; border: 1px solid #382841; }
#section-create .create-source-btn { min-height: 44px; border-radius: 8px; color: #c4b7cf; font-size: 12px; }
#section-create .create-source-btn.is-active { background: #422753; color: #f5ebff; }
#section-create .v3-upload-zone { min-height: 190px; border: 1px dashed #6c4a82; border-radius: 14px; background: #1a1323 !important; }
#section-create .v3-upload-zone .upload-preview { min-height: 170px; padding: 20px 14px; }
#section-create .v3-upload-zone .upload-preview img { max-height: 290px; width: 100%; object-fit: contain !important; }
#section-create .v3-upload-zone .upload-preview .v3-upload-emoji { font-size: 30px; color: #bc8fe3; }
#section-create .v3-upload-zone .upload-preview .garment-upload-hint { font-size: 12px !important; line-height: 1.5; opacity: 1 !important; color: #bfb0cc !important; }
#section-create .create-slot-remove { min-width: 44px; min-height: 44px; }
#section-create #mixUploadWrap { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }
#section-create :is(#mixSlot1,#mixSlot2,#slot3,#slot4) { margin: 0; min-width: 0; }
#section-create #addSlotsArea:empty { display: none !important; }
@media (min-width:700px) {
  #section-create[data-mix-active=true] #mixUploadWrap { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
#section-create .v3-cta-bar { position: sticky; bottom: 92px; z-index: 15; margin: 6px 0 0; padding: 17px 20px; border: 1px solid #684284; border-radius: 17px; background: #1c1428f5; box-shadow: 0 -10px 35px #09060f70; backdrop-filter: blur(12px); }
.member-create-summary { color: #d3c4e2; font-size: 12px; line-height: 1.5; margin-bottom: 12px; }
#section-create .v3-token-row { margin-bottom: 12px; }
#section-create .v3-token-label, #section-create .v3-token-value { font-size: 13px; }
#section-create .v3-token-value { background: #372144; color: #ead7ff; }
#section-create .v3-cta-btn { border-radius: 11px; min-height: 50px; background: var(--gradient-brand); box-shadow: none; }
#section-create .v3-cta-tip { font-size: 11px; color: #b5a5c5; line-height: 1.6; }
#section-create .form-error { border-radius: 12px; font-size: 14px; }

@media (min-width:1180px) {
  .member-page:has(#section-home.active) .ff2-main,
  .member-page:has(#section-create.active) .ff2-main { max-width: 1360px; }
  #section-create .ff2-create-v3 { display: grid; grid-template-columns: 280px minmax(0,1fr); column-gap: 24px; }
  #section-create :is(.ff2-create-head-v3,.v3-steps-bar,.v3-steps-labels,.v3-cta-bar,.form-error) { grid-column: 1 / -1; }
  #section-create .v3-steps-bar, #section-create .v3-steps-labels { width: 480px; }
  #section-create .member-photo-step { grid-column: 1; grid-row: 4 / span 2; align-self: start; }
  #section-create .member-type-step, #section-create .member-garments-step { grid-column: 2; }
  #section-create .v3-cta-bar { bottom: 18px; }
}
@media (max-width:767px) {
  #section-home .home-wrapper { padding: 18px 4px 110px !important; }
  .member-home-hero { grid-template-columns: minmax(0,1fr); padding: 20px; gap: 20px; border-radius: 18px; }
  .member-home-hero h1 { font-size: 26px; }
  .member-balance { display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; gap: 7px 15px; padding: 16px; }
  .member-balance strong { grid-column: 2; grid-row: 1 / span 2; font-size: 43px; padding: 0; }
  .member-balance p { grid-column: 1 / -1; margin: 5px 0 0; padding-top: 10px; font-size: 11px; }
  .member-home-flow { font-size: 11px; gap: 7px; }
  #section-home .home-stats-grid { gap: 8px; }
  #section-home .home-stat-label { font-size: 11px; }
  .member-recent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .member-first-guide { grid-template-columns: 1fr; gap: 14px; }
  #section-create .ff2-create-v3 { padding: 18px 4px 110px; }
  #section-create .v3-step-card { padding: 18px; border-radius: 17px; }
  #section-create #userPhotoUpload { height: 300px; }
  #section-create .mix-banner { flex-wrap: wrap; }
  #section-create .mix-banner-info { min-width: 120px; }
  #section-create .v3-cta-bar { bottom: 88px; padding: 15px; }
}
@media (max-height:520px) { #section-create .v3-cta-bar { position: static; } }
/* Gallery and wardrobe: one visual rhythm, full garments, compact actions. */
.member-page:not(.modal-open):not(.ff2-modal-open):has(:is(#section-looks,#section-closet).active) { overflow:visible !important; }
.member-page:has(:is(#section-looks,#section-closet).active) .ff2-content { overflow:visible !important; }
:is(#section-looks,#section-closet) { min-width:0; color:#f3edf9; }
:is(#section-looks,#section-closet,#closetModal,#closetItemViewModal) * { box-sizing:border-box; }
#section-looks .ff2-looks, #section-closet .closet-wrapper { max-width:1120px; margin:0 auto; padding:28px; border:1px solid #373041; border-radius:22px; background:#16131e; box-shadow:none; }
#section-looks .ff2-looks-head, #section-closet .closet-page-header { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
#section-looks .ff2-h2, #section-closet .closet-page-title { margin:0 0 8px; font:700 28px/1.2 Inter,sans-serif; letter-spacing:-.7px; color:#f3edf9; }
#section-looks .ff2-muted, #section-closet .closet-page-sub { margin:0; font-size:14px; line-height:1.6; color:#bfb3cb; }
#section-looks .ff2-looks-compare, #section-closet .closet-page-add, #closetModal .ff2-btn-primary, #closetViewUseBtn { width:auto; min-height:44px; padding:11px 18px; border:1px solid #9b72cb; border-radius:11px; background:var(--gradient-brand); color:#fff; box-shadow:none; font:600 14px/1.4 Inter,sans-serif; flex:none; }
#section-looks .ff2-looks-filters-wrap { margin:0 0 24px; padding:0; background:none; border:0; }
#section-looks #looksFilters { display:flex; flex-wrap:wrap; gap:8px; overflow:visible; }
#section-looks .look-filter-pill { min-height:44px; padding:10px 15px; border:1px solid #403648; border-radius:10px; background:#211b2b; color:#cbbfd7; font:500 13px/1.4 Inter,sans-serif; white-space:nowrap; }
#section-looks .look-filter-pill.is-active { border-color:#a37dc8; background:#3c2853; color:#f7efff; box-shadow:none; }
#section-looks .ff2-looks-hint { margin:14px 0 0; color:#bfb3cb; font-size:12px; }
#section-looks #looks-grid, #section-closet #closetItemsContainer { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:0; }
#section-looks .look-card, #section-closet .closet-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #403648; border-radius:16px; background:#211b2b; box-shadow:none; cursor:pointer; transition:border-color .15s,background .15s; }
#section-looks .look-card:hover, #section-closet .closet-card:hover { border-color:#9b72cb; transform:none; }
#section-looks .look-card-image-wrap, #section-closet .closet-thumb { position:relative; width:100%; height:auto !important; aspect-ratio:3/4 !important; margin:0; border-radius:0; overflow:hidden; background:#100e17; }
#section-looks .look-card-image-wrap img, #section-closet .closet-thumb img { display:block; width:100%; height:100% !important; object-fit:contain !important; object-position:center; transform:none !important; }
#section-looks .look-card-image-wrap { padding:0 !important; background:#100e17 !important; }
#section-looks .look-card-info, #section-closet .closet-info { display:flex; flex-direction:column; flex:1; gap:10px; padding:16px; }
#section-looks .look-card-title, #section-closet .closet-name { margin:0; font-size:15px; line-height:1.5; font-weight:600; color:#f3edf9; overflow-wrap:anywhere; }
#section-looks .look-card-meta, #section-closet .closet-meta { margin:0; font-size:12px; line-height:1.5; color:#bfb3cb; overflow-wrap:anywhere; }
#section-closet .btn-use-in-creation { margin-top:auto; min-height:44px; width:100%; padding:10px; border:1px solid #665078; border-radius:9px; background:#32253f; color:#eadcf7; font:600 13px/1.4 Inter,sans-serif; }
#section-looks .look-compare-check { width:44px; height:44px; }
#section-looks .look-card.is-selected { border-color:#bd9be0; outline:2px solid #bd9be0; outline-offset:2px; }
#section-looks .ff2-looks-empty, #section-closet :is(.closet-empty,.home-closet-empty) { grid-column:1/-1; padding:36px 24px; border:1px dashed #63506e; border-radius:16px; background:#1c1626; text-align:center; }
#section-looks .ff2-looks-empty .ff2-btn { width:auto; min-height:44px; margin:20px auto 0; background:var(--gradient-brand); box-shadow:none; }
#section-closet .home-closet-empty { display:flex; flex-direction:column; align-items:center; gap:16px; color:#cbbfd7; }
#section-closet .home-closet-empty button { min-height:44px; padding:10px 18px; border:1px solid #9b72cb; border-radius:10px; color:#fff; background:var(--gradient-brand); }
#section-closet .closet-stats { gap:24px; padding:16px 20px; margin-bottom:24px; background:#211b2b; border:1px solid #403648; border-radius:13px; }
#section-closet .closet-stat { display:flex; flex-direction:row; align-items:center; gap:10px; flex:0 1 auto; min-width:90px; padding:0; background:none; border:0; border-radius:0; text-align:left; }
#section-closet .closet-stat-num { font-size:24px; color:#d0bce5; }
#section-closet .closet-stat-label { font-size:12px; color:#bfb3cb; }
#section-closet .closet-stat:has(#closetStatUsed) { display:none; } /* No usage count is supplied by the API. */
#section-closet .closet-tips { margin-top:28px; }
#section-closet .closet-tip { background:#211b2b; border-color:#403648; padding:18px; }
#section-closet .closet-tip-text span { color:#bfb3cb; font-size:13px; line-height:1.6; }
#closetModal .closet-modal-card, #closetItemViewModal .modal-container { width:min(560px,calc(100vw - 32px)); max-height:calc(100dvh - 48px); overflow-y:auto; overscroll-behavior:contain; border:1px solid #63506e; border-radius:20px; padding:26px; background:#1b1625; box-shadow:0 24px 80px #0009; }
#closetModal .closet-modal-close { min-width:44px; min-height:44px; color:#eadcf7; }
#closetModal :is(.closet-label,.closet-field-label) { color:#ded0e9; font-size:13px; }
#closetModal .closet-input { min-height:46px; background:#100e17; border:1px solid #63506e; color:#f3edf9; border-radius:10px; font-size:16px; }
#closetModal .closet-category-btns { display:flex; flex-wrap:wrap; gap:8px; }
#closetModal .closet-cat-btn { min-height:52px; flex:1 1 82px; background:#211b2b; border:1px solid #63506e; border-radius:10px; color:#d6c7e2; }
#closetModal .closet-cat-btn.selected { border-color:#bd9be0; background:#3c2853; color:#fff; }
#closetModal #closetPreviewBox { border:1px dashed #8d6ea5; border-radius:12px; background:#100e17; cursor:pointer; }
#closetModal .closet-modal-card { background:#1b1625 !important; padding:24px !important; }
#closetModal .member-modal-title { padding-right:44px; font-size:22px; text-align:left; }
#closetModal .member-modal-subtitle { text-align:left; color:#bfb3cb; font-size:13px; line-height:1.6; }
#closetModal .closet-form { display:flex; flex-direction:column; gap:18px !important; }
#closetModal .member-form-group, #closetModal .closet-category-selector { margin:0 !important; gap:6px; }
#closetModal .closet-input { height:46px !important; min-height:46px !important; padding:10px 12px !important; border-radius:10px !important; background:#100e17 !important; }
#closetModal .closet-cat-btn { padding:10px !important; min-height:60px !important; height:auto !important; border-radius:10px !important; background:#211b2b !important; }
#closetModal .closet-cat-btn.selected { background:#3c2853 !important; border-color:#bd9be0 !important; }
#closetModal #closetPreviewImage, #closetItemViewModal #closetViewImg { object-fit:contain !important; }
#closetItemViewModal .closet-view-img-wrap { height:min(42dvh,380px); background:#100e17; border-radius:12px; }
#closetItemViewModal .closet-view-actions { display:flex; flex-wrap:wrap; gap:10px; }
#closetItemViewModal .closet-view-actions button { min-height:44px; border-radius:10px; padding:12px 16px; }
#closetItemViewModal .modal-close-btn { min-width:44px; min-height:44px; border:1px solid #63506e; border-radius:10px; color:#eadcf7; background:#211b2b; }
:is(#section-looks,#section-closet,#closetModal,#closetItemViewModal) :focus-visible { outline:3px solid #d0bce5 !important; outline-offset:4px; }
.member-page:has(:is(#section-looks,#section-closet).active), :is(#closetModal,#closetItemViewModal) { scrollbar-color:#736080 #17131e; scrollbar-width:thin; }
.member-page:has(:is(#section-looks,#section-closet).active) *, :is(#closetModal,#closetItemViewModal) * { scrollbar-color:#736080 #17131e; scrollbar-width:thin; }
@media (max-width:767px) {
  #section-looks .ff2-looks, #section-closet .closet-wrapper { padding:20px 14px 110px; border:0; border-radius:0; background:transparent; }
  #section-looks .ff2-looks-head, #section-closet .closet-page-header { align-items:flex-start; flex-wrap:wrap; gap:16px; }
  #section-looks .ff2-h2, #section-closet .closet-page-title { font-size:26px; }
  #section-looks #looks-grid, #section-closet #closetItemsContainer { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #section-looks .look-card-info, #section-closet .closet-info { padding:12px; }
  #section-closet .closet-tips-grid { grid-template-columns:1fr; }
  #closetModal .closet-modal-card, #closetItemViewModal .modal-container { padding:20px; max-height:calc(100dvh - 24px); }
}
@media (prefers-reduced-motion:reduce) { :is(#section-looks,#section-closet) * { animation:none !important; transition:none !important; } }
@media (prefers-reduced-motion:reduce) {
  #section-home *, #section-create * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Brand identity: the same vivid pink and violet used by Plan, Club and Shop. */
.member-eyebrow { color:#f5a7d5; }
.member-balance { border-color:#b44fff66; background:linear-gradient(155deg,#301a3b,#17101f); }
.member-balance strong { color:#ff83c4; }
#section-home .home-stat-icon { color:var(--color-accent-pink); }
#section-looks .look-filter-pill.is-active { background:#ff3fa41f; border-color:var(--color-accent-pink); color:#ffd7ed; }
#section-closet .btn-use-in-creation { background:#ff3fa417; border-color:#ff3fa46b; color:#ffd7ed; }
#closetModal .closet-cat-btn.selected { background:#ff3fa425 !important; border-color:var(--color-accent-pink) !important; }
.club-feed-more { margin-top:16px; min-height:44px; }
.club-total-label { color:#d9c9e5; font-size:13px; margin:0 0 16px; }

.club-points-rules { font-size:12px; line-height:1.7; color:#d9c9e5; margin:12px 0 0; }

/* Home and help share the member typography and brand palette. */
.member-help-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 0; border: 0; background: none; color: #e0bedb; font: 500 12px var(--font-main); cursor: pointer; }
.member-help-link:hover { color: var(--color-accent-pink); }
.member-recent-status p { margin: 5px 0 0; }
.member-activity { margin: 0 0 24px; border-top: 1px solid #3b293e; }
.member-activity > summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 10px 0; list-style: none; color: #cdbcd6; font-size: 13px; cursor: pointer; }
.member-activity > summary::-webkit-details-marker { display: none; }
.member-activity > summary i { font-size: 11px; transition: transform .15s; }
.member-activity[open] > summary i { transform: rotate(180deg); }
.member-help-wrap { max-width: 1080px; margin: auto; padding: 28px 22px 110px; }
.member-help-header { max-width: 640px; margin-bottom: 30px; }
.member-help-header h1 { margin: 0 0 14px; color: #f6f1fd; font: 700 clamp(27px,3vw,38px)/1.15 var(--font-main); letter-spacing: -.04em; }
.member-help-header > p:not(.member-eyebrow), .member-help-demo p { color: #bfb4cd; font-size: 14px; line-height: 1.7; }
.member-help-primary, .member-help-secondary { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 46px; padding: 10px 17px; border-radius: 10px; font: 600 13px var(--font-main); cursor: pointer; }
.member-help-primary { border: 0; color: #fff; background: var(--gradient-brand); }
.member-help-secondary { border: 1px solid #65415d; background: #24172a; color: #f0dbe9; }
.member-help-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 0 0 24px; }
.member-help-steps li { display: flex; gap: 16px; padding: 23px; border: 1px solid #423048; background: #17121f; border-radius: 16px; }
.member-help-number { display: flex; align-items: center; justify-content: center; flex: 0 0 38px; height: 38px; border: 1px solid #713954; background: #ff3fa40c; color: #ff8ac7; border-radius: 11px; font-size: 13px; font-weight: 600; }
.member-help-steps h2, .member-help-demo h2 { margin: 3px 0 10px; color: #eee3f3; font-size: 17px; line-height: 1.4; }
.member-help-steps p { margin: 0; color: #bfb1c9; font-size: 13px; line-height: 1.8; }
.member-help-demo { display: grid; gap: 22px; padding: 24px; border: 1px solid #68405a; border-radius: 18px; background: radial-gradient(ellipse at top right,#ff3fa412,transparent 70%),#17111e; }
.member-help-demo > div:first-child { max-width: 550px; }
#helpVideoPanel { max-width: 600px; width: 100%; margin: auto; }
#helpVideoPanel[hidden], #helpVideoError[hidden] { display: none; }
#helpVideo { display: block; width: 100%; max-height: 500px; object-fit: contain; background: #08080f; border-radius: 12px; }
#helpVideoError a { color: #ff9bd0; text-decoration: underline; }
.member-help-note { color: #ab9ab7; font-size: 12px; line-height: 1.7; margin: 20px 0 0; }
#smartUpsellModal .smart-upsell-option { width: 100%; color: inherit; font-family: var(--font-main); text-align: left; }
#smartUpsellModal .smart-upsell-option-name { text-transform: none; letter-spacing: 0; }
@media(max-width: 600px) { .member-help-steps { grid-template-columns: 1fr; } .member-help-wrap { padding: 22px 16px 110px; } .member-help-steps li, .member-help-demo { padding: 20px 17px; } }

/* Shop: same framing, type scale and controls as Looks and Closet. */
.member-page:has(#section-achadinhos.active) .ff2-content { overflow: visible !important; }
#section-achadinhos { max-width: 1120px; margin: 0 auto; padding: 28px 22px 110px; color: #f3edf9; font-family: var(--font-main); }
#section-achadinhos .ff2-card { border: 0; padding: 0; background: transparent; box-shadow: none; }
#section-achadinhos .achad-header { text-align: left; margin: 0 0 24px; }
#section-achadinhos .achad-title { margin: 0 0 12px; font-size: clamp(27px,3vw,36px); line-height: 1.15; letter-spacing: -.04em; background: none; color: #f6f1fd; -webkit-text-fill-color: currentColor; }
#section-achadinhos .achad-subtitle { margin: 0; color: #bfb4cd; font-size: 14px; line-height: 1.7; }
.shop-source-switch { display: inline-flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; padding: 5px; border: 1px solid #483046; border-radius: 13px; background: #17121e; }
.shop-source-switch button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 15px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #bfb1c9; font: 500 13px var(--font-main); cursor: pointer; }
.shop-source-switch button[aria-pressed=true] { color: #ffe1f0; border-color: #8d3a68; background: #ff3fa414; }
.shop-selection-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 18px; }
.shop-selection-head p { margin: 0; color: #bfb1c9; font-size: 13px; line-height: 1.6; }
#shopResultCount { flex-shrink: 0; color: #d6bdd1; font-size: 12px; }
#section-achadinhos .achad-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; overflow: visible; }
#section-achadinhos .achad-filter { min-height: 44px; padding: 9px 13px; border: 1px solid #483448; border-radius: 10px; background: #211927; color: #cebed8; font: 500 12px var(--font-main); box-shadow: none; }
#section-achadinhos .achad-filter.active { color: #ffe5f2; border-color: #b74481; background: #ff3fa41a; box-shadow: none; }
#achadinhos-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
#section-achadinhos .achad-card { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 1px solid #453047; border-radius: 16px; background: #1b1522; box-shadow: none; overflow: hidden; }
#section-achadinhos .achad-card:hover { transform: none; border-color: #925575; box-shadow: none; }
#section-achadinhos .achad-card-img-wrap { width: 100%; height: auto; aspect-ratio: 3/4; flex-shrink: 0; border-radius: 0; background: #f7f5f5; }
#section-achadinhos .achad-card-img { width: 100%; height: 100%; display: block; object-fit: contain; padding: 8px; }
#section-achadinhos .achad-card-placeholder { height: 100%; color: #795f78; background: #211927; }
#section-achadinhos .achad-card-body { display: flex; flex-direction: column; flex: 1; padding: 15px; gap: 8px; }
.shop-seller { margin: 0; color: #b9a7c2; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
#section-achadinhos .achad-card-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; margin: 0; color: #f0e7f4; font-size: 13px; line-height: 1.55; font-weight: 600; }
#section-achadinhos .achad-card-price { margin: 3px 0 7px; color: #f1d9e9; font-size: 18px; font-weight: 600; background: none; -webkit-text-fill-color: currentColor; }
#section-achadinhos .achad-card-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
#section-achadinhos .achad-btn-closet, #section-achadinhos .achad-btn-buy { display: flex; justify-content: center; align-items: center; gap: 7px; width: 100%; min-height: 44px; padding: 10px 8px; border-radius: 9px; font: 600 12px var(--font-main); text-decoration: none; box-shadow: none; }
#section-achadinhos .achad-btn-closet { border: 0; background: var(--gradient-brand); color: #fff; }
#section-achadinhos .achad-btn-buy { border: 1px solid #5a3c54; background: transparent; color: #dfc8dc; }
.shop-disclosure { color: #b7a4bf; font-size: 12px; line-height: 1.7; margin: 24px 0 0; }
#shopPartnersPanel[hidden], #shopCuratedPanel[hidden], #closetImportStatus[hidden], #closetImportRetry[hidden], #closetLoadStatus[hidden] { display: none; }
.shop-partners-state { padding: 38px 26px; border: 1px solid #57354e; border-radius: 18px; background: radial-gradient(ellipse at top right,#ff3fa410,transparent 70%),#19121f; }
.shop-partners-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; color: #ffa0d1; background: #ff3fa414; font-size: 20px; }
.shop-partners-state h3 { margin: 0 0 14px; font-size: 23px; letter-spacing: -.025em; }
.shop-partners-state > p:not(.member-eyebrow) { max-width: 520px; color: #c1b0ca; font-size: 14px; line-height: 1.7; }
.shop-empty-action { min-height: 44px; border: 1px solid #79516e; padding: 10px 14px; border-radius: 10px; background: #ff3fa412; color: #f4d6eb; font: 500 13px var(--font-main); cursor: pointer; }
#section-achadinhos .achad-empty { grid-column: 1/-1; padding: 36px 20px; color: #beacc9; border: 1px dashed #573a53; border-radius: 16px; background: #19131f; }
.closet-import-status { padding: 11px 13px; border: 1px solid #593c55; border-radius: 10px; color: #dbc8df; font-size: 12px; line-height: 1.6; }
.closet-import-status[data-state=error] { border-color: #a05d66; color: #f2c7cd; }
#closetPreviewImage { object-fit: contain !important; }
#closetForm button:disabled { opacity: .55; cursor: not-allowed; }
#section-achadinhos :is(button,a):focus-visible, #closetForm button:focus-visible { outline: 3px solid #e4a8d2; outline-offset: 3px; }
@media(min-width:1400px) { #achadinhos-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width:800px) { #achadinhos-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } }
@media(max-width:600px) { #section-achadinhos { padding: 22px 16px 110px; } .shop-selection-head { align-items: flex-start; } #section-achadinhos .achad-card-body { padding: 12px 10px; } .shop-source-switch button { padding: 9px 11px; font-size: 12px; } #section-achadinhos .achad-btn-closet, #section-achadinhos .achad-btn-buy { font-size: 11px; gap: 4px; } }

@media(max-width:600px) {
 #section-achadinhos .achad-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; scroll-snap-type: x proximity; }
 #section-achadinhos .achad-filters::-webkit-scrollbar { display: none; }
 #section-achadinhos .achad-filter { flex: 0 0 auto; scroll-snap-align: start; }
}
