/* Card scenes (js/stargo-motion-atmos-cards.js): the homepage's third scenario card and the contact page's
   quote card. The dark warm palette of the product screens, drawn in the band between the card's mark and its
   quote; the card's own blur keeps the lower half for a soft glow only. */

/* ---------- hosts: they fill the box the photograph filled, under the card's washes and text ---------- */
.sgk-host { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; background: radial-gradient(120% 70% at 50% 0%, #2a1f16 0%, #18130f 50%, #0e0b09 100%); }
/* Mono's toss leaves the third card turned over; js/stargo-card-upright.js turns its picture back over */
.testimonials-card._03 .sgk-host.sgp-upright { transform: scaleY(-1); }

.sgk { color: #f4eee8; }
.sgk-glow { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 75%; background: radial-gradient(50% 50% at 50% 50%, rgba(147, 130, 255, .22), rgba(147, 130, 255, .05) 60%, transparent 75%); pointer-events: none; }
.sgk-head { position: absolute; display: flex; align-items: center; gap: 7px; height: 20px; font-size: 13px; white-space: nowrap; }
.sgk-head b { font-weight: 600; color: rgba(248, 241, 231, .9); }
.sgk-mark { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(140deg, #b1abff, #9382ff); }
.sgk-live { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #c2befd; }
.sgk-live i { width: 6px; height: 6px; border-radius: 50%; background: #a9a0ff; }
.sgk-tag { position: static; transform: none; margin-left: auto; font-size: 12px; color: rgba(244, 238, 232, .5); letter-spacing: .02em; }
.sgk-tag.sgk-corner { position: absolute; margin: 0; }
/* the contact card's lower half is not blurred any more: the request's steps are drawn there, sharp, and a blur
   over a moving picture would be re-rendered every frame */
.stargo-contact-page .testimonials-card .work-overlay.first.half { display: none; }
.sgk-request .sgk-glow { bottom: auto; top: -35%; }

/* =================== BOARD =================== */
.sgk-box { position: absolute; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 9px; border-radius: 10px; background: rgba(21, 17, 14, .78); border: 1px solid rgba(255, 236, 220, .1); white-space: nowrap; transition: border-color .4s, background .4s; }
.sgk-box b { font-size: 13px; font-weight: 600; color: rgba(248, 241, 231, .78); }
.sgk-box span { font-size: 12px; color: rgba(244, 238, 232, .45); }
.sgk-box.is-on { border-color: rgba(169, 160, 255, .7); background: rgba(36, 31, 67, .85); }
.sgk-box.is-on b { color: #fff4ea; }
.sgk-box.is-on span { color: #d5d4f8; }
.sgk-box.is-done { border-color: rgba(70, 192, 253, .32); }
.sgk-box.is-done span { color: #b9ecc6; }
.sgk-box.is-gate.is-on { background: #9382ff; border-color: #b1abff; }
.sgk-box.is-gate.is-on b, .sgk-box.is-gate.is-on span { color: #fff; }
.sgk-arrow { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -4px; border-top: 1.4px solid rgba(255, 236, 220, .35); border-right: 1.4px solid rgba(255, 236, 220, .35); transform: rotate(45deg); }
.sgk-magnet { position: absolute; left: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9d8f2, #9584ff 45%, #612ddc 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, .5); opacity: 0; }
.sgk-board.is-wide .sgk-box { padding: 0 7px; border-radius: 9px; gap: 1px; }
.sgk-board.is-wide .sgk-box b { font-size: 13px; }

/* =================== REQUEST =================== */
.sgk-steps { position: absolute; display: grid; grid-template-columns: repeat(4, 1fr); }
.sgk-steps::before, .sgk-fill { content: ""; position: absolute; top: 5px; left: 12.5%; right: 12.5%; height: 1px; background: rgba(255, 236, 220, .16); }
.sgk-fill { background: #a9a0ff; transform-origin: 0 50%; transform: scaleX(0); }
.sgk-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; }
.sgk-dot { width: 11px; height: 11px; border-radius: 50%; background: #15110e; border: 1.5px solid rgba(255, 236, 220, .32); transition: background .35s, border-color .35s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.sgk-step-t { font-size: 12px; line-height: 1.25; color: rgba(244, 238, 232, .55); white-space: nowrap; transition: color .35s; }
.sgk-step.is-on .sgk-dot { background: #9382ff; border-color: #a9a0ff; }
.sgk-step.is-on .sgk-step-t { color: rgba(248, 241, 231, .92); }
.sgk-step.is-now .sgk-dot { transform: scale(1.3); }
/* the scene picks these from the card's measured text: a short card closes up the dot and its label, and
   labels that would stand closer than 16px draw the end ones out to the line's ends */
.sgk-steps.is-tight .sgk-step { gap: 4px; }
.sgk-steps.is-ends .sgk-step:first-child .sgk-step-t { align-self: flex-start; text-align: left; }
.sgk-steps.is-ends .sgk-step:last-child .sgk-step-t { align-self: flex-end; text-align: right; }

/* =================== 首页蓝: the homepage's board card in the homepage palette ===================
   (owner 2026-10-24; tokens in css/stargo-blue.css). The card is the approval card's sibling:
   the aurora behind, glass boxes with the light sheen, the ice-blue accent on the step the AI is on,
   done in --sgb-ok, and the step that waits for a person (等你确认) a white bubble with dark words.
   Colours only, homepage only: the contact page's request card keeps its look. */
html[data-stargo-home] .sgk-host { background: var(--sgb-aurora); }
html[data-stargo-home] .sgk-board { color: var(--sgb-text); }
html[data-stargo-home] .sgk-board .sgk-glow { background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--sgb-ink) 55%, transparent), transparent 75%); }
html[data-stargo-home] .sgk-board .sgk-head b { color: var(--sgb-text); }
html[data-stargo-home] .sgk-board .sgk-mark { color: var(--sgb-ink); background: var(--sgb-accent-grad); }
html[data-stargo-home] .sgk-board .sgk-live { color: var(--sgb-ice); }   /* on the aurora's bright crown: ice, the dot keeps the accent */
html[data-stargo-home] .sgk-board .sgk-live i { background: var(--sgb-accent); }
/* the honesty tag: a small glass pill drawn round its words, so the head row keeps its room */
html[data-stargo-home] .sgk-board .sgk-tag { position: relative; z-index: 0; color: var(--sgb-text); }
html[data-stargo-home] .sgk-board .sgk-tag::before { content: ""; position: absolute; inset: -3px -8px; z-index: -1; border-radius: 99px; background: color-mix(in srgb, var(--sgb-ink) 55%, transparent); box-shadow: inset 0 0 0 1px var(--sgb-glass-edge); }
html[data-stargo-home] .sgk-board .sgk-box { background: var(--sgb-glass), var(--sgb-glass-dark); border-color: var(--sgb-glass-edge); }
html[data-stargo-home] .sgk-board .sgk-box b { color: var(--sgb-text); }
html[data-stargo-home] .sgk-board .sgk-box span { color: var(--sgb-muted); }
html[data-stargo-home] .sgk-board .sgk-box.is-on { border-color: var(--sgb-accent); background: var(--sgb-glass), color-mix(in srgb, var(--sgb-accent) 16%, var(--sgb-deep)); }
html[data-stargo-home] .sgk-board .sgk-box.is-on span { color: var(--sgb-accent); }
html[data-stargo-home] .sgk-board .sgk-box.is-done { border-color: color-mix(in srgb, var(--sgb-ok) 50%, transparent); }
html[data-stargo-home] .sgk-board .sgk-box.is-done span { color: var(--sgb-ok); }
html[data-stargo-home] .sgk-board .sgk-box.is-gate.is-on { background: var(--sgb-bubble); border-color: var(--sgb-bubble); }
html[data-stargo-home] .sgk-board .sgk-box.is-gate.is-on b, html[data-stargo-home] .sgk-board .sgk-box.is-gate.is-on span { color: var(--sgb-bubble-text); }
html[data-stargo-home] .sgk-board .sgk-arrow { border-color: color-mix(in srgb, var(--sgb-ice) 50%, transparent); }
html[data-stargo-home] .sgk-board .sgk-magnet { background: radial-gradient(circle at 35% 30%, var(--sgb-ice), var(--sgb-cyan) 45%, var(--sgb-blue) 100%); box-shadow: 0 2px 4px color-mix(in srgb, var(--sgb-ink) 70%, transparent); }
