/* 介面動態（參考 Cyberpunk HUD）：換頁閘門、讀取框、面板「亮條 → 展開」進場、彈窗展開與 hover 閃爍。
   前台與後台共用，色票沿用 site.css 的 --c1 / --c2；系統設定「減少動態」時全部關閉。 */
@property --fx-x { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
@property --fx-y { syntax: "<percentage>"; inherits: true; initial-value: 0%; }

/* ── 共用動畫 ── */
/* 面板：先出現一條亮線，再往右展開成完整斜切框（6 個頂點，跟 .frame 的形狀一一對應才能補間） */
@keyframes fxUnfold {
  0% { clip-path: polygon(0 0, 0 0, 0 0, 0 100%, 0 100%, 0 100%); }
  6%, 26% { clip-path: polygon(0 0, 3px 0, 3px 0, 3px 100%, 0 100%, 0 100%); }
  100% { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
}
@keyframes fxFold {
  0% { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
  75% { clip-path: polygon(0 0, 3px 0, 3px 0, 3px 100%, 0 100%, 0 100%); opacity: 1; }
  100% { clip-path: polygon(0 0, 3px 0, 3px 0, 3px 100%, 0 100%, 0 100%); opacity: 0; }
}
/* 展開時跑在最前緣的亮條：開頭閃兩下，跟著邊緣往右，最後淡掉 */
@keyframes fxEdge {
  0% { left: 0; opacity: 0; }
  6% { opacity: 1; } 11% { opacity: .2; } 16% { opacity: 1; } 20% { opacity: .5; }
  26% { left: 0; opacity: 1; }
  90% { left: calc(100% - 3px); opacity: 1; }
  100% { left: calc(100% - 3px); opacity: 0; }
}
@keyframes fxFadeIn { from { opacity: 0; } }
@keyframes fxFlick { 0% { filter: brightness(1.9); } 20% { filter: none; } 40% { filter: brightness(1.5) saturate(1.4); } 60%, 100% { filter: none; } }
@keyframes fxStripe { to { background-position: 16px 0; } }
@keyframes fxBlink { 50% { opacity: .35; } }

/* ── 面板進場：fx.js 會把 main 裡最外層的 .frame 標上 .fx-u，進入畫面時加 .fx-in ── */
html.fx .fx-u.reveal { transform: none; transition: none; }
html.fx .fx-u:not(.fx-in) { opacity: 0; }
html.fx .fx-u.fx-in { opacity: 1; animation: fxUnfold .62s cubic-bezier(.7, 0, .2, 1) var(--fx-d, 0s) backwards; }
html.fx .fx-u.fx-in::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; z-index: 3; pointer-events: none; opacity: 0;
  background: var(--c1); box-shadow: 0 0 14px var(--c1), 0 0 2px #fff;
  animation: fxEdge .62s cubic-bezier(.7, 0, .2, 1) var(--fx-d, 0s) both;
}
html.fx .fx-u.fx-in > .fi > * { animation: fxFadeIn .35s steps(3) calc(var(--fx-d, 0s) + .42s) backwards; }

/* 2077 面板（.cy）分段進場：① 標籤頁閃亮 → ② 從標籤頁往下拉出左側亮線 → ③ 往右展開成整個框 → ④ 右側短條閃兩下、內容淡入。
   裁切用 6 點多邊形：上面一條是標籤列（一開始就露出），下面的方框由 X（寬）、Y（高）兩個值長大；外掛短條在框外，所以四邊多留 12px */
@keyframes fxUnfoldCy {
  0%, 16% { clip-path: polygon(-12px -12px, calc(100% + 12px) -12px, calc(100% + 12px) var(--tab), var(--lb) var(--tab), var(--lb) var(--tab), -12px var(--tab)); }
  42% { clip-path: polygon(-12px -12px, calc(100% + 12px) -12px, calc(100% + 12px) var(--tab), var(--lb) var(--tab), var(--lb) calc(100% + 12px), -12px calc(100% + 12px)); }
  100% { clip-path: polygon(-12px -12px, calc(100% + 12px) -12px, calc(100% + 12px) var(--tab), calc(100% + 12px) var(--tab), calc(100% + 12px) calc(100% + 12px), -12px calc(100% + 12px)); }
}
@keyframes fxEdgeCy {
  0%, 16% { left: 0; opacity: 0; }
  20% { opacity: 1; } 42% { left: 0; opacity: 1; }
  92% { left: calc(100% - 3px); opacity: 1; }
  100% { left: calc(100% - 3px); opacity: 0; }
}
@keyframes fxTabCy { 0% { opacity: 0; } 4% { opacity: 1; filter: brightness(2); } 8% { opacity: .2; } 12% { opacity: 1; } 16%, 100% { opacity: 1; filter: none; } }
@keyframes fxRailCy { 0% { opacity: 0; } 30% { opacity: 1; } 45% { opacity: .2; } 60%, 100% { opacity: 1; } }
html.fx .fx-u.cy.fx-in:not(.fx-seen) { animation: fxUnfoldCy .95s cubic-bezier(.6, 0, .2, 1) var(--fx-d, 0s) backwards; }
html.fx .fx-u.cy.fx-in:not(.fx-seen)::after { top: var(--tab); animation: fxEdgeCy .95s cubic-bezier(.6, 0, .2, 1) var(--fx-d, 0s) both; }
html.fx .fx-u.cy.fx-in:not(.fx-seen) > .cy-tab { animation: fxTabCy .95s steps(1) var(--fx-d, 0s) backwards; }
html.fx .fx-u.cy.fx-in:not(.fx-seen) > .cy-rail { animation: fxRailCy .4s steps(1) calc(var(--fx-d, 0s) + .85s) backwards; }
html.fx .fx-u.cy.fx-in > .fi > * { animation-delay: calc(var(--fx-d, 0s) + .72s); }
html.fx dialog[open] > .frame.cy { animation: fxUnfoldCy .7s cubic-bezier(.6, 0, .2, 1) backwards; }
html.fx dialog[open] > .frame.cy::after { top: var(--tab); animation: fxEdgeCy .7s cubic-bezier(.6, 0, .2, 1) both; }
html.fx dialog[open] > .frame.cy > .cy-tab { animation: fxTabCy .7s steps(1) backwards; }
html.fx dialog[open] > .frame.cy > .fi > * { animation-delay: .5s; }
html.fx .fx-u.cy > .fi::after { display: none; } /* 右下已有加粗斜角，不再疊斜紋 */
html.fx .fx-u.cy > .fi::before { right: 22px; background: var(--acc); box-shadow: 0 0 8px var(--acc); }

html.fx .fx-u.fx-seen,html.fx .fx-u.fx-seen::after, html.fx .fx-u.fx-seen > .fi > * { animation: none; }

/* hover：框內閃一下（加在內層，避免蓋掉外層的進場動畫） */
html.fx :is(.news-card, .shop-card, .pillar, .role, .pos, .contact-card):hover > .fi,
html.fx .person-chip:hover { animation: fxFlick .3s steps(1) 1; }
html.fx .btn:hover { animation: fxFlick .28s steps(1) 1; }

/* ── 彈窗：外框改成亮條展開 ── */
html.fx .login-modal[open] { animation: fxFadeIn .15s ease; }
html.fx dialog[open] > .frame { animation: fxUnfold .5s cubic-bezier(.7, 0, .2, 1) backwards; }
html.fx dialog[open] > .frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; z-index: 3; pointer-events: none; opacity: 0;
  background: var(--c1); box-shadow: 0 0 14px var(--c1); animation: fxEdge .5s cubic-bezier(.7, 0, .2, 1) both;
}
html.fx dialog[open] > .frame > .fi > * { animation: fxFadeIn .3s steps(3) .34s backwards; }

/* ── 讀取框：[ 系統標籤 ] ( 標題 ) PROGRESS ▰▰▰▱ <備註> ── */
.fx-load {
  --fx-fill: 6s; position: relative; display: grid; justify-items: center; gap: 8px;
  width: min(380px, 100%); margin: 10px auto; padding: 18px 18px 12px;
  border: 1px solid color-mix(in srgb, var(--c1) 45%, var(--line)); background: color-mix(in srgb, var(--c1) 4%, transparent);
  color: var(--c1); font: 12px/1.2 var(--f-mono); letter-spacing: .1em; text-align: center; white-space: nowrap;
}
.fx-load-tag {
  position: absolute; top: -.7em; left: 50%; transform: translateX(-50%); padding: 0 8px;
  background: var(--bg); color: color-mix(in srgb, var(--c1) 70%, var(--dim)); font-size: 11px;
}
.fx-load-title { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; font: 700 15px/1 var(--f-display); letter-spacing: .16em; }
.fx-load-title > i { font-style: normal; font-size: 22px; font-weight: 400; }
.fx-load-title > b {
  display: inline-block; max-width: 14em; overflow: hidden; padding: 4px 10px; font-weight: 700;
  font-family: var(--f-body); letter-spacing: .14em; animation: fxTitle 1.1s cubic-bezier(.7, 0, .2, 1) both, fxBlink 1.6s steps(1) 1.4s infinite;
}
@keyframes fxTitle {
  0% { max-width: 0; padding-inline: 0; opacity: .2; }
  45% { max-width: 14em; padding-inline: 10px; opacity: 1; background: transparent; color: var(--c1); }
  55% { background: var(--c1); color: var(--c1-ink); }
  62% { background: transparent; color: var(--c1); }
  70%, 100% { max-width: 14em; padding-inline: 10px; background: var(--c1); color: var(--c1-ink); }
}
.fx-load-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.fx-load-k { flex: 0 0 auto; padding: 2px 6px; border: 1px solid color-mix(in srgb, var(--c1) 50%, transparent); font-size: 10px; letter-spacing: .14em; }
.fx-load-bar { position: relative; flex: 1; height: 12px; border: 1px solid color-mix(in srgb, var(--c1) 55%, transparent);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.fx-load-bar > i {
  position: absolute; inset: 2px auto 2px 2px; width: 0; background: var(--c1);
  background-image: repeating-linear-gradient(90deg, transparent 0 11px, color-mix(in srgb, var(--c1-ink) 45%, transparent) 11px 13px);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  animation: fxFill var(--fx-fill) cubic-bezier(.08, .75, .2, 1) .35s forwards, fxStripe .6s linear infinite;
}
@keyframes fxFill { 0% { width: 0; } 100% { width: calc(92% - 4px); } }
.fx-load-note { color: var(--dim); font-size: 11px; letter-spacing: .12em; }
.fx-load-note::before { content: "‹"; } .fx-load-note::after { content: "›"; }
.fx-load.is-done .fx-load-bar > i { width: calc(100% - 4px); animation: fxStripe .6s linear infinite; }
.fx-load.is-done .fx-load-title > b { animation: none; background: var(--c1); color: var(--c1-ink); }

/* ── 換頁閘門 ── */
/* 上一頁按下連結後才會帶 fx-arrive；在閘門建好前先用底色蓋住，避免內容先閃一下 */
html.fx-arrive::after { content: ""; position: fixed; inset: 0; z-index: 9999; background: var(--bg); }

.fx-gate { position: fixed; inset: 0; z-index: 9998; pointer-events: none; --fx-x: 0%; --fx-y: 0%; }
.fx-gate.is-out { pointer-events: auto; cursor: progress; animation: fxGateX .4s cubic-bezier(.7, 0, .2, 1) .12s both; }
.fx-gate.is-in { pointer-events: auto; --fx-x: 100%; }
.fx-gate.is-in.is-open { animation: fxGateY .46s cubic-bezier(.7, 0, .2, 1) .2s both; }
@keyframes fxGateX { from { --fx-x: 0%; } to { --fx-x: 100%; } }
@keyframes fxGateY { from { --fx-y: 0%; } to { --fx-y: 100%; } }

.fx-gate-cover {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 calc(100% - var(--fx-x)) 0 var(--fx-y));
  background:
    radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--c1) 10%, transparent), transparent 62%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px),
    linear-gradient(color-mix(in srgb, var(--c1) 6%, transparent) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, color-mix(in srgb, var(--c1) 5%, transparent) 1px, transparent 1px) 0 0 / 32px 100%,
    var(--bg);
}
.fx-gate-edge {
  position: absolute; top: 0; bottom: 0; width: 4px; background: var(--c1); opacity: 0;
  box-shadow: 0 0 22px 2px var(--c1), 0 0 3px #fff;
}
.fx-gate.is-out .fx-gate-edge { left: var(--fx-x); transform: translateX(-100%); animation: fxGateEdge .52s linear both; }
.fx-gate.is-in.is-open .fx-gate-edge { left: var(--fx-y); animation: fxGateEdgeIn .66s linear both; }
@keyframes fxGateEdge { 0% { opacity: 0; } 5% { opacity: 1; } 10% { opacity: .2; } 15%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fxGateEdgeIn { 0%, 28% { opacity: 0; } 32%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* 上下警示斜紋條 */
.fx-gate-cover::before, .fx-gate-cover::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px; opacity: .55;
  background: repeating-linear-gradient(-45deg, var(--c1) 0 7px, transparent 7px 13px);
}
.fx-gate-cover::before { top: 64px; }
.fx-gate-cover::after { bottom: 48px; }

.fx-gate-meta { position: absolute; color: color-mix(in srgb, var(--c1) 75%, var(--dim)); font: 11px/1.6 var(--f-mono); letter-spacing: .14em; white-space: pre; }
.fx-gate-meta.tl { top: 18px; left: clamp(16px, 4vw, 40px); }
.fx-gate-meta.tr { top: 18px; right: clamp(16px, 4vw, 40px); text-align: right; }
.fx-gate-meta.bl { bottom: 14px; left: clamp(16px, 4vw, 40px); }
.fx-gate-meta.br { bottom: 14px; right: clamp(16px, 4vw, 40px); text-align: right; }
.fx-gate-meta b { display: inline-block; min-width: 1.6em; margin-left: 6px; padding: 0 4px; background: var(--c1); color: var(--c1-ink); font-weight: 400; text-align: center; }
.fx-gate-side { position: absolute; top: 50%; color: var(--dim); font: 11px/1 var(--f-mono); letter-spacing: .18em; writing-mode: vertical-rl; transform: translateY(-50%); }
.fx-gate-side.l { left: 14px; transform: translateY(-50%) rotate(180deg); }
.fx-gate-side.r { right: 14px; color: color-mix(in srgb, var(--c1) 70%, var(--dim)); }

/* 中央訊息框 */
.fx-gate-box { --cut: 18px; position: absolute; top: 50%; left: 50%; width: min(520px, calc(100% - 32px)); transform: translate(-50%, -50%); background: var(--c1); opacity: 0; }
.fx-gate-box > .fi { position: relative; padding: 22px 24px 18px; background: color-mix(in srgb, var(--c1) 5%, var(--bg)); }
.fx-gate-box .fx-load { width: 100%; margin: 6px 0 0; border: 0; background: none; padding: 0; gap: 12px; }
.fx-gate-box .fx-load-tag { position: static; transform: none; padding: 0; background: none; }
.fx-gate-box .fx-load-title { font-size: 18px; }
.fx-gate-box .fx-load-bar { height: 16px; }
.fx-gate-head { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; color: var(--dim); font: 10px/1 var(--f-mono); letter-spacing: .16em; }
.fx-gate-banner {
  --cut: 10px; display: none; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; padding: 10px 16px;
  background: var(--c1); color: var(--c1-ink);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.fx-gate-banner strong { font: 700 22px/1 var(--f-display); letter-spacing: .1em; }
.fx-gate-banner small { font: 11px/1.3 var(--f-mono); letter-spacing: .04em; text-align: right; }

.fx-gate.is-out .fx-gate-box { opacity: 1; animation: fxUnfold .42s cubic-bezier(.7, 0, .2, 1) .44s backwards; }
.fx-gate.is-out .fx-gate-box::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; z-index: 3; opacity: 0;
  background: var(--c1); box-shadow: 0 0 14px var(--c1); animation: fxEdge .42s cubic-bezier(.7, 0, .2, 1) .44s both;
}
.fx-gate.is-out .fx-gate-box .fx-load-bar > i { --fx-fill: .34s; animation-delay: .7s, 0s; }
.fx-gate.is-out .fx-gate-box .fx-load-title > b { animation-delay: .5s, 1.9s; animation-duration: .5s, 1.6s; }
.fx-gate.is-in .fx-gate-box { opacity: 1; }
.fx-gate.is-in .fx-load-title, .fx-gate.is-in .fx-load-row { display: none; }
.fx-gate.is-in .fx-gate-banner { display: flex; animation: fxFlick .3s steps(1) 1; }
.fx-gate.is-in.is-open .fx-gate-box { animation: fxFold .26s cubic-bezier(.7, 0, .2, 1) forwards; }
.fx-gate-meta, .fx-gate-side { animation: fxFadeIn .2s steps(2) .3s backwards; }
.fx-gate.is-in .fx-gate-meta, .fx-gate.is-in .fx-gate-side { animation: none; }

@media (max-width: 600px) {
  .fx-gate-side { display: none; }
  .fx-gate-banner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .fx-gate-banner small { text-align: left; }
}

/* ════ HUD 外觀細節（參考圖：頂部光暈、亮邊框、頁籤標題、角落斜紋、內頁系統條） ════ */
html.fx body {
  background-image:
    radial-gradient(120% 55% at 50% -12%, color-mix(in srgb, var(--c1) 13%, transparent), transparent 62%),
    linear-gradient(color-mix(in srgb, var(--c1) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--c1) 3%, transparent) 1px, transparent 1px);
  background-size: 100% 100vh, 100% 32px, 32px 100%;
  background-repeat: no-repeat, repeat, repeat;
}
/* 框線改亮（參考圖的面板邊框都是全亮的主色），內層頂端帶一點光 */
.frame:where(:not(.hot, .alt)) { background: color-mix(in srgb, var(--c1) 58%, var(--line)); }
.frame > .fi { background-image: linear-gradient(180deg, color-mix(in srgb, var(--c1) 7%, transparent), transparent 140px); }
/* 面板角落：右上小亮點、右下斜紋 */
html.fx .fx-u > .fi { position: relative; }
html.fx .fx-u > .fi::before {
  content: ""; position: absolute; top: 7px; right: calc(var(--cut) + 8px); width: 5px; height: 5px; pointer-events: none;
  background: var(--c1); box-shadow: 0 0 8px var(--c1);
}
html.fx .fx-u > .fi::after {
  content: ""; position: absolute; right: 10px; bottom: 7px; width: 28px; height: 7px; pointer-events: none; opacity: .75;
  background: repeating-linear-gradient(-55deg, var(--c1) 0 2px, transparent 2px 5px);
}
/* 面板標題做成實心頁籤（參考圖的 SHORTCUTS / BUFFER） */
html.fx .panel-head h2, html.fx .me-label {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 30px 4px 12px;
  background: var(--c1); color: var(--c1-ink); font: 700 16px/1.4 var(--f-body); letter-spacing: .08em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
html.fx .me-label svg { color: var(--c1-ink); }

/* 內頁系統條 */
.sys-strip {
  --tone: var(--ok); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "chip chip code" "proto warn zone" "hatch hatch hatch";
  align-items: center; gap: 16px 22px; margin: 18px 0 40px; padding-top: 4px; color: var(--c1);
}
.sys-strip.tone-c1 { --tone: var(--c1); } .sys-strip.tone-warn { --tone: var(--warn); } .sys-strip.tone-crit { --tone: var(--crit); }
.page-hero:has(+ .sys-strip) { border-bottom: 0; padding-bottom: 0; }
.sys-trace { position: absolute; top: 0; left: 0; width: 100%; height: 34px; overflow: visible; pointer-events: none; }
.sys-trace path { fill: none; stroke: var(--c1); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .8; }
.sys-chip {
  grid-area: chip; position: relative; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 2px 10px 2px 3px; border: 1px solid var(--c1); background: var(--bg); font: 11px/1.4 var(--f-mono); letter-spacing: .1em;
}
.sys-chip small { padding: 0 6px; background: var(--c1); color: var(--c1-ink); font-size: 9px; letter-spacing: .14em; }
.sys-code { grid-area: code; display: grid; justify-items: end; gap: 4px; padding-top: 10px; }
.sys-barcode {
  width: 200px; height: 16px;
  background: repeating-linear-gradient(90deg, var(--c1) 0 3px, transparent 3px 5px, var(--c1) 5px 6px, transparent 6px 9px, var(--c1) 9px 13px, transparent 13px 14px, var(--c1) 14px 15px, transparent 15px 19px);
}
.sys-code small { font: 9px/1 var(--f-mono); letter-spacing: .08em; opacity: .75; }
.sys-protocol { grid-area: proto; display: flex; align-items: center; gap: 12px; font: 700 11px/1.3 var(--f-mono); letter-spacing: .22em; }
.sys-logo { display: grid; gap: 4px; width: 46px; }
.sys-logo i { display: block; height: 4px; background: var(--c1); }
.sys-logo i:nth-child(1) { width: 60%; } .sys-logo i:nth-child(2) { width: 75%; margin-left: 25%; }
.sys-logo i:nth-child(3) { width: 45%; margin-left: 15%; } .sys-logo i:nth-child(4) { width: 85%; }
.sys-warn { grid-area: warn; margin: 0; color: var(--dim); font: 10px/1.55 var(--f-mono); letter-spacing: .08em; }
.sys-zone { grid-area: zone; display: flex; align-items: center; gap: 12px; color: var(--tone); }
.sys-zone-ico { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--tone); background: color-mix(in srgb, var(--tone) 12%, transparent); }
.sys-zone-ico svg { width: 28px; height: 28px; }
.sys-zone strong { display: block; font: 700 26px/1 var(--f-display); letter-spacing: .08em; text-shadow: 0 0 14px color-mix(in srgb, var(--tone) 55%, transparent); }
.sys-zone small { display: block; margin-top: 4px; color: var(--dim); font: 11px/1.2 var(--f-body); letter-spacing: .12em; }
.sys-dots { display: flex; gap: 5px; margin-top: 5px; }
.sys-dots i { width: 14px; height: 8px; background: var(--tone); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.sys-dots i:nth-child(3) { opacity: .35; }
.sys-hatch {
  grid-area: hatch; height: 18px; border-block: 1px solid color-mix(in srgb, var(--c1) 70%, transparent);
  background: repeating-linear-gradient(-50deg, color-mix(in srgb, var(--c1) 85%, transparent) 0 7px, transparent 7px 15px);
}
.sys-idx { position: absolute; right: 0; bottom: -32px; display: flex; align-items: center; gap: 6px; }
.sys-idx::before { content: ""; width: 7px; height: 7px; background: var(--c1); }
.sys-idx b { display: grid; place-items: center; width: 22px; height: 22px; background: var(--c1); color: var(--c1-ink); font: 700 15px/1 var(--f-display); }
html.fx .sys-strip > * { animation: fxFadeIn .4s steps(3) .25s backwards; }
html.fx .sys-hatch { animation: fxHatch .7s cubic-bezier(.7, 0, .2, 1) .1s backwards; }
@keyframes fxHatch { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@media (max-width: 760px) {
  .sys-strip { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chip" "proto" "zone" "hatch"; }
  .sys-warn, .sys-code { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.fx .sys-strip > *, html.fx .sys-hatch { animation: none; }
  html.fx .fx-u, html.fx .fx-u.fx-in, html.fx .fx-u.fx-in::after, html.fx .fx-u.fx-in > .fi > *, html.fx .fx-u.fx-in > :is(.cy-tab, .cy-rail),
  html.fx dialog[open] > .frame, html.fx dialog[open] > .frame::after, html.fx dialog[open] > .frame > .fi > *, html.fx dialog[open] > .frame > .cy-tab { animation: none; opacity: 1; }
  html.fx .fx-u.fx-in::after, html.fx dialog[open] > .frame::after { display: none; }
  .fx-load-title > b { animation: none; background: var(--c1); color: var(--c1-ink); }
  .fx-load-bar > i { animation: none; width: 60%; }
}
