:root{
  --ix-emma-v3-border:rgba(255,255,255,.12);
  --ix-emma-v3-soft:rgba(255,255,255,.055);
  --ix-emma-v3-muted:rgba(255,255,255,.62);
  --ix-emma-v3-text:rgba(255,255,255,.95);
}
#emma-debug,
#ixImageLabResult,
#ixV3CaseBtn,
[data-emma-debug],
.ix-emma-v3-debug{
  display:none!important;
}
.ix-emma-v3-message .text{
  width:100%;
}
.ix-emma-v3-shell{
  width:min(100%,920px);
  margin-top:10px;
}
.ix-emma-v3-kicker{
  color:var(--ix-emma-v3-muted);
  font-size:11px;
  font-weight:750;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.ix-emma-v3-heading{
  color:var(--ix-emma-v3-text);
  font-size:clamp(18px,2vw,24px);
  font-weight:780;
  letter-spacing:-.025em;
  line-height:1.35;
}
.ix-emma-v3-lead{
  color:rgba(255,255,255,.72);
  font-size:14px;
  line-height:1.75;
  margin-top:8px;
}
.ix-emma-v3-progress{
  height:3px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  margin:16px 0 0;
}
.ix-emma-v3-progress>i{
  display:block;
  width:42%;
  height:100%;
  border-radius:inherit;
  background:rgba(255,255,255,.8);
  animation:ixEmmaV3Progress 1.15s ease-in-out infinite alternate;
}
@keyframes ixEmmaV3Progress{to{transform:translateX(135%)}}
.ix-emma-v3-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
.ix-emma-v3-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid var(--ix-emma-v3-border);
  border-radius:22px;
  padding:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
  transition:border-color .2s ease,transform .2s ease,background .2s ease;
  cursor:pointer;
  outline:none;
}
.ix-emma-v3-card:hover,
.ix-emma-v3-card:focus-visible{
  border-color:rgba(255,255,255,.27);
  transform:translateY(-1px);
}
.ix-emma-v3-card.is-selected{
  border-color:rgba(255,255,255,.72);
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035));
}
.ix-emma-v3-card-index{
  color:rgba(255,255,255,.42);
  font-size:11px;
  letter-spacing:.12em;
}
.ix-emma-v3-card h3{
  color:var(--ix-emma-v3-text);
  font-size:17px;
  margin:8px 0 6px;
  line-height:1.35;
}
.ix-emma-v3-card p{
  color:rgba(255,255,255,.73);
  font-size:13px;
  line-height:1.65;
  margin:0;
}
.ix-emma-v3-meta{
  display:grid;
  gap:8px;
  margin-top:14px;
}
.ix-emma-v3-meta-row{
  display:grid;
  grid-template-columns:78px 1fr;
  gap:8px;
  font-size:12px;
  line-height:1.55;
}
.ix-emma-v3-meta-row span:first-child{
  color:rgba(255,255,255,.4);
}
.ix-emma-v3-meta-row span:last-child{
  color:rgba(255,255,255,.78);
}
.ix-emma-v3-swatches{
  display:flex;
  gap:6px;
  margin-top:13px;
}
.ix-emma-v3-swatch{
  width:22px;
  height:22px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 0 0 1px rgba(0,0,0,.18) inset;
}
.ix-emma-v3-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.ix-emma-v3-button{
  appearance:none;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:10px 14px;
  background:rgba(255,255,255,.07);
  color:#fff;
  font:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.ix-emma-v3-button:hover{background:rgba(255,255,255,.12)}
.ix-emma-v3-button:disabled{opacity:.45;cursor:default}
.ix-emma-v3-button.primary{
  background:#fff;
  color:#070707;
  border-color:#fff;
}
.ix-emma-v3-render{
  margin-top:14px;
  border:1px solid var(--ix-emma-v3-border);
  border-radius:22px;
  overflow:hidden;
  background:#090909;
}
.ix-emma-v3-render img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
}
.ix-emma-v3-render-body{padding:14px}
.ix-emma-v3-status{
  color:rgba(255,255,255,.68);
  font-size:13px;
  line-height:1.65;
}
.ix-emma-v3-variants{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.ix-emma-v3-variants img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:15px;
  border:1px solid var(--ix-emma-v3-border);
}
.ix-emma-v3-login{
  display:inline-flex;
  margin-top:10px;
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px;
}
@media(max-width:720px){
  .ix-emma-v3-grid{grid-template-columns:1fr}
  .ix-emma-v3-meta-row{grid-template-columns:70px 1fr}
}
