.selene-app{--button:#8564a9;--hover:#572685;font-family:var(--selene-body-font,inherit);font-size:var(--selene-text-size,14px);box-sizing:border-box;width:100%;min-width:0;align-self:stretch;justify-self:stretch}
/* Themes can center the direct children too. Keep their widths independent of the gallery. */
#selene-app.selene-app>.selene-header,#selene-app.selene-app>.selene-status,#selene-app.selene-app>.selene-layout,#selene-app.selene-app>.selene-footer{width:100%;min-width:0;box-sizing:border-box}
.selene-app[data-step=jewel][data-category=charms] .selene-grid,.selene-app[data-step=jewel][data-category=beads] .selene-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.selene-app[data-step=jewel][data-category=charms] .selene-card>span,.selene-app[data-step=jewel][data-category=beads] .selene-card>span,.selene-app .selene-card-ring>span{max-width:100%;overflow-wrap:anywhere}
.selene-app button,.selene-app .selene-primary{border:0;border-radius:0;font-size:var(--selene-button-size,14px);background:var(--button);color:#fff}
.selene-app button:hover{background:var(--hover)}
.selene-app .selene-card,.selene-app .selene-card:hover,.selene-app .selene-steps button{color:var(--ink)}
.selene-app .selene-primary,.selene-app .selene-primary[aria-pressed=true]{background:var(--button);border:0;color:#fff}
.selene-app .selene-primary:hover{background:var(--hover)}
.selene-app .selene-footer[data-mode=avatar]{justify-content:flex-end}
.selene-app .selene-palette .selene-swatches button{background:var(--swatch)}
.selene-app .selene-palette .selene-swatches button:hover{background:var(--swatch);box-shadow:0 0 0 3px var(--purple)}
.selene-app .selene-no-chain,.selene-app .selene-no-chain:hover,.selene-app .selene-no-chain:active{color:#8564a9}
.selene-app .selene-flip-toggle[aria-pressed=true],.selene-app .selene-flip-toggle[aria-pressed=true]:hover,.selene-app .selene-flip-toggle[aria-pressed=true]:active{color:#8564a9;background:#5729850d}
.selene-app .selene-header h2{font-family:var(--selene-heading-font,Georgia);font-size:var(--selene-title-size,30px)!important}
.selene-app .selene-category-title{font-family:var(--selene-category-font,system-ui)!important;font-size:var(--selene-category-size,36px)!important}
.selene-app[data-step=avatar] .selene-category-title{font-size:var(--selene-category-size,36px)!important}
.selene-app .selene-controls h3,.selene-app .selene-welcome-choices h3{font-family:var(--selene-heading-font,Georgia)}
.selene-app .selene-card,.selene-app .selene-controls p,.selene-app .selene-color{font-size:var(--selene-text-size,14px)!important}
.selene-app .selene-card small,.selene-app .selene-footer span,.selene-app .selene-steps button{font-size:calc(var(--selene-text-size,14px)*.8)}
.selene-app .selene-steps button{font-size:var(--selene-step-size,calc(var(--selene-text-size,14px)*.8));overflow-wrap:anywhere}
.selene-app .selene-toolbar{flex-wrap:wrap}
.selene-app .selene-toolbar .selene-link{font-size:var(--selene-link-size,11px);max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* Navigation links keep their text visible instead of inheriting filled button states. */
.selene-app .selene-toolbar .selene-link,.selene-app .selene-toolbar .selene-link:hover,.selene-app .selene-toolbar .selene-link:focus,.selene-app .selene-toolbar .selene-link:active{background:transparent;color:#8564a9}
.selene-app .selene-toolbar .selene-link:hover{text-decoration-thickness:2px}
.selene-app .selene-avatars button,.selene-app .selene-create-avatar>img{background:var(--selene-avatar-background,transparent)}
.selene-app .selene-background-options{margin-top:20px;border-top:1px solid #8564a933;padding-top:12px;font-size:var(--selene-text-size,14px)}
.selene-background-options summary{cursor:pointer;color:#8564a9;min-height:32px}
.selene-background-type{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:14px 0}
.selene-background-type select{max-width:100%;min-height:44px;color:#572985;background:#edeae2;border:1px solid #8564a9;padding:6px;font:inherit}
.selene-background-type input[type=range]{accent-color:#8564a9;max-width:100%;min-height:44px}
.selene-app .selene-background-reset,.selene-app .selene-background-reset:hover,.selene-app .selene-background-reset:focus,.selene-app .selene-background-reset:active{background:transparent;color:#8564a9;white-space:normal;min-height:44px}
.selene-app .selene-controls .selene-section-title{font-size:var(--selene-subtitle-size,25px)}
.selene-status:empty{display:none}
.selene-app .selene-round-icon{overflow:hidden}
.selene-app .selene-round-icon .selene-provided-icon{transition:transform .18s ease}
.selene-app .selene-round-icon:after{content:'';position:absolute;inset:0;border-radius:50%;background:#572685;opacity:0;pointer-events:none;transition:opacity .18s ease}
@media(hover:hover){.selene-app .selene-round-icon:hover .selene-provided-icon{transform:scale(1.08)}.selene-app .selene-round-icon:hover:after{opacity:.15}}
.selene-app .selene-card img,.selene-app .selene-type-choice img,.selene-create-avatar>img,.selene-avatars img{transition:transform .18s ease}
@media(hover:hover){.selene-app .selene-card:hover img,.selene-app .selene-type-choice:hover img,.selene-avatars button:hover img{transform:scale(1.045)}}
.selene-app .selene-card{border:2px solid transparent;border-radius:0}
.selene-app .selene-avatars button{border-radius:50%;background:transparent}
.selene-app .selene-card.is-selected{border:2px solid #8564a9;background:transparent}
@media(hover:hover){.selene-app .selene-card:hover,.selene-app .selene-type-choice:hover,.selene-app .selene-avatars button:hover{background:#5726851a}}
.selene-app .selene-type-choice:active img{transform:scale(1.035)}
.selene-app[data-step=type] .selene-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;padding:35px 70px}
.selene-app .selene-type-choice,.selene-app .selene-type-choice:hover,.selene-app .selene-type-choice:active{padding:24px;background:transparent;border:0;border-radius:0}
@media(hover:hover){.selene-app .selene-type-choice:hover{background:#5726851a}}
.selene-type-choice img{width:100%;max-height:280px;object-fit:contain}
.selene-app .selene-card-clothing img{width:100%;height:150px;object-fit:contain}
.selene-app .selene-card-chain img{display:block;width:100%;max-width:360px;height:auto;max-height:none;aspect-ratio:var(--selene-chain-preview-aspect,2);object-fit:contain;justify-self:center}
.selene-app .selene-skin-swatches{gap:14px}
.selene-app .selene-skin-swatches button{border:0;width:40px;height:40px;min-width:40px;box-shadow:none;background:var(--swatch)}
.selene-app .selene-skin-swatches button[aria-pressed=true]{outline:2px solid #8564a9;outline-offset:3px}
.selene-color input[type=color]{width:42px;height:42px;padding:0;border:0;border-radius:50%;overflow:hidden;background:transparent}
.selene-color input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.selene-color input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}
.selene-color input[type=color]::-moz-color-swatch{border:0;border-radius:50%}
.selene-vitiligo-option{display:flex;align-items:center;gap:12px;margin:18px 0}
.selene-app button.selene-vitiligo-swatch{width:42px;height:42px;min-width:42px;padding:0;border:0;border-radius:50%;background:radial-gradient(ellipse at 24% 28%,var(--vitiligo-color) 0 18%,transparent 19%),radial-gradient(ellipse at 68% 65%,var(--vitiligo-color) 0 23%,transparent 24%),var(--avatar-skin)}
.selene-app .selene-vitiligo-swatch[aria-pressed=true]{outline:2px solid #8564a9;outline-offset:3px}
.selene-blush-toggle{display:flex;align-items:center;gap:9px;margin:18px 0}
.selene-blush-toggle input{appearance:none;width:21px;height:21px;min-width:21px;border:2px solid #8564a9;border-radius:50%;margin:0;display:grid;place-items:center;background:transparent}
.selene-blush-toggle input:checked:after{content:'✓';color:#572685;font-size:16px;font-weight:800;line-height:1}
.selene-flow-arrows{display:flex;justify-content:space-between;gap:30px;margin-top:24px}
.selene-category-heading{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:8px;margin:16px 0 24px}
.selene-app .selene-category-heading .selene-category-title{min-width:0;margin:0!important}
.selene-app .selene-category-heading .selene-flow-arrow{padding:0;width:48px;height:48px}
.selene-app .selene-flow-arrow,.selene-app .selene-flow-arrow:hover{background:transparent;border:0;padding:5px 16px;color:#8564a9;font-size:34px;min-width:48px;min-height:48px}
.selene-app .selene-flow-arrow:hover{color:#572685}
.selene-app .selene-decoration-target,.selene-app .selene-decoration-target:hover,.selene-app .selene-decoration-target:active{position:absolute;pointer-events:auto;padding:0;min-width:0;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;z-index:1}
.selene-app .selene-decoration-target[draggable=true],.selene-app .selene-point[draggable=true]{cursor:grab}
.selene-app .selene-decoration-target.is-dragging,.selene-app .selene-point.is-dragging{cursor:grabbing;outline:1px dashed #8564a9;outline-offset:2px}
.selene-app .selene-point[data-placeable=true]{z-index:2}
.selene-app .selene-point[data-occupied=false]{z-index:2}
.selene-decoration-editor{padding:14px;background:#8564a915;border-radius:12px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:15px}
.selene-decoration-editor>strong{width:100%}
.selene-decoration-editor .selene-metal{margin:0;gap:12px}
.selene-decoration-editor .selene-metal button{width:38px;height:38px;min-width:38px}
.selene-app[data-step=avatar],.selene-app[data-step=jewel]{height:var(--selene-view-height,90dvh);min-height:400px;display:flex;flex-direction:column;overflow:hidden}
.selene-app[data-step=avatar] .selene-layout,.selene-app[data-step=jewel] .selene-layout{flex:1;min-height:0;grid-template-columns:var(--selene-scene-side,minmax(0,1.4fr)) minmax(0,1fr)}
.selene-app .selene-preview{position:relative;top:0;align-self:start}
.selene-app .selene-controls{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8564a9 transparent;max-height:100%;height:100%;padding-bottom:25px}
.selene-app[data-step=welcome] .selene-controls,.selene-app[data-step=type] .selene-controls{height:auto;max-height:none;overflow:visible;overscroll-behavior:auto;flex:none}
.selene-app .selene-stage-frame{width:100%}
.selene-app .selene-footer{position:relative;flex:0 0 auto}
.selene-app .selene-header,.selene-app .selene-status{flex:0 0 auto}
@media(min-width:761px){
 .selene-app[data-step=avatar] .selene-layout,.selene-app[data-step=jewel] .selene-layout{grid-template-rows:minmax(0,1fr);column-gap:48px;overflow:hidden}
 .selene-app[data-step=avatar] .selene-header,.selene-app[data-step=jewel] .selene-header{padding-top:8px;padding-bottom:3px}
 .selene-app[data-step=avatar] .selene-header h2,.selene-app[data-step=jewel] .selene-header h2{margin-bottom:6px}
 .selene-app[data-step=avatar] .selene-footer,.selene-app[data-step=jewel] .selene-footer{height:max(76px,calc(var(--selene-text-size,14px)*1.2 + 54px),calc(var(--selene-button-size,14px)*1.5 + 44px));padding:8px 24px}
 .selene-app[data-step=avatar] .selene-status,.selene-app[data-step=jewel] .selene-status{display:block;height:18px;min-height:18px;margin-top:0;margin-bottom:0;font-size:11px;line-height:16px;overflow:auto}
 .selene-app .selene-controls{scrollbar-gutter:stable}
 .selene-app .selene-controls>*{flex-shrink:0}
 .selene-app[data-step=avatar] .selene-toolbar[hidden]{display:flex!important;visibility:hidden}
 .selene-app[data-step=avatar] .selene-controls,.selene-app[data-step=jewel] .selene-controls{padding-left:14px;padding-right:14px}
 .selene-app .selene-category-heading{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;margin-top:10px;margin-bottom:16px}
 .selene-app .selene-category-heading .selene-flow-arrow{width:44px;height:44px;min-width:44px}
 .selene-app .selene-card-chain img{max-width:200px}
 .selene-app[data-step=jewel][data-category=base] .selene-card-base img{max-width:300px}
 .selene-app .selene-card-charm img,.selene-app .selene-card-bead img,.selene-app .selene-card-composition img{height:84px}
 .selene-app .selene-ring-options img{height:48px}
 .selene-app .selene-card-clothing img{height:128px}
 .selene-app[data-step=avatar] .selene-card-avatar img{height:110px;width:110px}
 .selene-app .selene-round-icon{width:clamp(48px,calc(var(--selene-scene-side)*.14),88px);height:clamp(48px,calc(var(--selene-scene-side)*.14),88px);min-width:0}
 .selene-app .selene-round-icon.is-current{width:clamp(62px,calc(var(--selene-scene-side)*.18),112px);height:clamp(62px,calc(var(--selene-scene-side)*.18),112px);min-width:0}
 .selene-app[data-step=avatar] .selene-round-icon{width:clamp(38px,calc(var(--selene-scene-side)*.13),78px);height:clamp(38px,calc(var(--selene-scene-side)*.13),78px);min-width:0}
 .selene-app[data-step=avatar] .selene-round-icon.is-current{width:clamp(48px,calc(var(--selene-scene-side)*.16),96px);height:clamp(48px,calc(var(--selene-scene-side)*.16),96px);min-width:0}
 .selene-app .selene-rail,.selene-app[data-step=avatar] .selene-rail{gap:clamp(8px,calc(var(--selene-scene-side)*.025),24px)}
}
@media(min-width:761px) and (max-width:1000px){
 .selene-app[data-step=avatar] .selene-layout,.selene-app[data-step=jewel] .selene-layout{column-gap:40px}
}
@media(max-width:760px){
 .selene-app .selene-toolbar .selene-link{font-size:var(--selene-link-size,10px)}
 .selene-app .selene-header{padding-top:9px}
 .selene-app .selene-header h2{font-size:calc(var(--selene-title-size,30px)*.8)!important;margin-bottom:5px}
 .selene-app .selene-category-title{font-size:calc(var(--selene-category-size,36px)*.78)!important}
 .selene-app[data-step=avatar] .selene-category-title{font-size:calc(var(--selene-category-size,36px)*.78)!important}
 .selene-app .selene-status{font-size:10px;min-height:0;margin:2px 0 4px}
 .selene-app .selene-layout{flex-direction:column}
 .selene-app .selene-preview{flex:0 0 auto;width:100%}
 .selene-app .selene-stage-frame{width:var(--selene-mobile-scene,250px);margin:0 auto}
 .selene-app .selene-rail,.selene-app[data-step=avatar] .selene-rail{position:relative;left:50%;transform:translateX(-50%);width:calc(var(--selene-app-width,100vw) - 24px);min-height:74px;gap:8px;padding:0 0 7px;margin-top:-18px}
 .selene-app .selene-round-icon{width:54px;height:54px;min-width:54px}
 .selene-app .selene-round-icon.is-current{width:70px;height:70px;min-width:70px}
 .selene-app[data-step=avatar] .selene-round-icon{width:48px;height:48px;min-width:48px}
 .selene-app[data-step=avatar] .selene-round-icon.is-current{width:59px;height:59px;min-width:59px}
 .selene-app .selene-controls{flex:1;width:100%;padding:6px 12px 24px}
 .selene-app .selene-footer{padding:8px 12px}
 .selene-app .selene-footer .selene-primary{font-size:calc(var(--selene-button-size,14px)*.9);padding:10px 15px}
 .selene-app .selene-total{font-size:20px}
 .selene-app .selene-skin-swatches{justify-content:center}
 .selene-app[data-step=type] .selene-controls{grid-template-columns:1fr;gap:12px;padding:20px}
 .selene-type-choice img{max-height:180px}
 .selene-app .selene-card-clothing img{height:110px}
 .selene-app .selene-palette{order:0}
 .selene-app .selene-palette summary{display:list-item}
}
@media(prefers-reduced-motion:reduce){.selene-app *{transition:none!important;scroll-behavior:auto!important}}
.selene-app{font-weight:var(--selene-body-weight,400);font-style:var(--selene-body-style,normal);text-transform:var(--selene-body-case,none)}
.selene-app button{font-family:var(--selene-button-font,inherit);font-weight:var(--selene-button-weight,inherit);font-style:var(--selene-button-style,normal);text-transform:var(--selene-button-case,none)}
.selene-app .selene-primary{font-family:var(--selene-button-font,inherit);font-weight:var(--selene-button-weight,650);font-style:var(--selene-button-style,normal);text-transform:var(--selene-button-case,none)}
.selene-app .selene-header h2{font-weight:var(--selene-heading-weight,400);font-style:var(--selene-heading-style,normal);text-transform:var(--selene-heading-case,uppercase)}
.selene-app .selene-controls h3{font-weight:var(--selene-heading-weight,400);font-style:var(--selene-heading-style,normal);text-transform:var(--selene-heading-case,none)}
.selene-app .selene-welcome-choices h3{font-weight:var(--selene-heading-weight,600)}
.selene-app .selene-controls .selene-category-title{font-weight:var(--selene-category-weight,650)!important;font-style:var(--selene-category-style,normal)!important;text-transform:var(--selene-category-case,none)}
.selene-app[data-step=avatar] .selene-category-title{font-weight:var(--selene-category-weight,450)!important}
.selene-app .selene-card{font-family:var(--selene-body-font,inherit);font-weight:var(--selene-body-weight,400);font-style:var(--selene-body-style,normal);text-transform:var(--selene-body-case,none)}
/* Keep the five entry choices visible on phones; other steps retain their existing layout. */
@media(max-width:760px),(max-width:1000px) and (max-height:760px) and (pointer:coarse){
 #selene-app.selene-app[data-step=welcome]{height:var(--selene-welcome-height,100svh);min-height:0;display:flex;flex-direction:column;overflow:visible}
 #selene-app.selene-app[data-step=welcome] .selene-header{padding:6px 12px 0;flex:none}
 #selene-app.selene-app[data-step=welcome] .selene-header h2{font-size:calc(var(--selene-title-size,30px)*.8)!important;line-height:1.15;margin:0 0 2px}
 #selene-app.selene-app[data-step=welcome] .selene-steps{gap:4px;flex-wrap:wrap}
 #selene-app.selene-app[data-step=welcome] .selene-steps button{min-height:44px;padding:6px 8px}
 #selene-app.selene-app[data-step=welcome] .selene-status{min-height:0;margin:1px 0 4px;font-size:10px;line-height:1.3;padding:0 12px}
 #selene-app.selene-app[data-step=welcome] .selene-status:empty{display:none}
 #selene-app.selene-app[data-step=welcome] .selene-layout{flex:1;min-height:0;display:block;padding:0 12px 8px}
 #selene-app.selene-app[data-step=welcome] .selene-controls{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;height:100%;max-height:none;min-height:0;padding:8px 8px max(12px,env(safe-area-inset-bottom));overflow:visible;overscroll-behavior:auto}
 #selene-app.selene-app[data-step=welcome] .selene-welcome-choices{display:flex;flex-direction:column;align-items:center;width:100%;max-width:520px;gap:16px;margin:0 auto}
 #selene-app.selene-app[data-step=welcome] .selene-welcome-choices>section:first-child{display:flex;flex-direction:column;align-items:center;gap:14px;min-width:0;width:100%}
 #selene-app.selene-app[data-step=welcome] .selene-welcome-choices h3{font-size:22px;line-height:1.2;margin:0;text-align:center}
 #selene-app.selene-app[data-step=welcome] .selene-avatars{width:auto;max-width:100%;display:grid;grid-template-columns:repeat(2,var(--selene-welcome-avatar-size,min(26vw,112px)));gap:24px;margin:0}
 #selene-app.selene-app[data-step=welcome] .selene-avatars button{width:var(--selene-welcome-avatar-size,min(26vw,112px));height:var(--selene-welcome-avatar-size,min(26vw,112px));min-width:44px;min-height:44px;padding:0;aspect-ratio:1}
 #selene-app.selene-app[data-step=welcome] .selene-avatars img{width:100%;height:100%;object-fit:contain}
 #selene-app.selene-app[data-step=welcome] .selene-welcome-choices .selene-or{display:block;font:14px/18px Georgia,serif!important;margin:0}
 #selene-app.selene-app[data-step=welcome] .selene-create-avatar{gap:12px;width:100%;min-width:0}
 #selene-app.selene-app[data-step=welcome] .selene-create-avatar>h3{display:none}
 #selene-app.selene-app[data-step=welcome] .selene-create-avatar>img{width:var(--selene-welcome-avatar-size,min(26vw,112px));height:var(--selene-welcome-avatar-size,min(26vw,112px));max-width:100%;object-fit:contain}
 #selene-app.selene-app[data-step=welcome] .selene-create-avatar .selene-primary{min-height:44px;padding:8px 16px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 #selene-app.selene-app[data-step=welcome][data-welcome-layout=row] .selene-welcome-choices{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:10px;max-width:800px;align-items:center}
}

/* Candidate preview: not included in the installable plugin. */
#selene-app .selene-toolbar-with-undo{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:center;gap:4px}
#selene-app .selene-toolbar-with-undo>.selene-link:first-child{justify-self:start}
#selene-app .selene-toolbar-with-undo>.selene-link:last-child{justify-self:end;text-align:right}
#selene-app .selene-undo,#selene-app .selene-undo:hover,#selene-app .selene-undo:focus,#selene-app .selene-undo:active{background:transparent;color:#8564a9;border:0;border-radius:0;box-shadow:none;width:44px;height:36px;min-height:36px;padding:0;font:30px/1 Arial,sans-serif;cursor:pointer;transform:none}
#selene-app .selene-undo:hover:not(:disabled){color:#572985}
#selene-app .selene-undo:focus-visible{outline:2px solid #8564a9;outline-offset:1px}
#selene-app .selene-undo:disabled{opacity:.35;cursor:default}
#selene-app[data-step=type] .selene-type-toolbar{grid-column:1/-1;display:flex;justify-content:flex-start;width:100%;padding:0;margin:0}
@media(max-width:760px){#selene-app .selene-undo{height:44px;min-height:44px;font-size:28px}#selene-app .selene-toolbar-with-undo{margin-bottom:0}#selene-app[data-step=type] .selene-type-toolbar .selene-link{font-size:11px}}

/* Match the surrounding page; keep floating price/description surfaces opaque. */
#selene-app.selene-app{--cream:var(--selene-site-background,#edeae2);background:transparent}
#selene-app .selene-preview,#selene-app .selene-controls{background:transparent}
#selene-app .selene-footer,#selene-app .selene-description-body{background:var(--cream)}
#selene-app .selene-toolbar-with-undo{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
#selene-app .selene-history{display:flex;align-items:center;justify-content:center;gap:2px}
/* Selection must not paint the larger invisible click area or enlarge the marker. */
#selene-app .selene-point,#selene-app .selene-point[aria-pressed=true]{background:transparent;border:0;box-shadow:none;outline:0}
#selene-app .selene-point:focus-visible:after{outline:1px solid var(--selene-marker-free-border,#8564a9);outline-offset:1px}
@media(max-width:760px){#selene-app[data-step=avatar][data-category=eyes] .selene-color,#selene-app[data-step=avatar][data-category=eyes] .selene-blush-toggle{margin:10px 0}}
#selene-app .selene-price-block{min-width:0;align-items:flex-start}
#selene-app .selene-jewelry-description{font-size:var(--selene-link-size,12px);max-width:100%;text-transform:none}
#selene-app .selene-jewelry-description>summary{cursor:pointer;color:#8564a9;line-height:1.4;padding:3px 0;overflow-wrap:anywhere}
#selene-app .selene-description-body{position:absolute;bottom:100%;left:0;right:0;max-height:min(34dvh,300px);padding:16px 20px;border-top:1px solid #8564a955;box-shadow:0 -5px 18px #57298512;overflow-y:auto;overscroll-behavior:contain;white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--selene-text-size,14px);line-height:1.6;color:var(--ink);text-align:left}
#selene-app[data-step=jewel][data-has-description=true] .selene-footer{height:auto;min-height:88px}
#selene-app[data-step=jewel][data-has-description=true] .selene-total{line-height:1.2}
@media(max-width:760px){#selene-app[data-step=jewel][data-has-description=true] .selene-footer{min-height:72px}#selene-app .selene-description-body{padding:14px 16px;max-height:32dvh}}

#selene-app .selene-save-image,#selene-app .selene-save-image:hover,#selene-app .selene-save-image:focus,#selene-app .selene-save-image:active{position:absolute;left:7px;top:7px;z-index:4;background:var(--cream);color:#8564a9;border:1px solid #8564a9;border-radius:0;box-shadow:none;padding:4px 6px;min-height:26px;font-size:10px;line-height:1.2;max-width:calc(100% - 14px)}#selene-app .selene-save-image:hover{color:#572985}#selene-app .selene-save-image:focus-visible{outline:2px solid #8564a9;outline-offset:2px}

#selene-app[data-step=avatar] .selene-footer{justify-content:flex-end}
