@font-face{font-family:'TSF Inter Multiplier';src:url('/assets/Inter-Bold-s13.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
/* No per-phase numeric geometry. The failure caption is out of the number flow. */
.forge-stage .forge-stage-label,.forge-stage.phase-CRASHED .forge-stage-label{top:calc(max(8px,var(--result-clearance,8px)) + 6px)!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;padding:0!important;min-width:0!important;width:max-content;max-width:calc(100% - 28px);display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:top .24s cubic-bezier(.2,.7,.2,1);animation:none!important;filter:none!important}
.forge-stage .forge-stage-label strong,.forge-stage.phase-CRASHED .forge-stage-label strong{font-family:'TSF Inter Multiplier',Inter,sans-serif!important;font-weight:700!important;font-synthesis:none!important;font-size:clamp(54px,4.9vw,70px)!important;line-height:1.1!important;letter-spacing:0!important;font-variant-numeric:tabular-nums;display:block!important;width:auto!important;white-space:nowrap;animation:none!important;filter:none!important}
.forge-stage .forge-stage-label strong>span,.forge-stage .forge-stage-label strong>small,.forge-stage.phase-CRASHED .forge-stage-label strong>span,.forge-stage.phase-CRASHED .forge-stage-label strong>small{font:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;display:inline!important;vertical-align:baseline!important;margin:0!important;padding:0!important}
.forge-stage .forge-stage-label>span{display:none!important;position:absolute;top:calc(100% + 4px);left:50%;transform:translateX(-50%);width:max-content!important;max-width:calc(100vw - 40px);font-size:13px!important;line-height:1.4!important;text-align:center;white-space:normal}
.forge-stage.phase-CRASHED .forge-stage-label>span{display:block!important}
.forge-stage .forge-preparing{top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;padding:0!important;width:clamp(200px,23vw,330px);max-width:calc(100% - 40px);height:7px;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible}
.forge-stage .forge-preparing>span{display:none!important}
.forge-stage .forge-preparing>.prepare-track{height:7px;margin:0!important;background:rgba(98,58,121,.64)!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:999px;overflow:hidden}
.forge-stage .forge-preparing>.prepare-track>i{background:linear-gradient(90deg,#751aa8,#a137ce)!important;border:0!important;box-shadow:none!important;border-radius:inherit}
.forge-stage .preparation-logo{position:absolute;bottom:calc(100% + 18px);left:50%;transform:translateX(-50%);display:block;width:66.666667%;max-width:100%;height:auto;max-height:min(140px,22vh);object-fit:contain;object-position:bottom;pointer-events:none;background:transparent;border:0;box-shadow:none}
/* A single opacity layer above artwork, below every HUD element. */
.forge-stage>.stage-preparation-shade{position:absolute;inset:0;z-index:1;background:#08030d;opacity:0;pointer-events:none;transition:opacity .30s ease;will-change:opacity}
.forge-stage.phase-WAITING>.stage-preparation-shade{opacity:.22}
.forge-stage .forge-craft{display:none!important}
.preparation-logo-preview{padding:20px;max-width:340px;background:repeating-conic-gradient(#45374f 0% 25%,#31283a 0% 50%) 50%/16px 16px;border-radius:12px;margin:12px 0}
.preparation-logo-preview img{display:block;width:100%;height:auto;max-height:150px;object-fit:contain}
@media(prefers-reduced-motion:reduce){.forge-stage .forge-stage-label,.forge-stage.phase-CRASHED .forge-stage-label{transition-duration:.12s}.forge-stage>.stage-preparation-shade{transition-duration:.12s}}
