html.identity-guard body { visibility: hidden; }
html.startup-pending body > :not(#ziyu-startup-root):not(.identity-toolbar) { visibility: hidden; }
html:not([data-identity-level="5"]) a[href="/admin.html"],html:not([data-identity-level="5"]) a[href="/nightly.html"] { display:none!important; }
.identity-toolbar { position:fixed; right:16px; bottom:12px; z-index:2147483647; display:flex; gap:8px; max-width:calc(100% - 32px); flex-wrap:wrap; }
.identity-toolbar button { font:12px system-ui; padding:8px 12px; border:1px solid #768181; color:#182424; background:#f6f8f8; border-radius:4px; cursor:pointer; }
.identity-toolbar button[hidden],#ziyu-startup-root [hidden] { display:none!important; }
.identity-toolbar.startup-tools { gap:4px; padding:5px; border:1px solid #74808c26; border-radius:8px; background:#f3f5f7e8; box-shadow:0 2px 8px #26323d0a; backdrop-filter:blur(16px); }
.startup-tools button { position:relative; display:grid; place-items:center; width:42px; height:42px; padding:0; border:1px solid transparent; background:transparent; color:#596570; border-radius:4px; transition:color .18s,background .18s,border-color .18s; }
.startup-tools button svg { width:19px; height:19px; stroke-width:1.6; }
.startup-tools button[aria-pressed="true"] { color:#42625e; background:#637f790d; }
.startup-tools button:hover,.startup-tools button:focus-visible { color:#253b41; background:#74808c14; border-color:#74808c40; }
.startup-tools button:focus-visible { outline:2px solid #627c80; outline-offset:2px; }
.startup-tools button[aria-pressed="true"]::after { content:""; width:3px; height:3px; border-radius:50%; background:currentColor; position:absolute; bottom:4px; }
.startup-tools .tool-caption { position:absolute; right:0; bottom:calc(100% + 12px); width:max-content; max-width:260px; padding:7px 10px; background:#f3f5f7; border:1px solid #74808c40; border-radius:4px; color:#35434d; font:12px/1.5 system-ui; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(4px); transition:opacity .15s,transform .15s; }
.startup-tools button:hover .tool-caption,.startup-tools button:focus-visible .tool-caption { opacity:1; visibility:visible; transform:translateY(0); }
#ziyu-startup-root * { letter-spacing:0!important; }
#ziyu-startup-root img { object-fit:contain; }
.dsu-black img { filter:invert(1); }
#ziyu-startup-root .ziyu-logo { display:inline-block; position:relative; overflow:hidden; flex-shrink:0; mix-blend-mode:multiply; }
#ziyu-startup-root .dsu-black .ziyu-logo { mix-blend-mode:screen; }
#ziyu-startup-root .ziyu-logo img { position:absolute; width:320%; height:180%; max-width:none; left:-113%; top:-27%; }
#ziyu-startup-root .dsu-whale { width:140px; height:140px; }
#ziyu-startup-root .dsu-logo .ziyu-logo { width:180px; height:180px; }
#ziyu-startup-root .dsu-logo.dsu-in { height:215px; }
#ziyu-startup-root.identity-active .dsu-center { top:20%; }
#ziyu-startup-root.identity-active .dsu-action { top:32%; bottom:85px; overflow-y:auto; padding:8px 16px; justify-content:flex-start; }
#ziyu-startup-root.identity-active .dsu-logo,#ziyu-startup-root.identity-active .dsu-dots { display:none; }
#ziyu-startup-root .dsu-card { width:min(420px,100%); box-sizing:border-box; }
#ziyu-startup-root .identity-form { display:grid; gap:12px; width:100%; font:14px system-ui; text-align:left; }
#ziyu-startup-root .identity-form label { display:grid; gap:6px; color:#213234; }
#ziyu-startup-root .identity-form input { box-sizing:border-box; width:100%; min-width:0; padding:11px 12px; border:1px solid #8b9b9e; border-radius:3px; background:#fff; color:#142326; font:16px system-ui; }
#ziyu-startup-root .identity-form input:focus { outline:2px solid #187e75; outline-offset:2px; }
#ziyu-startup-root .identity-form button { padding:11px; border:1px solid #243838; border-radius:3px; background:#243838; color:#fff; font:14px system-ui; cursor:pointer; }
#ziyu-startup-root .identity-form button:disabled { opacity:.55; cursor:wait; }
#ziyu-startup-root .identity-form .identity-link { background:transparent; color:#244949; border-color:transparent; padding:5px; }
#ziyu-startup-root .identity-alert { color:#a3203c; min-height:20px; margin:0; font:13px system-ui; overflow-wrap:anywhere; }
#ziyu-startup-root .dsu-card-row { gap:15px; }
#ziyu-startup-root .dsu-card-row b { overflow-wrap:anywhere; }
@media(max-width:600px) {
  #ziyu-startup-root.identity-active .dsu-center { top:18%; }
  #ziyu-startup-root.identity-active .dsu-center { top:205px; }
  #ziyu-startup-root.identity-active .dsu-action { top:250px; bottom:135px; }
  #ziyu-startup-root .dsu-brand { top:25px; left:24px; }
  #ziyu-startup-root .dsu-meta { top:125px; left:24px; }
  #ziyu-startup-root .dsu-slats { top:148px; left:24px; }
  #ziyu-startup-root .dsu-subtitle { bottom:105px; max-width:calc(100% - 40px); }
  #ziyu-startup-root .dsu-stepcount { bottom:77px; left:24px; }
  #ziyu-startup-root .dsu-foot { bottom:55px; right:24px; }
  #ziyu-startup-root .dsu-status { font-size:26px; }
  #ziyu-startup-root .dsu-brand-1 { font-size:24px; }
  #ziyu-startup-root .dsu-card { padding:14px; }
  .identity-toolbar { right:8px; bottom:8px; max-width:calc(100% - 16px); gap:5px; }
  .identity-toolbar button { font-size:11px; padding:7px; }
  .identity-toolbar.startup-tools button { width:40px; height:40px; padding:0; }
  #ziyu-startup-root .dsu-logo .ziyu-logo { width:148px; height:148px; }
  #ziyu-startup-root .dsu-logo.dsu-in { height:180px; }
}
#ziyu-startup-root.identity-active .dsu-idline { display:none; }
#ziyu-startup-root .dsu-w4 { max-width:calc(100% - 48px); white-space:normal; overflow-wrap:anywhere; text-align:center; line-height:1.4; }
@media(prefers-reduced-motion:reduce) { #ziyu-startup-root *, #ziyu-startup-root *::before, #ziyu-startup-root *::after { animation-duration:1ms!important; animation-iteration-count:1!important; transition-duration:1ms!important; } }
