/* Branded login and loader slides (gallery.js kind "live", startup-shots.js, RULEBOOK bug 21). Each is the native window at its
   own size, built from the suite's own metrics: the login from NinjaTrader's LogonControl as Axium skins it, the loader from
   AxiumStartupBootstrap.BuildCard. Like a dialog slide it sits on its product window, dimmed, scaled down to fit and never up,
   and it ends at its accent outline: transparent past the rounded corners, no capture background.
   Theme colors: --canvas Background, --control Control, --line Border, --ink Text, --accent Accent (theme-boot.js);
   --startup-brand, --startup-ink and --startup-close come from startup-shots.js. */
.gallery-stage[data-kind=live]{background:var(--panel) var(--slide-backdrop) center/cover no-repeat}
.gallery-stage[data-kind=live]::before{content:"";position:absolute;inset:0;background:color-mix(in srgb,var(--canvas) 70%,transparent)}
.gallery-stage[data-kind=live]>img{display:none}
.startup-shot{position:absolute;left:50%;top:50%;translate:-50% -50%;scale:var(--startup-fit,1);box-sizing:border-box;border:2px solid var(--accent);border-radius:14px;background:var(--canvas);color:var(--startup-ink,var(--ink));font:12px/16px "Segoe UI",system-ui,-apple-system,sans-serif;text-align:left;pointer-events:none;user-select:none}
.startup-shot svg{display:block}

/* Login: the owned 64 px caption (AX mark 76x32 at 18 px, close button 36x32), then the 376 px native form, fields empty. */
.startup-login{width:414px;height:604px;box-shadow:0 18px 48px rgb(0 0 0/.45)}
.startup-caption{height:64px;margin-top:-2px;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 16px}
.startup-login .startup-ax{width:76px;height:32px;fill:var(--startup-ink,var(--ink));filter:drop-shadow(0 0 7px color-mix(in srgb,var(--accent) 62%,transparent))}
.startup-close{width:36px;height:32px;box-sizing:border-box;border:2px solid var(--accent);border-radius:8px;background:var(--control);display:grid;place-items:center}
.startup-close svg{width:13px;height:13px;fill:none;stroke:var(--startup-close,var(--accent));stroke-width:2;stroke-linecap:round}
.startup-form{width:376px;margin:4px auto 0;display:flex;flex-direction:column}
.startup-logo{height:36px;margin:8px 0 16px;display:grid;place-items:center}
.startup-wordmark{width:260px;height:28px;fill:var(--startup-brand,var(--accent))}
.startup-label{margin:20px 20px 0;font-size:11px;line-height:15px;font-weight:600}
.startup-field{margin:1px 20px 0;height:32px;box-sizing:border-box;border:1px solid var(--line);border-radius:6px;background:var(--control)}
.startup-password{height:34px;display:flex;align-items:center;justify-content:flex-end;padding-right:7px}
.startup-password svg{width:20px;height:20px;fill:var(--ink)}
.startup-button{margin:40px 20px 0;height:41px;box-sizing:border-box;border:1px solid var(--accent);border-radius:7px;background:var(--control);color:var(--ink);font-weight:600;display:flex;align-items:center;justify-content:center;gap:4px}
.startup-links{margin-top:22px;display:flex;justify-content:center;gap:9px;color:var(--accent);font-weight:600}
.startup-or{margin-top:44px;text-align:center}
.startup-social{margin-top:36px;height:34px;border-color:var(--line);font-weight:400}
.startup-social+.startup-social{margin-top:16px}
.startup-social svg{width:18px;height:18px}
.startup-apple svg{fill:var(--ink)}

/* Loader: the 428x120 card (440x132 window, 6 px frame margin) with the accent glow, the animated orb 115x100 at 22 px, the
   NinjaTrader loading mark (56 px box) above "Loading workspace" and its three dots pulsing left to right, the AX mark top right. */
