  * { box-sizing:border-box }
  html { scroll-padding-top:64px; }
  body { margin:0; background:var(--bgColor-default, Canvas); color:var(--fgColor-default, CanvasText); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif; }
  .bar { position:sticky; top:0; z-index:2; display:flex; align-items:center; gap:12px; padding:10px max(16px, env(safe-area-inset-left)); background:color-mix(in srgb, var(--bgColor-muted) 92%, transparent); border-bottom:1px solid var(--borderColor-default); backdrop-filter:blur(8px); font-size:14px; }
  .bar a { color:var(--fgColor-accent); text-decoration:none; font-weight:600; white-space:nowrap; }
  .bar a:hover { text-decoration:underline; }
  .bar .name { flex:1; min-width:0; overflow:hidden; color:var(--fgColor-muted); text-overflow:ellipsis; white-space:nowrap; }
  .bar .bar-trail { display:flex; align-items:center; gap:6px; flex:1; min-width:0; overflow:hidden; color:var(--fgColor-muted); font-size:13px; }
  .bar .bar-trail a { flex:0 1 auto; min-width:0; overflow:hidden; color:inherit; font-weight:500; text-overflow:ellipsis; }
  .bar .bar-trail a:hover { color:var(--fgColor-accent); }
  .bar .bar-trail span { flex:0 0 auto; opacity:.55; }
  .bar .bar-trail b { flex:2 1 auto; min-width:0; overflow:hidden; color:var(--fgColor-default); font-weight:600; text-overflow:ellipsis; }
  /* Narrow: the folder segments would leave nothing of the file name. */
  @media (max-width:640px) { .bar .bar-trail > :not(b) { display:none; } }
  .bar nav { display:flex; gap:14px; }
  .bar nav .theme-pick { position:relative; cursor:pointer; }
  .bar nav .theme-pick select { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }
  .bar nav .theme-pick:focus-within { outline:2px solid var(--fgColor-accent); outline-offset:-2px; }
  .bar nav button { padding:0; border:0; background:none; color:var(--fgColor-accent); font:inherit; font-weight:600; cursor:pointer; }
  .bar nav button:hover { text-decoration:underline; }
  .bar nav .renderer { display:inline-flex; align-items:center; gap:3px; margin:-4px 0; padding:4px 6px; border-radius:6px; color:var(--fgColor-muted); }
  .bar nav .renderer:hover { color:var(--fgColor-default); text-decoration:none; }
  .bar nav .renderer[aria-pressed="true"] { color:var(--fgColor-accent); background:color-mix(in srgb, var(--fgColor-accent) 18%, transparent); }
  .bar nav .renderer[hidden] { display:none; }
  .renderer svg { display:block; fill:currentColor; }
  .page { width:min(100%, 980px); margin:0 auto; padding:24px 16px 64px; }
  .aniflow-credit {
    --credit-cyan:#2feaff; --credit-violet:#8572ff; --credit-pink:#ff3bc8; --credit-ice:#e7f8ff;
    position:relative; margin:48px 0 0; padding-top:18px; text-align:center;
  }
  .aniflow-credit::before {
    content:""; position:absolute; top:0; left:10%; right:10%; height:1px;
    background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--credit-cyan) 65%, transparent) 28%, color-mix(in srgb, var(--credit-violet) 75%, transparent) 50%, color-mix(in srgb, var(--credit-pink) 65%, transparent) 72%, transparent);
  }
  .aniflow-credit .credit-link {
    display:inline-flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:3px 7px; max-width:100%;
    padding:5px 12px; border-radius:999px; border:1px solid transparent;
    font-size:12.5px; line-height:1.4; color:var(--fgColor-muted); text-decoration:none;
  }
  .aniflow-credit .credit-head { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
  .aniflow-credit .credit-link:focus-visible { outline:2px solid var(--fgColor-accent); outline-offset:3px; }
  .aniflow-credit .credit-mark { flex:0 0 auto; overflow:visible; }
  .aniflow-credit .credit-node { fill:none; stroke:var(--credit-cyan); stroke-width:1.3; opacity:.85; }
  .aniflow-credit .credit-node-end { stroke:var(--credit-pink); }
  .aniflow-credit .credit-edge { stroke:color-mix(in srgb, var(--credit-violet) 60%, var(--borderColor-default)); stroke-width:1.2; stroke-dasharray:1.5 2; }
  .aniflow-credit .credit-dot { fill:var(--credit-ice); filter:drop-shadow(0 0 3px var(--credit-cyan)); }
  .aniflow-credit .credit-name {
    font-weight:700; letter-spacing:-.01em;
    background:linear-gradient(96deg, var(--credit-ice) 0%, var(--credit-cyan) 34%, var(--credit-violet) 68%, var(--credit-pink) 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .aniflow-credit .credit-sep { opacity:.45; }
  .aniflow-credit .credit-sub { opacity:.85; }
  .aniflow-credit .credit-arrow { display:inline-block; margin-left:4px; font-size:11px; opacity:.6; }
  @media (max-width:520px) { .aniflow-credit .credit-sep { display:none; } }
  html[data-mode="light"] .aniflow-credit {
    --credit-cyan:#0891b2; --credit-violet:#6d28d9; --credit-pink:#db2777; --credit-ice:#1e1b4b;
  }
  html[data-mode="light"] .aniflow-credit .credit-name {
    background:linear-gradient(96deg, #16133a 0%, #3730a3 36%, #7c3aed 70%, #db2777 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  html[data-mode="light"] .aniflow-credit .credit-dot { fill:#db2777; filter:drop-shadow(0 0 2px color-mix(in srgb, #db2777 45%, transparent)); }
  @keyframes aniflow-credit-flow {
    0% { transform:translateX(0); opacity:0; }
    16% { opacity:1; }
    84% { opacity:1; }
    100% { transform:translateX(14px); opacity:0; }
  }
  @media (prefers-reduced-motion:no-preference) {
    .aniflow-credit .credit-link { transition:color .2s, background-color .2s, border-color .2s; }
    .aniflow-credit .credit-arrow { transition:transform .2s, opacity .2s; }
    .aniflow-credit .credit-dot { animation:aniflow-credit-flow 2.8s cubic-bezier(.4, 0, .2, 1) infinite; }
    .aniflow-credit .credit-link:hover {
      color:var(--fgColor-default);
      background:color-mix(in srgb, var(--credit-violet) 9%, transparent);
      border-color:color-mix(in srgb, var(--credit-violet) 26%, var(--borderColor-default));
    }
    .aniflow-credit .credit-link:hover .credit-arrow { transform:translate(2px, -2px); opacity:1; }
  }
  .notice { margin:0 0 16px; padding:10px 14px; border:1px solid color-mix(in srgb, var(--borderColor-attention-emphasis) 45%, transparent); border-radius:6px; background:var(--bgColor-attention-muted); color:var(--fgColor-default); font-size:14px; }
