/* incubator + altar */
.inc-root, .alt-root { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px; padding: 4px 8px 6px; }
.inc-tabs { display: flex; gap: 6px; justify-content: center; flex-shrink: 0; }
.inc-tab { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--gold); background: rgba(255,255,255,.8); font: 900 14px var(--font); color: var(--ink-2); cursor: pointer; }
.inc-tab.on { background: linear-gradient(180deg, #ffc4da, var(--pink)); color: #fff; text-shadow: var(--outline); }
.inc-podwrap { position: relative; flex-shrink: 0; height: 170px; display: flex; align-items: center; justify-content: center; }
.inc-pod { position: relative; width: 104px; height: 160px; border-radius: 52px; border: 5px solid var(--gold); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.75), rgba(220,235,255,.35) 50%, rgba(255,255,255,.55));
  box-shadow: 0 0 18px rgba(255,230,150,.9), 0 0 40px rgba(190,160,255,.5), inset 0 0 18px rgba(255,255,255,.8); }
.inc-liquid { position: absolute; left: -10%; right: -10%; bottom: 0; height: 40%; opacity: .85; transition: height .5s, background .5s; animation: inc-slosh 3s ease-in-out infinite; border-radius: 40% 40% 0 0 / 14% 14% 0 0; }
@keyframes inc-slosh { 0%, 100% { transform: translateX(-4px) rotate(-1deg); } 50% { transform: translateX(4px) rotate(1deg); } }
.inc-shine { position: absolute; left: 12px; top: 14px; width: 12px; height: 70px; border-radius: 8px; background: rgba(255,255,255,.7); filter: blur(1px); }
.inc-sil { position: absolute; left: 50%; bottom: 22%; width: 46px; height: 80px; margin-left: -23px; border-radius: 50% 50% 40% 40%; background: radial-gradient(circle at 50% 30%, #fff, rgba(255,255,255,.2)); animation: pulse 1.6s ease-in-out infinite; filter: blur(2px); }
.inc-bub { position: absolute; bottom: 0; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.8); animation: inc-rise 3s linear infinite; }
@keyframes inc-rise { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-120px); opacity: 0; } }
.inc-cap { position: absolute; left: 50%; width: 124px; height: 16px; margin-left: -62px; border-radius: 10px; background: linear-gradient(180deg, var(--gold-l), var(--gold)); box-shadow: 0 2px 4px rgba(90,30,60,.4); }
.inc-cap.t { top: 2px; } .inc-cap.b { bottom: 2px; }
.inc-side { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; align-items: flex-end; width: 124px; }
.inc-sidel { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 100px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.inc-timer { font-size: 20px; font-weight: 900; color: #fff; text-shadow: var(--outline); }
.inc-prog { width: 100%; height: 12px; border-radius: 8px; background: rgba(93,47,72,.3); overflow: hidden; border: 2px solid #fff; }
.inc-prog > i { display: block; height: 100%; background: linear-gradient(90deg, #ffb3cf, var(--gold-l)); }
.inc-pill { min-height: 44px; padding: 0 10px; border-radius: 22px; border: 2px solid var(--gold); background: rgba(255,255,255,.9); font: 900 13px var(--font); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.inc-pill[disabled] { opacity: .5; }
.inc-big { font-size: 20px !important; animation: pulse 1.2s ease-in-out infinite; }
.inc-scroll { flex: 1; min-height: 0; padding: 8px; border-radius: 18px; background: rgba(255,248,240,.88); border: 2px solid var(--gold-l); display: flex; flex-direction: column; gap: 6px; }
.inc-hint { font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: center; padding: 6px; }
.inc-chip { display: flex; align-items: center; gap: 4px; min-height: 48px; padding: 2px 4px; border-radius: 14px; background: #fff; border: 2px solid var(--gold-l); flex-shrink: 0; }
.inc-chip img { width: 38px; height: 38px; object-fit: contain; }
.inc-nm { flex: 1; min-width: 0; font-size: 13px; font-weight: 900; line-height: 1.15; overflow: hidden; }
.inc-sq { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--gold); background: radial-gradient(circle at 35% 30%, #fff, #ffe3ec); font: 900 20px var(--font); color: var(--pink-d); cursor: pointer; padding: 0; }
.inc-sq[disabled] { opacity: .4; }
.inc-qty { min-width: 22px; text-align: center; font-size: 16px; font-weight: 900; }
.inc-addbtn { min-height: 44px; border-radius: 14px; border: 2px dashed var(--gold); background: rgba(255,255,255,.6); font: 900 14px var(--font); color: var(--pink-d); cursor: pointer; flex-shrink: 0; }
.inc-info { font-size: 13px; font-weight: 800; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--ink); }
.inc-dir { font-size: 14px; font-weight: 900; color: var(--pink-d); }
.inc-res { padding: 6px; border-radius: 12px; text-align: center; font-size: 14px; font-weight: 900; color: #7a5200; background: linear-gradient(100deg, #ffe9a0, #fff7d6, #ffe08a, #fff7d6); background-size: 300% 100%; animation: inc-shim 2.4s linear infinite; border: 2px solid var(--gold); }
@keyframes inc-shim { to { background-position: -300% 0; } }
.inc-tog { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border-radius: 14px; border: 2px solid var(--lav); background: #f4eeff; font: 800 13px var(--font); color: var(--ink); cursor: pointer; text-align: left; flex-shrink: 0; }
.inc-tog.on { background: #e1d4ff; box-shadow: 0 0 8px var(--lav); }
.inc-tog img { width: 30px; height: 30px; }
.inc-btns { display: flex; gap: 4px; justify-content: center; flex-shrink: 0; }
.inc-btns .btn { padding: 0 8px; font-size: 14px; }
.inc-gold { width: 20px; height: 20px; vertical-align: middle; }
.inc-pcell { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.inc-dots { display: flex; gap: 2px; height: 8px; }
.inc-dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; }
.inc-pot { font-size: 11px; font-weight: 800; color: var(--lav-d); }
.inc-rec { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 14px; background: #fff; border: 2px solid var(--gold-l); }
.inc-rec.un { opacity: .6; }
.inc-recicons { display: flex; gap: 2px; flex-wrap: wrap; margin-top: 2px; }
.inc-recicons img { width: 26px; height: 26px; }
.inc-reveal .ui-body { align-items: center; text-align: center; position: relative; }
.inc-rv { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.inc-rv .rv-p { animation: inc-grow .8s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes inc-grow { 0% { transform: scale(.1); opacity: 0; filter: brightness(4); } 100% { transform: scale(1); opacity: 1; filter: none; } }
.rv-name { font-size: 22px; font-weight: 900; color: #fff; text-shadow: var(--outline); }
.rv-tier { font-size: 14px; font-weight: 900; color: var(--pink-d); }
.rv-new { position: absolute; left: 6px; top: 4px; padding: 2px 10px; border-radius: 999px; background: #ff4a6e; color: #fff; font-weight: 900; font-size: 14px; border: 2px solid #fff; transform: rotate(-10deg); animation: pop-in .4s .6s both; }
.rv-guide { position: absolute; right: 0; bottom: 0; width: 72px; height: 72px; background-repeat: no-repeat; pointer-events: none; }
.rv-guide-img { position: absolute; right: 0; bottom: 0; width: 64px; pointer-events: none; }
.inc-reveal .ui-btns { flex-wrap: nowrap; gap: 4px; }
.inc-reveal .ui-btns .btn { padding: 0 6px; font-size: 14px; }

/* altar */
.alt-root { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.alt-root::-webkit-scrollbar { display: none; }
.alt-stage { position: relative; flex-shrink: 0; height: 200px; display: flex; justify-content: space-between; align-items: center; padding: 0 6px; }
.alt-circle { position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; margin: -95px 0 0 -95px; pointer-events: none; }
.alt-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px dashed var(--gold); box-shadow: 0 0 16px rgba(255,220,140,.9), inset 0 0 16px rgba(190,160,255,.7); animation: alt-spin 14s linear infinite; }
.alt-ring.r2 { inset: 22px; border: 3px dotted var(--lav); animation-direction: reverse; animation-duration: 9s; }
.alt-ring.r3 { inset: 48px; border: 2px solid rgba(255,255,255,.8); animation-duration: 20s; }
@keyframes alt-spin { to { transform: rotate(360deg); } }
.alt-ped { position: relative; z-index: 2; width: 128px; height: 180px; border: 0; padding: 0; border-radius: 20px; background: radial-gradient(ellipse at 50% 100%, rgba(255,240,200,.85), rgba(255,255,255,.25) 70%); border-bottom: 5px solid var(--gold); cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: var(--font); }
.alt-plus { font-size: 56px; font-weight: 900; color: #fff; text-shadow: var(--outline); }
.alt-pname { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 900; color: #fff; text-shadow: var(--outline); }
.alt-rest { position: absolute; top: 2px; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 900; color: #fff; text-shadow: var(--outline); background: rgba(109,84,201,.7); border-radius: 10px; }
.alt-card { padding: 8px; border-radius: 18px; background: rgba(255,248,240,.9); border: 2px solid var(--gold-l); display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.alt-rules { font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: center; }
.alt-cost { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 16px; font-weight: 900; }
.alt-err { text-align: center; font-size: 13px; font-weight: 900; color: var(--pink-d); }
.alt-act { display: flex; justify-content: center; flex-shrink: 0; padding-bottom: 4px; }