.startup-loader{width:428px;height:120px;box-shadow:0 0 8px color-mix(in srgb,var(--accent) 55%,transparent),0 18px 48px rgb(0 0 0/.45)}
.startup-orb{position:absolute;left:22px;top:50%;translate:0 -50%;width:115px;height:100px}
.startup-orb svg{width:100%;height:100%}
.startup-center{position:absolute;inset:8px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.startup-spinner{width:56px;height:56px}
.startup-status{margin-top:6px;font-size:13px;line-height:17px;font-weight:600;white-space:nowrap}
.startup-status i{font-style:normal;margin-left:4px;opacity:.25;animation:startup-dot 1.2s linear infinite backwards}
.startup-status i:first-child{margin-left:3px}
.startup-status i:nth-child(2){animation-delay:.2s}
.startup-status i:nth-child(3){animation-delay:.4s}
@keyframes startup-dot{0%{opacity:.25}25%{opacity:1}50%,100%{opacity:.25}}
.startup-loader .startup-ax{position:absolute;top:12px;right:16px;width:36px;height:15px;fill:var(--startup-ink,var(--ink));filter:drop-shadow(0 0 3.5px color-mix(in srgb,var(--accent) 62%,transparent))}
/* Motion off (the site's motion switch or reduced motion): the dots hold; startup-shots.js holds the mark's finished frame. */
html.brand-motion-paused .startup-status i{animation:none;opacity:1}
/* The gallery's pause holds them too, in the page and in the phone viewer: its button travels with the frame. RULEBOOK bug 26. */
.gallery-stage:has(>[data-slide-pause][aria-pressed="true"]) .startup-status i{animation:none;opacity:1}

/* The login and loader card on every product page (RULEBOOK 50) shows both windows as its pictures. Each sits in a see-through
   panel over the page (owner, 11-07), laid out at its own size and shown smaller at rest (startup-shots.js sets
   --startup-rest). With a real mouse it grows to its own size in place, moved only as far as it takes to stay on screen
   (--startup-dx, --startup-dy), and the card gloss crosses it, like the AX EVO picture. The window never takes the pointer,
   so the hover stays with its well. A phone runs the gloss when the picture reaches the reading area (site.js). */
/* Each tile is two panels (owner, 11-07): the picture in a see-through panel, the info panels' own edge and corners over their
   grey at 10%, and 8 px below it the title, pill and text in an info panel like the ones in the cards above. */
.startup-tiles>li.startup-tile{display:flex;flex-direction:column;gap:8px;min-width:0;padding:0}
.startup-tile>.ax-layer{flex:1 1 auto;padding:14px 16px}
.startup-art{position:relative;z-index:1;flex:none;height:300px;box-sizing:border-box;border:1px solid var(--layer-edge);border-radius:var(--layer-radius);background:color-mix(in srgb,var(--layer) 10%,transparent)}
.startup-art.scroll-panel-active{box-shadow:none!important}
/* The card keeps its theme fill and only the two picture panels are see-through (owner, 11-07: first a clear box over the grey
   card read as grey, then a fully clear card lost its frame). The fill is drawn by ::before through a mask with a rounded hole
   under each picture panel (--startup-holes, startup-shots.js), so the page and its moving art show there and nowhere else.
   Without the script the mask is none and the card is whole. */
.product-specs.product-startup{position:relative;isolation:isolate;background:transparent}
.product-specs.product-startup::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:calc(var(--panel-radius,18px) - 1px);background:var(--panel);-webkit-mask-image:var(--startup-holes,none);mask-image:var(--startup-holes,none);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.startup-art .startup-shot{scale:var(--startup-rest,.4);transition:scale .28s cubic-bezier(.22,.61,.36,1),translate .28s cubic-bezier(.22,.61,.36,1),box-shadow .2s}
html[data-axium-motion=playing] .startup-art .startup-shot{transition:scale .28s cubic-bezier(.22,.61,.36,1),translate .28s cubic-bezier(.22,.61,.36,1),box-shadow .2s!important}
@media(hover:hover) and (pointer:fine) and (min-width:801px){
 .startup-art:hover{z-index:6}
 .startup-art:hover .startup-shot{scale:1;translate:calc(-50% + var(--startup-dx,0px)) calc(-50% + var(--startup-dy,0px));transition-delay:.1s!important;box-shadow:0 26px 64px rgb(0 0 0/.62),0 0 28px color-mix(in srgb,var(--accent) 30%,transparent)}
 html[data-axium-motion=playing] .startup-art:hover .card-gloss::before{animation:card-gloss 1.2s linear .16s}
}
/* On a phone the tiles stack: more room between them than between a picture and its text keeps each pair together. */
@media(max-width:760px){.startup-art{height:260px}.ax-tiles.startup-tiles{row-gap:20px}}
