/* Client presentation based on the supplied Atelier de Séléné mockups. */
.selene-app .selene-palette {
  order: 0;
  width: 100%;
  margin-top: 8px;
}
.selene-app .selene-palette summary {
  display: list-item;
  font-size: 13px;
}
.selene-app .selene-palette .selene-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
  padding: 3px;
}
.selene-app .selene-palette .selene-swatches button {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #57298533;
}
.selene-app .selene-palette .selene-swatches button[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--purple);
}
.selene-app[data-step="jewel"][data-category="base"] .selene-gallery > .selene-grid {
  grid-auto-rows: 1fr;
}
.selene-app[data-step="jewel"][data-category="base"] .selene-card-base img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  justify-self: center;
}
.selene-gallery>.selene-grid{touch-action:pan-y}
@media(min-width:1001px){
  .selene-app .selene-layout{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);column-gap:76px}
  .selene-app .selene-controls{padding-left:20px;padding-right:20px}
}
@media(min-width:761px) and (max-width:1000px){
  .selene-app .selene-layout{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:64px}
  .selene-app .selene-controls{padding-left:12px;padding-right:12px}
}
.selene-app{--ink:#572985;--purple:#572985;--cream:#edeae2;background:var(--cream);max-width:1440px;margin:0 auto;border-radius:0;box-shadow:none;overflow:visible}
.selene-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.selene-header{padding:18px 24px 6px}.selene-eyebrow{display:none}.selene-header h2{text-transform:uppercase;font-size:28px;letter-spacing:.01em;margin-bottom:10px}.selene-steps{gap:18px}.selene-steps button{border:0!important;border-radius:0;padding:3px 0;background:transparent!important;font-size:11px;opacity:.7}.selene-steps button[aria-current=step]{text-decoration:underline;text-underline-offset:4px;opacity:1}.selene-status{font-size:11px;min-height:17px;margin:5px 0 8px}
.selene-layout{display:grid;grid-template-columns:minmax(0,1.6fr) 112px minmax(0,1fr);gap:0;padding:0;align-items:start}.selene-preview{top:12px}.selene-stage{border-radius:0;background:transparent}.selene-toolbar{padding:0 12px;margin:0 0 4px}.selene-app .selene-link{font-size:11px;color:var(--purple);text-underline-offset:3px}.selene-controls{padding:0 28px 22px;background:transparent;border-radius:0;max-height:none;overflow:visible;display:flex;flex-direction:column;min-width:0}.selene-category-title{font:650 clamp(28px,3.7vw,52px)/1.15 system-ui,sans-serif!important;color:var(--purple)!important;text-align:center;margin:30px 0 28px!important}.selene-app[data-step=avatar] .selene-category-title{font-weight:450!important;font-size:40px!important}
.selene-rail{display:flex;flex-direction:column;align-items:center;gap:24px;padding:115px 0 16px;position:sticky;top:0;z-index:3;min-width:0}.selene-app .selene-round-icon{display:block;position:relative;width:88px;height:88px;min-width:88px;padding:0;border:2px solid #572985;border-radius:50%;background:radial-gradient(circle at 32% 20%,#ab7ac5 0%,#8853aa 55%,#69348b 100%);box-shadow:inset 0 2px 8px #e1c2f35c,0 3px 6px #4c21501a;transition:width .15s,height .15s;isolation:isolate}.selene-app .selene-round-icon:hover{background:radial-gradient(circle at 32% 20%,#c18bd9,#8650aa 70%)}.selene-app .selene-round-icon.is-current{width:112px;height:112px;min-width:112px;border:3px solid #572985;background:radial-gradient(circle at 30% 20%,#ad7ecb,#793d9f 80%)}.selene-icon-picture{display:block;position:absolute;inset:11%;border-radius:50%;overflow:hidden;pointer-events:none}.selene-icon-picture>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.selene-icon-charms .selene-icon-picture{inset:17%}.selene-icon-chain .selene-icon-picture{inset:18% 6%}.selene-icon-base .selene-icon-picture{inset:0}.selene-icon-picture>.selene-icon-neck{width:130%;height:130%;max-width:none;left:-15%;top:-12%;object-fit:cover}.selene-icon-picture>.selene-icon-weave{left:-8%;top:62%;width:116%;height:23%;max-width:none}.selene-icon-picture>img.selene-bead-0{width:67%;height:67%;left:28%;top:0}.selene-icon-picture>img.selene-bead-1{width:62%;height:62%;left:0;top:35%}.selene-icon-picture>img.selene-bead-2{width:58%;height:58%;left:40%;top:45%}.selene-skin-gradient{inset:0;background:linear-gradient(90deg,#f2c7b4 5%,#c89578 45%,#75442d 80%)}.selene-eye-white{position:absolute;left:-4%;right:-4%;height:64%;top:18%;background:#fff;border-radius:50%;box-shadow:inset 0 4px 7px #32222c88;overflow:hidden}.selene-eye-iris{position:absolute;left:20%;top:-10%;width:64%;height:120%;background:radial-gradient(circle at 58% 42%,#a26439,#6f391f 68%,#2a1721 75%);border-radius:50%}.selene-eye-pupil{position:absolute;left:31%;top:29%;width:38%;height:42%;border-radius:50%;background:#2c1d25}.selene-eye-pupil:after{content:'';position:absolute;left:14%;top:4%;width:40%;height:34%;border-radius:50%;background:#fff}.selene-piercing-symbol{position:absolute;left:40%;top:20%;width:47%;height:55%;border:4px solid #d4d0ce;border-radius:50%;transform:rotate(-20deg)}
.selene-avatar-shortcuts{display:flex;gap:5px;align-self:flex-start;margin:0 -5px 6px}.selene-avatar-shortcuts button{width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent}.selene-avatar-shortcuts img{width:100%;height:100%;object-fit:contain;border-radius:50%}.selene-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;margin:0 0 12px}.selene-app .selene-card{border:1px solid transparent;border-radius:0;background:transparent;padding:7px 3px;font-size:14px;position:relative;gap:4px}.selene-app .selene-card:hover{background:#ffffff40}.selene-app .selene-card.is-selected{border:1px solid #572985;background:#5729850d}.selene-card img{height:100px}.selene-card small{font-size:11px;color:var(--ink)}.selene-app[data-category=base] .selene-gallery>.selene-grid,.selene-app[data-category=chain] .selene-gallery>.selene-grid{grid-template-columns:1fr;gap:4px}.selene-card-base,.selene-card-chain{display:grid!important;grid-template-columns:minmax(0,1fr) 45px;align-items:center;padding:2px!important}.selene-card-base img{height:74px;grid-column:1;grid-row:1}.selene-card-chain img{height:96px;grid-column:1;grid-row:1}.selene-app[data-step=jewel] .selene-card-base>span,.selene-card-chain>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.selene-card-base small,.selene-card-chain small{grid-column:2;grid-row:1;font-size:10px;white-space:nowrap}.selene-app .selene-ring-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.selene-ring-options img{height:54px}.selene-ring-options~.selene-metal{margin:4px 0 16px}.selene-ring-options~.selene-metal button{width:36px;height:36px;min-width:36px}.selene-no-chain{align-self:flex-end;border:0!important;background:transparent!important;font-size:12px!important;text-decoration:underline;padding:3px!important;margin-bottom:6px}.selene-placement-tip{font-size:11px!important;line-height:1.4;text-align:center;margin:0 0 14px!important}.selene-help{font-size:12px!important;background:#5729850d;padding:10px}
.selene-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 8px}.selene-app .selene-page-arrow{border:0;background:transparent;font-size:40px;font-weight:800;line-height:1;padding:0 8px;color:#572985;text-shadow:0 2px 3px #57298533;min-height:44px;min-width:44px}.selene-app .selene-page-arrow:hover{background:transparent;color:#572985}.selene-page-dots{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.selene-app .selene-page-dots button{width:9px;height:9px;min-width:9px;padding:0;border:0;background:#572985;border-radius:50%}.selene-app .selene-page-dots button[aria-current=page]{width:13px;height:13px;background:#572985}.selene-metal{justify-content:center;gap:28px;margin:18px 0 8px}.selene-app .selene-metal button{position:relative;width:64px;height:64px;min-width:64px;padding:0;font-size:0;border-radius:50%;background:transparent;border:2px solid transparent;overflow:hidden}.selene-metal button:before{position:absolute;inset:3px;width:auto;height:auto;margin:0;background:#eac14d;box-shadow:inset 2px 3px 5px #fff6;border-radius:50%}.selene-metal .selene-metal-silver:before{background:#aaa9ac}.selene-app .selene-metal button.is-selected{border:2px solid #572985;background:transparent}.selene-chosen-details{margin-top:12px;border-top:1px solid #57298526;padding-top:10px}.selene-chosen-details summary{font-size:12px;cursor:pointer}.selene-decoration-list li{font-size:12px}.selene-decoration-list button{font-size:11px;padding:5px 7px}
.selene-footer{background:var(--cream);padding:14px 24px;border-top:1px solid #57298526}.selene-footer .selene-primary{border-radius:5px;padding:12px 24px}.selene-total{font-size:24px}.selene-footer span{font-size:11px}
.selene-app[data-step=avatar] .selene-rail{gap:15px;padding-top:70px}.selene-app[data-step=avatar] .selene-round-icon{width:78px;height:78px;min-width:78px}.selene-app[data-step=avatar] .selene-round-icon.is-current{width:96px;height:96px;min-width:96px}.selene-app[data-step=avatar] .selene-card-avatar img{height:128px;width:128px;border-radius:50%}.selene-app[data-step=avatar] .selene-card-avatar span{font-size:12px}.selene-color{font-size:13px}.selene-color input{width:60px;height:50px}.selene-controls>.selene-primary{align-self:center;margin-top:24px;border-radius:5px}.selene-app[data-step=welcome] .selene-preview,.selene-app[data-step=type] .selene-preview{display:none}.selene-app[data-step=welcome] .selene-layout,.selene-app[data-step=type] .selene-layout{display:block}.selene-app[data-step=welcome] .selene-controls,.selene-app[data-step=type] .selene-controls{padding:20px 60px 60px}.selene-app[data-step=welcome] .selene-header h2{font-size:clamp(36px,5vw,70px);margin:22px 0 8px}.selene-welcome-choices{display:grid;grid-template-columns:1fr 1fr;gap:100px;text-align:center;max-width:1050px;width:100%;margin:0 auto}.selene-welcome-choices h3{font:600 30px system-ui,sans-serif;margin-bottom:35px}.selene-welcome-choices .selene-or{display:none}.selene-avatars{grid-template-columns:repeat(2,1fr);gap:20px;max-width:400px;margin:auto}.selene-avatars button{padding:0;border:0;background:transparent}.selene-create-avatar{display:flex;flex-direction:column;align-items:center;gap:30px}.selene-create-avatar>img{width:260px;height:260px;border-radius:50%;object-fit:contain}.selene-create-avatar .selene-primary{border-radius:5px}.selene-app[data-step=type] .selene-controls{align-items:center;gap:15px}.selene-app[data-step=type] .selene-card{width:min(600px,100%);display:flex!important;flex-direction:column;border:1px solid #572985!important;padding:20px!important}.selene-app[data-step=type] .selene-card>span{font-size:22px}.selene-app[data-step=type] .selene-card img{height:100px}.selene-app[data-step=type] .selene-card small{display:none}
@media(max-width:1000px) and (min-width:761px){.selene-layout{grid-template-columns:minmax(0,1.35fr) 88px minmax(0,1fr)}.selene-controls{padding:0 15px 18px}.selene-app .selene-round-icon{width:68px;height:68px;min-width:68px}.selene-app .selene-round-icon.is-current{width:86px;height:86px;min-width:86px}.selene-rail{gap:20px;padding-top:95px}.selene-category-title{font-size:34px!important}.selene-card img{height:76px}.selene-card-base img{height:60px}.selene-card-chain img{height:74px}.selene-welcome-choices{gap:40px}}
@media(max-width:760px){.selene-app{margin:0;overflow:visible}.selene-header{padding:18px 12px 7px}.selene-header h2{font-size:25px;margin-bottom:8px}.selene-steps{gap:16px}.selene-steps button{font-size:10px}.selene-status{font-size:10px;margin:3px 0 7px;min-height:14px}.selene-layout{display:flex;flex-direction:column;padding:0 12px 12px;gap:0}.selene-preview{width:100%;position:relative;top:auto;padding:0;background:transparent}.selene-toolbar{padding:0 2px;margin-bottom:3px}.selene-toolbar .selene-link{font-size:10px;padding:5px 2px}.selene-stage{width:100%;max-width:none;max-height:none;aspect-ratio:1;border-radius:0}.selene-rail,.selene-app[data-step=avatar] .selene-rail{position:relative;top:auto;align-self:stretch;flex-direction:row;justify-content:center;align-items:center;gap:8px;padding:0 26px 10px;margin-top:-24px;min-height:90px}.selene-app[data-step=jewel] .selene-rail{flex-direction:row}.selene-app .selene-round-icon,.selene-app[data-step=avatar] .selene-round-icon{width:62px;height:62px;min-width:62px;flex:0 0 auto}.selene-app .selene-round-icon.is-current,.selene-app[data-step=avatar] .selene-round-icon.is-current{width:82px;height:82px;min-width:82px}.selene-app[data-step=avatar] .selene-rail{gap:5px;padding-left:0;padding-right:0}.selene-app[data-step=avatar] .selene-round-icon{width:54px;height:54px;min-width:54px}.selene-app[data-step=avatar] .selene-round-icon.is-current{width:66px;height:66px;min-width:66px}.selene-controls{width:100%;max-height:none;border-radius:0;padding:8px 14px 16px;overflow:visible;background:transparent}.selene-avatar-shortcuts{display:none}.selene-category-title{font-size:29px!important;margin:5px 0 18px!important}.selene-app[data-step=avatar] .selene-category-title{font-size:28px!important}.selene-grid{gap:15px 22px}.selene-card img{height:84px}.selene-app .selene-card{font-size:12px}.selene-card-base img{height:65px}.selene-card-chain img{height:72px}.selene-card-base small,.selene-card-chain small{font-size:9px}.selene-pager{margin-top:10px}.selene-metal{margin-top:10px;gap:30px}.selene-app .selene-metal button{width:52px;height:52px;min-width:52px}.selene-palette{order:-1;width:100%;padding:0!important;background:transparent!important}.selene-palette summary{display:none}.selene-palette .selene-swatches{margin:0 0 18px;gap:12px}.selene-palette .selene-swatches button{width:34px;height:34px;min-width:34px}.selene-placement-tip{font-size:10px!important;margin-bottom:13px!important}.selene-chosen-details{margin-top:15px}.selene-footer{padding:11px 14px;background:var(--cream);gap:8px}.selene-footer .selene-primary{font-size:12px;padding:12px 16px}.selene-total{font-size:21px}.selene-footer span{display:none}.selene-app[data-step=welcome] .selene-controls,.selene-app[data-step=type] .selene-controls{padding:10px 24px 40px}.selene-app[data-step=welcome] .selene-header h2{font-size:34px;margin:16px 0 8px}.selene-welcome-choices{display:flex;flex-direction:column;gap:22px}.selene-welcome-choices h3{font-size:24px;margin:14px 0 24px}.selene-welcome-choices .selene-or{display:block;font:42px Georgia,serif;margin:0}.selene-avatars{max-width:330px;grid-template-columns:repeat(2,1fr);gap:18px}.selene-create-avatar{gap:24px}.selene-create-avatar>h3{display:none}.selene-create-avatar>img{width:220px;height:220px}.selene-app[data-step=avatar] .selene-card-avatar img{height:110px;width:110px}.selene-color{font-size:12px}.selene-app .selene-point{width:26px;height:26px;min-width:26px}}
