.n1-theme-switch { --color-1:#fff; --color-2:#fff; --color-3:#fff; --color-4:#fff; --gooey-ink:#ecf7fa; --gooey-selected:#123744; position:relative; pointer-events:auto; flex:none; padding:5px; border:1px solid #44606b; border-radius:999px; background:#10242d; box-shadow:0 5px 22px #0003; font:700 .82rem/1 "Microsoft YaHei UI",sans-serif; }
html[data-theme="day"] .n1-theme-switch { --gooey-ink:#315768; background:#eaf5f9; border-color:#b2d1dd; box-shadow:0 5px 18px #145b741f; }
.n1-theme-switch--floating { position:fixed; z-index:9900; top:20px; right:24px; }
.gooey-nav-container { isolation:isolate; }
.gooey-nav-container nav { display:flex; position:relative; z-index:2; }
.gooey-nav-container ul { display:flex; gap:3px; list-style:none; padding:0; margin:0; position:relative; z-index:3; }
.gooey-nav-container li { position:relative; border-radius:999px; color:var(--gooey-ink); transition:color .3s ease; }
.gooey-nav-container button { display:block; position:relative; z-index:1; min-height:38px; padding:0 12px; border:0; border-radius:999px; background:transparent; color:inherit; font:inherit; white-space:nowrap; cursor:pointer; }
.gooey-nav-container button:focus-visible { outline:2px solid #19c7ec; outline-offset:3px; }
.gooey-nav-container li::after { content:''; position:absolute; inset:0; border-radius:999px; background:white; opacity:0; transform:scale(0); transition:all .3s ease; }
.gooey-nav-container li.active { color:var(--gooey-selected); }
.gooey-nav-container li button { color:var(--gooey-ink); }
.gooey-nav-container li.active button { color:var(--gooey-selected); }
.gooey-nav-container li.active::after { opacity:1; transform:scale(1); }
.gooey-nav-container .effect { position:absolute; pointer-events:none; display:grid; place-items:center; z-index:1; }
.gooey-nav-container .effect.filter { background:transparent; }
.gooey-nav-container .effect.filter::after { content:''; position:absolute; inset:0; background:white; transform:scale(0); opacity:0; z-index:-1; border-radius:999px; }
.gooey-nav-container .effect.active::after { animation:n1-gooey-pill .3s ease both; }
@keyframes n1-gooey-pill { to { transform:scale(1); opacity:1; } }
.gooey-nav-container .particle,.gooey-nav-container .point { display:block; opacity:0; width:20px; height:20px; border-radius:100%; transform-origin:center; }
.gooey-nav-container .particle { position:absolute; top:calc(50% - 8px); left:calc(50% - 8px); animation:n1-gooey-particle var(--time) ease 1 -350ms; }
.gooey-nav-container .point { background:var(--color); opacity:1; animation:n1-gooey-point var(--time) ease 1 -350ms; }
@keyframes n1-gooey-particle {
  0% { transform:rotate(0deg) translate(var(--start-x),var(--start-y)); opacity:1; animation-timing-function:cubic-bezier(.55,0,1,.45); }
  70% { transform:rotate(calc(var(--rotate)*.5)) translate(calc(var(--end-x)*1.2),calc(var(--end-y)*1.2)); opacity:1; animation-timing-function:ease; }
  85% { transform:rotate(calc(var(--rotate)*.66)) translate(var(--end-x),var(--end-y)); opacity:1; }
  100% { transform:rotate(calc(var(--rotate)*1.2)) translate(calc(var(--end-x)*.5),calc(var(--end-y)*.5)); opacity:1; }
}
@keyframes n1-gooey-point {
  0% { transform:scale(0); opacity:0; animation-timing-function:cubic-bezier(.55,0,1,.45); }
  25% { transform:scale(calc(var(--scale)*.25)); }
  38% { opacity:1; }
  65%,85% { transform:scale(var(--scale)); opacity:1; }
  100% { transform:scale(0); opacity:0; }
}
@media(max-width:760px) {
  .n1-bubble-nav { top:calc(12px + env(safe-area-inset-top)); left:calc(14px + env(safe-area-inset-left)); right:calc(14px + env(safe-area-inset-right)); align-items:flex-start; }
  .n1-bubble-brand { flex-direction:column; align-items:flex-start; gap:8px; width:calc(100% - 60px); max-width:none; }
  .n1-bubble-brand #n1UserButton { max-width:100%; min-height:44px; }
  .n1-bubble-brand .n1-theme-switch { box-sizing:border-box; max-width:100%; padding:4px; }
  .gooey-nav-container button { min-width:44px; min-height:44px; padding:0 10px; touch-action:manipulation; }
  .n1-theme-switch { font-size:.76rem; }
  .n1-bubble-overlay { padding-top:calc(140px + env(safe-area-inset-top)); }
  .react-shell main { padding-top:calc(132px + env(safe-area-inset-top)); padding-bottom:calc(94px + env(safe-area-inset-bottom)); }
  .n1-theme-switch--floating { top:calc(12px + env(safe-area-inset-top)); right:calc(12px + env(safe-area-inset-right)); max-width:calc(100vw - 24px); }
  .n1-admin-header-actions { max-width:100%; flex-wrap:wrap; }
}
@media(max-width:360px) { .n1-bubble-brand .gooey-nav-container button { padding-inline:7px; } }
@media(prefers-reduced-motion:reduce) { .gooey-nav-container li,.gooey-nav-container li::after { transition:none; } .gooey-nav-container .effect { display:none; } }
