/* A / layout and navigation corrections. The canvas and browser theme share one colour. */
html[data-design=nebula]{background:#0b1225;color-scheme:dark;--safe-max-b:env(safe-area-max-inset-bottom,36px)}
html[data-design=nebula] body{background:#0b1225;min-height:100dvh}
.n-brand{min-width:0}
.n-logo{min-width:0;max-width:calc(100% - 58px)}
.n-logo>.n-mark{flex:0 0 42px;min-width:42px;line-height:1.25;letter-spacing:-.6px;padding-inline:3px;overflow:visible}
.n-logo>span:last-child{min-width:0}
.n-logo b,.n-logo small{overflow-wrap:anywhere}
.n-brand>.iconbtn{flex-shrink:0}
.n-auth-monogram{flex-shrink:0;line-height:1.25;letter-spacing:-1px;padding-inline:3px}
.n-auth-core>span{display:block;flex-shrink:0;line-height:1.2;letter-spacing:-.045em;padding:0 .1em .04em .045em;overflow:visible}
/* Extend the bar's surface under system gestures without moving its controls into them.
   Static max padding + dynamic bottom offset avoids Chrome's chin layout thrashing. */
html[data-design=nebula] .tabs{background:#0b1225;padding-bottom:var(--safe-max-b);bottom:calc(env(safe-area-inset-bottom,0px) - var(--safe-max-b))}
html[data-design=nebula] .actionbar{padding-bottom:calc(21px + var(--safe-max-b));bottom:calc(env(safe-area-inset-bottom,0px) - var(--safe-max-b));background:linear-gradient(#0b122500,#0b1225 28px)}
.lp-setting-row.is-settings-focus{border-radius:10px;background:#83ceff08;outline:1px solid #83ceff80;outline-offset:9px;scroll-margin-top:95px}
@media(max-width:350px){.n-logo{gap:8px}.n-logo b{font-size:13px;letter-spacing:.7px}.n-logo small{font-size:13px;letter-spacing:.65px}}
